379e09d157
Flagged APIs are annotated using `@FlaggedApi(Flags.FLAG_NAME)`, where Flags.FLAG_NAME was auto-generated by aconfig. When metalava generates an API signature file, it can either a) insert the value of the constant ("com.foo.bar.flag_name"), or b) insert the name of the constant (FLAG.NAME) In the case of @FlaggedApi, we want a). This requires that x) metlava has access to the definition of the constant while generating the API signature file, and y) the constant is not part of the API surface of the API signature file x) is handled by the build system, y) is handled by the aconfig code generation. This CL @hide:s all generated Java code, to make sure it is accessible within the platform, but never part of any API surface. Bug: 297881670 Test: atest aconfig.test aconfig.test.java Change-Id: I328ed1a652a4e5e293f2f4b11f916d29fc2fbcbd |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
tests | ||
tools | ||
.gitignore | ||
banchanHelp.sh | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
Deprecation.md | ||
envsetup.sh | ||
help.sh | ||
METADATA | ||
navbar.md | ||
OWNERS | ||
PREUPLOAD.cfg | ||
rbesetup.sh | ||
README.md | ||
shell_utils.sh | ||
tapasHelp.sh | ||
Usage.txt |
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.