8a6b9a7baf
Setting environment variable UNSAFE_DISABLE_HIDDENAPI_FLAGS=true will skip the build step which annotates dex files with information about public and non-public API membership. This is meant to speed up incremental local builds. USE AT OWN RISK: Dex files built with this flag will execute with hidden API access checks disabled and therefore may exhibit different behaviour compared to production code. WARNING: Some JARs cannot be compiled with this flag as ART hardcodes hidden API access flags of intrinsified methods. Attempting to compile dex files containing such methods will trigger an assertion. Test: UNSAFE_DISABLE_HIDDENAPI_FLAGS=true mmm frameworks/base Bug: 113278235 Bug: 112388925 Change-Id: I51fe99ab53e1bb2aa0db64b22a321dd1e1ed47e1 |
||
---|---|---|
core | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
Android.mk | ||
Changes.md | ||
CleanSpec.mk | ||
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.