commit | d9d5c2a95e02cfdbf1737ea2bf78b8a9d7b5f5bf | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jun 23 16:17:54 2023 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Jul 25 21:30:38 2023 +0000 |
tree | 05bdc42ed8749a3cf9dfc7af7848f35b60b5ccdb | |
parent | 9ebfc23191db96aeeddaddc948d31183c70bfe3b [diff] |
Support transitive resource packages from Soong Soong is improving resource handling by not squashing resources from all dependencies into every android_library. This causes problems when the android_library is exported to Make, as Make is still using the old squashing behavior. Add a file to every static java library that lists the resource packages of its transitive dependencies. For modules defined in Andorid.mk files leave the file empty, but for Soong modules populate it with the list of transtiive dependencies. Pass the contents all of the files from direct dependencies to aapt2 link to include any transitive dependencies. Bug: 284023594 Test: m Dialer Change-Id: I4e8ace497d701a9645a62dd5a6ac12e9a6830dcf Merged-In: I4e8ace497d701a9645a62dd5a6ac12e9a6830dcf
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.