commit | 32c8a6a43d16dc0ca6adb1a439b316b16e5d3331 | [log] [tgz] |
---|---|---|
author | Jared Duke <jdduke@google.com> | Wed May 01 23:32:26 2024 +0000 |
committer | Jared Duke <jdduke@google.com> | Wed May 01 23:34:24 2024 +0000 |
tree | f6634803bccdbbedafbf1dba2843809f2246ad0c | |
parent | b95116177363452107e7f13f3ea39c5212a531ee [diff] |
Disable kotlin -checkdiscard rule kotlin-stdlib is included transitively as a library jar by way of androidx.annotations, which means we cannot ensure associated classes are discarded by R8. Disable the related `-checkdiscard` proguard rule until that inclusion is resolved, avoiding spurious warnings in build output. Bug: 302383328 Test: m Flag: NA Change-Id: I7514e6841735e95e1a16d42d6a6e134103ecb108
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.