commit | 96b155c018789f9d926371b255b18f7996e7ebaf | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Mon Jun 19 20:16:21 2023 +0100 |
committer | Jiakai Zhang <jiakaiz@google.com> | Mon Jun 19 20:20:05 2023 +0100 |
tree | 75c28d0543534ca1596b29f344a17cc8f4c33958 | |
parent | a99ac90eb5e9893be95dfd0e7bf3314557e9d968 [diff] |
Add an entry in METADATA.txt to determine whether to use the CMC GC. If the device uses the CMC GC, the file will contain: extra-args = --runtime-arg -Xgc:CMC Otherwise, the file will contain an empty line: extra-args = Bug: 287652269 Test: - 1. m dist out/dist/boot.zip 2. unzip -p out/dist/boot.zip METADATA.txt Change-Id: I3d50367eb2a341e1c03286d7a2cd7ed44d59708f
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.