commit | fd5fa3477500da2d4fca547a5b292053724f7636 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Jun 20 16:51:35 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Sat Jun 22 13:04:51 2019 -0700 |
tree | 49884a5f55bb3b20e12b7579decfd0bdfb4fafe3 | |
parent | 18f28c7781dae089b772e61948a54d27dac9270f [diff] |
Don't pass --legacy by default to aapt2 compile Don't pass --legacy by default, it is rarely necessary and converts some errors into warnings that crash at runtime. The modules that need it have had --legacy added to LOCAL_AAPT_FLAGS. Bug: 135597368 Test: m java Change-Id: I0cb213599d6612746d988b8966cbd529b5328db0
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.