commit | 3ca564b047db91d707f4d38e19f15e46e5df7dd3 | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Wed Aug 10 15:14:06 2022 -0700 |
committer | Jared Duke <jdduke@google.com> | Tue Aug 16 08:49:36 2022 -0700 |
tree | c52abc479cc2d16b53493c7a3278c3af16a78b68 | |
parent | 93ff78f3cabdf173e05c2b9bc3c306b8fe3873a8 [diff] |
Suppress R8 warnings for support library annotations Most of these annotations are stripped at dex compile-time, and are not necessarily present in the generated dex library's classpath. As the classpath is used to inform R8 about `libraryjars`, this can cause reference failures during R8 execution when warnings are enabled. For now, suppress the reference warnings. Unrecognized runtime-visible annotations will still be kept, and this should unblock efforts to re-enable R8 warnings for many platform targets. A proper solution will be to ensure the appropriate annotation libs are fed as `-libraryjars` to R8. Bug: 242088131 Test: m + `optimize { ignore_warnings: false }` Change-Id: Ie92db2a9725ff520b311c6b66a50feae79463925
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.