[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GSoC 2016 Week 2-3: Android SDK Tools in Debian

Because during the last two weeks I have been dealing with lots of
homework and quizzes, not much time was spent on GOSC work, so I put
these two weeks together.

The major work done in the past two weeks is still "android.jar", the
Android platform framework API stubs. After discussing with the
"android.jar", Chirayu Desai suggested that the source files of
"android.jar" should be generated by Google's Javadoc generator
Doclava[1] based on the original source files. These generated source
files only contains class definitions without any implementation,
a.k.a API stubs. In order to use Doclava, we also need to reintroduce
jsilver which was recently removed from Debian[2]. This two packages
can be found at [3] and [4].

At the end I successfully built an "android.jar", which was found to
be needing not any compile dependencies. Therefore the need of
packaging BoringSSL, conscrypt and OkHttp has gone. However, after I
do a diff between the upstream "android.jar" and the built one, I
found that building "android.jar" also needs source files from other
two AOSP repositories ([5], [6]), which makes me consider reimporting
a big source tarball combined with these all repositories.

Other task I have done are shown below:

  * Uploading android-platform-build/1:6.0.16-3 [7]
    - Due to my carelessness this packages FTBFS.
  * Uploading android-platform-external-libselinux/6.0.1+r16-2 [8]
  * Uploading android-platform-external-libunwind/6.0.1+r16-3 [9]

Next week I will fix these FTBFS caused by the recent uploads. I will
also keep up with the emails and discuss about whether to combine
multiple sources as one single src:android-platform-frameworks-base.

The following is my previous reports:

  * Week 1: <https://lists.debian.org/debian-outreach/2016/05/msg00009.html>

[1]: https://android.googlesource.com/platform/external/doclava
[2]: https://tracker.debian.org/news/700249
[3]: https://anonscm.debian.org/cgit/android-tools/android-platform-external-doclava.git
[4]: https://anonscm.debian.org/cgit/android-tools/android-platform-external-jsilver.git
[5]: https://android.googlesource.com/platform/frameworks/opt/telephony
[6]: https://android.googlesource.com/platform/frameworks/opt/net/voip
[7]: https://anonscm.debian.org/cgit/android-tools/android-platform-build.git/tag/?h=debian/1%256.0.1%2br16-3
[8]: https://anonscm.debian.org/cgit/android-tools/android-platform-external-libselinux.git/tag/?h=debian/6.0.1%2br16-2
[9]: https://anonscm.debian.org/cgit/android-tools/android-platform-external-libunwind.git/tag/?h=debian/6.0.1%2br16-3

* 殷啟聰 | Kai-Chung Yan
* 一生只向真理與妻子低頭
* Undergraduate student in National Taichung University of Education
* LinkedIn: <https://linkedin.com/in/seamlik>
* Blog: <http://seamlik.logdown.com>

Reply to: