9238a3ab76
Teach check-flagged-apis to cross-check the data from its three input sources. This allows the tool to detect - @FlaggedApi references to non-existent flags - @FlaggedApi APIs present in the build artifacts even though the flag is disabled - @FlaggedApi APIs not present in the build artifacts even though the flag is enabled By passing in different sources, the tool can detect these errors for any of the API surfaces (public, @SystemApi(MODULE_LIBRARIES), etc). Note: the tool assumes that a disabled flag means that the @FlaggedApi should not be present in the build output. This is currently true, but won't be once metalava starts reverting @FlaggedApis to their previous SDK snapshot. Bug: 334870672 Test: atest --host check-flagged-apis-test Test: check-flagged-apis --api-signature out/target/product/mainline_x86/obj/ETC/frameworks-base-api-current.txt_intermediates/frameworks-base-api-current.txt --flag-values out/soong/.intermediates/all_aconfig_declarations.pb --api-versions out/dist/data/api-versions.xml Change-Id: I790234865f831af7d45895def14d1d6740365622 |
||
---|---|---|
ci | ||
common | ||
core | ||
packaging | ||
target | ||
teams | ||
tests | ||
tools | ||
.gitignore | ||
banchanHelp.sh | ||
buildspec.mk.default | ||
Changes.md | ||
CleanSpec.mk | ||
cogsetup.sh | ||
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.