commit | d6c6e3a9f371f627ba048cc47c29a496314e16f1 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Wed Nov 16 11:52:00 2022 +0000 |
committer | Jiakai Zhang <jiakaiz@google.com> | Thu Nov 17 16:33:44 2022 +0000 |
tree | 82b19e8670e7ce86a86ff0237cedc5c5030a8af7 | |
parent | 05cc591fff3ab393e29278928aee9382979f4101 [diff] |
Determine whether to enable userfaultfd GC at build time. This is determined by: - a product config flag - the vendor API level It is then passed to the device as a system property "ro.dalvik.vm.enable_uffd_gc". This change is a no-op change. It doesn't enable userfaultfd GC by default. OVERRIDE_ENABLE_UFFD_GC=default can be passed to the build system to enable userfaultfd GC for testing purposes. Bug: 242553398 Test: - 1. lunch aosp_redfin-userdebug 2. OVERRIDE_ENABLE_UFFD_GC=default build/soong/soong_ui.bash --dumpvars-mode --vars=ENABLE_UFFD_GC 3. See "false" in the output Test: - 1. lunch aosp_oriole-userdebug 2. OVERRIDE_ENABLE_UFFD_GC=default build/soong/soong_ui.bash --dumpvars-mode --vars=ENABLE_UFFD_GC 3. See "true" in the output Test: - 1. lunch aosp_redfin-userdebug 2. OVERRIDE_ENABLE_UFFD_GC=true build/soong/soong_ui.bash --dumpvars-mode --vars=ENABLE_UFFD_GC 3. See "true" in the output Test: - 1. lunch aosp_oriole-userdebug 2. OVERRIDE_ENABLE_UFFD_GC=false build/soong/soong_ui.bash --dumpvars-mode --vars=ENABLE_UFFD_GC 3. See "false" in the output Change-Id: Ifd6e6cddb502315912ff949619a5b526ae0d73ff
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.