commit | 4bd749bf383dc3a508166e3d152b5e71b11b7789 | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Tue Dec 14 15:28:33 2021 -0800 |
committer | Jared Duke <jdduke@google.com> | Fri Jan 21 19:50:15 2022 +0000 |
tree | bb47f48386fc7a7bdd7dd81a5cc5fa1e9de8f227 | |
parent | 95ec3b899e2493a4872e23306715f9a7f1ab89cc [diff] |
Generalize @Keep annotation Proguard rules Consolidate the Proguard rules for @Keep annotations for: * android.support.annotation.Keep (existing) * androidx.annotation.Keep (existing) * com.android.internal.annotation.Keep (new) This ensures consistent semantics for clients using these annotations across the codebase. Ideally there would be a single annotation, but the support libraries are not available everywhere. In practice, this change should be a no-op. Bug: 210510433 Test: m + validate identical artifact sizes Change-Id: Iab494e03269e5758d7f860331e971826ecc08cdd
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.