f3406e64f7
In the Bazel rule, the actual AndroidManifest.xml file isn't available in the providers of the android_binary dependency. And for good reason, we should also rely on aapt2 to dump the manifest contents from the final packaged APK anyway, but this auto gen script doesn't support reading the output of aapt2 dump. This CL adds a simple reader of the output of `aapt2 dump xmltree`, and enabled if the xmltree content is passed to this tool instead of AndroidManifest.xml. Also fixup auto_gen_test_config_test.py. The test was completely failing. Test: atest auto_gen_test_config_test Test: presubmits Change-Id: I7fecd927d0ed7847b6463d964b3698f4164b0177 |
||
---|---|---|
common | ||
core | ||
packaging | ||
target | ||
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.