AOSP uses soong build which uses Android.bp for configuration
AOSP is build using fragmented Android.bp files.
Android.bp
Each module will contain one Android.bp file, Soong will build all the dependencies linked to one another.
Here are some of the Android soong build commands:
m - Builds the whole source code tree.
m
mma - Builds all of the modules in the current directory, and their dependencies.
mma
mmma - Builds all of the modules in the supplied directories, and their dependencies.
mmma
croot - cd to the top of the tree.
croot
clean - Deletes all of the output and intermediate files for this configuration.
clean
soong_ui - Starts the Soong UI, which allows you to interactively build and debug your Android project.
soong_ui
soong_build - Builds your Android project using the Soong build system.
soong_build
Mostly, we need 2 different type of Android.bp configurations:
Last updated 1 year ago