Difference between revisions of "Android Build System"
(add link to pdk build system site) |
(revert pdk link, it's just a dup of the source.android site.) |
||
Line 1: | Line 1: | ||
− | + | ||
− | |||
Basics of the Android Build system are described at: | Basics of the Android Build system are described at: | ||
Line 6: | Line 5: | ||
''Note that "partner-setup" should be replaced with "choosecombo" or even "lunch" in that description.'' | ''Note that "partner-setup" should be replaced with "choosecombo" or even "lunch" in that description.'' | ||
+ | |||
+ | (''This information seems to be duplicated at: | ||
+ | http://pdk.android.com/online-pdk/guide/build_system.html | ||
+ | I'm going to assume that the source.android site is the most up-to-date, but I haven't checked.) | ||
Revision as of 09:29, 15 July 2010
Basics of the Android Build system are described at:
http://source.android.com/porting/build_system.html
Note that "partner-setup" should be replaced with "choosecombo" or even "lunch" in that description.
(This information seems to be duplicated at: http://pdk.android.com/online-pdk/guide/build_system.html I'm going to assume that the source.android site is the most up-to-date, but I haven't checked.)
More information about the Android build system, and some of the rationale for it, are described
at:
http://android.git.kernel.org/?p=platform/build.git;a=blob_plain;f=core/build-system.html
You use build/envsetup.sh to set up a "convenience environment" for working on the Android source code. This file should be source'ed into your current shell environment. After doing so you can type 'help' for a list of defined functions which are helpful for interacting with the source.