commit | f6d68cf6fe4918880704dc3e0ebdeefa0f655162 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Mar 08 16:49:16 2018 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Mar 20 15:26:27 2018 -0700 |
tree | 0c59648c71dbcfb4bcf6af2f68f46653fc3b2b0b | |
parent | 2ae710c29fd8c03bf6c38a8856baad4f611df206 [diff] |
Use a srcjar for aapt and aapt2 output Dumping files in the *_intermediates/src causes incremental build problems, because we don't know when to delete them if they are no longer generated. Switch to outputting a srcjar instead, and pass it in to the turbine and javac compiles. Bug: 73885582 Test: m checkbuild Change-Id: Ibef28507522339d930c09426d0c98372eb864cb6 Merged-In: Ibef28507522339d930c09426d0c98372eb864cb6 (cherry picked from commit 2d1cddd5674d88c07350a52fa656cc441be04418)
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.