3adbcb31ea
Additional context (for Googlers): go/android-fuzzing-shared This patch adds the Make support for automatically installing sanitized dependent shared libraries. 'make $module' will find all the shared library dependencies in soong, and create the rules to install them. We simply need to add the <install sanitized shared library> rule that's made by Soong as a dependency of the module's phony. We also now change 'm fuzz' to not just build the fuzz packages, but to build all fuzz targets into the respective $ANDROID_PRODUCT_OUT/data/fuzz and $ANDROID_HOST_OUT/fuzz directories. Bug: N/A Test: Build fuzz target with shared libs, note the contents of $ANDROID_PRODUCT_OUT/data/fuzz/lib and out/soong/fuzz-target-*.zip now has shared libraries. Change-Id: I74def02fee663ef788ee25ec0d5106faf474c2a6 |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
OWNERS | ||
README.md | ||
Usage.txt | ||
buildspec.mk.default | ||
envsetup.sh | ||
help.sh | ||
navbar.md | ||
tapasHelp.sh |
README.md
Android Make Build System
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.