commit | 0fa2f42a4f2c86a70d524352df9d5a149889815c | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Thu Jul 28 17:22:23 2022 -0700 |
committer | Jared Duke <jdduke@google.com> | Wed Aug 03 13:18:41 2022 -0700 |
tree | 199fb61fb3edb85553cc15b2b10fd82f0bfbebb8 | |
parent | 9780e330b30d6f566d3f48cac9c47a5c6869da15 [diff] |
Tune R8 shrinking defaults for system_server Disable R8 shrinking by default if there are additional SYSTEM_SERVER_JARS that may be downstream from services.jar, or if the jar ordering is unreliable. The longer term solution will be to feed R8 the SYSTEM_SERVER_JARS explicitly during the shrinking phase, but for now this avoids potential issues with such dowstream jars. Note that specific products or targets can still opt-in explicitly even if there may be ordering issues in SYSTEM_SERVER_JARS. Bug: 240588226,235484969 Test: m + lunch various Arc/Wear/Auto targets Change-Id: I1d824e1e61de65604123b65b25b192a8a32fd0c1 Merged-In: I1d824e1e61de65604123b65b25b192a8a32fd0c1
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.