Fix the build system to pass "-Xgc:CMC" to dex2oat correctly.
Bug: 242553398 Test: - 1. lunch aosp_oriole-userdebug 2. m 3. Don't see "--runtime-arg -Xgc:CMC" in .invocation files. Test: - 1. lunch aosp_oriole-userdebug 2. OVERRIDE_ENABLE_UFFD_GC=true m 3. See "--runtime-arg -Xgc:CMC" in .invocation files. Change-Id: If1c2c5feecc8148a0e2fa6a0e0b23641945f5b1d
This commit is contained in:
parent
7e34ad149f
commit
4a30e138e2
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ ifeq ($(WRITE_SOONG_VARIABLES),true)
|
|||
$(call add_json_str, Dex2oatXmx, $(DEX2OAT_XMX))
|
||||
$(call add_json_str, Dex2oatXms, $(DEX2OAT_XMS))
|
||||
$(call add_json_str, EmptyDirectory, $(OUT_DIR)/empty)
|
||||
$(call add_json_bool, EnableUffdGc, $(ENABLE_UFFD_GC))
|
||||
$(call add_json_bool, EnableUffdGc, $(filter true,$(ENABLE_UFFD_GC)))
|
||||
|
||||
ifdef TARGET_ARCH
|
||||
$(call add_json_map, CpuVariant)
|
||||
|
|
Loading…
Reference in a new issue