Android: Difference between revisions

From Wiki :-)
Jump to navigation Jump to search
Beef up a little the command section
mNo edit summary
Line 7: Line 7:


At the root of the Android Build System, the first thing to do is to set-up the environment: <code>source build/envsetup.sh</code>.
At the root of the Android Build System, the first thing to do is to set-up the environment: <code>source build/envsetup.sh</code>.
Thus, commands will be available to start the build.
Thus, commands will be available to start the build.


Line 22: Line 23:
|Compile the program in the current directory
|Compile the program in the current directory
|-
|-
|mm -B|Clean and compile the program in the current directory|-
| mm -B |Clean and compile the program in the current directory
|lunch|Select the target to build|
| lunch |Select the target to build
|}
|}

Revision as of 18:03, 6 May 2016

Android is an Operating System.


Android Build System

The Android Build System, similarly to Buildroot, is a set of build scripts (.mk files, bash scripts) used to build Android.

At the root of the Android Build System, the first thing to do is to set-up the environment: source build/envsetup.sh.

Thus, commands will be available to start the build.

Command Comments
croot Jump back to the root directory
godir Jump into the directory specified as a parameter
mm Compile the program in the current directory
Clean and compile the program in the current directory Select the target to build