Differences between revisions 5 and 6
Revision 5 as of 2016-06-06 09:27:48
Size: 1540
Editor: ChirayuDesai
Comment:
Revision 6 as of 2016-06-06 09:33:28
Size: 1874
Editor: ChirayuDesai
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
= doclava =
Used to build the SDK docs, and also generate public API stubs for [[#android.jar|android.jar]].
<<BR>>
Upstream: https://code.google.com/archive/p/doclava/
<<BR>>
Android fork's changes: https://android.googlesource.com/platform/external/doclava/+/android-6.0.1_r43/android-changes.txt
<<BR>>
Built with gradle

This page describes the build process of various Android development tools. It is intended to serve as a reference to create Debian specific rules.

android.jar

This file contains the public API of the android framework, used when compiling apps. Since it only contains the public parts from the source which also includes private APIs, it's build process is a bit complex.

  1. doclava processes the public parts of the API and puts the relevant files in a folder.

  2. framework-res.apk is built from framework/base/core/res, which includes all the common image and string resources.

  3. Both of the above are then used to create an android.jar including only the public API.

framework-res.apk

  • Contains the common resources used by the system and apps.
  • Source is in frameworks/base/core/res

  • Built for Debian as: (TODO)

doclava

Used to build the SDK docs, and also generate public API stubs for android.jar.
Upstream: https://code.google.com/archive/p/doclava/
Android fork's changes: https://android.googlesource.com/platform/external/doclava/+/android-6.0.1_r43/android-changes.txt
Built with gradle

TODO:

  • Make this elaborate
  • Include links to the relevant android build system files
  • Give a brief into about the android build system.