commit | 7bed8164f36d368bfb931c2031eef50e87e0d9bb | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Fri Jul 26 22:34:50 2024 +0000 |
committer | Jared Duke <jdduke@google.com> | Thu Sep 26 18:05:02 2024 +0000 |
tree | 5b2b29c67e782ee7f08eb7d7d57635f505aac3f7 | |
parent | cebf3ed952bfe371f855c4b0d098eb4f11dfd54e [diff] |
Add keep rules for WeaklyReferencedCallback annotation Ensure fields of types with this annotation are kept, preserving lifecycle semantics during bytecode optimization. A follow-up change will refactor these global rules, moving rules specific to the framework-annotations-lib to that target, where they should now be properly inherited by downstream optimized targets. Bug: 349245577 Test: atest InternalAnnotationsTests Flag: EXEMPT bugfix Change-Id: Iaf7694eea3d8de05a007e4c8c9e98c3eb58098ae
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.