commit | 18f28c7781dae089b772e61948a54d27dac9270f | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Sat Jun 22 13:03:09 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Sat Jun 22 13:03:09 2019 -0700 |
tree | 1864aaa42c5d9e76fb63cdd7bc843da1c704539b | |
parent | 435dcbb84544f4444e24e5581609db7de6e9ddd0 [diff] |
Allow passing --legacy in LOCAL_AAPT_FLAGS --legacy will soon no longer be passed by default to all aapt2 compiles. Allow it to be specified in LOCAL_AAPT_FLAGS by passing it to aapt2 compile when it is present and filtering it out from the flags passed to aapt2 link. Bug: 135597368 Test: m java Change-Id: I92792cf6a0d4c6ecf5e0971523bd0ab76c81345f
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.