From 89ba485f07cb5bbaf8989e90548a357c4928a8cb Mon Sep 17 00:00:00 2001 From: Andrew Scull Date: Tue, 4 Feb 2025 01:28:20 +0000 Subject: Stop setting dalvik.vm.image-dex2oat-filter property This system property is no longer expected by ART. There is a new way to disable all dexpreopt and dexopt using `OVERRIDE_DISABLE_DEXOPT_ALL`, `dalvik.vm.disable-art-service-dexopt`, and `dalvik.vm.disable-odrefresh`. See build/make/target/product/runtime_libart.mk for more details. JIT Zygote mode uses the `verify` filter, which `extract` is an alias for, so deleting the property is a no-op. This also cleans up the deprecation warning for the `extract` value in logcat. Test: TH Test: Build and boot eng variant Change-Id: I9eab28fa6db5774e5285a007bdefa6d8ce133a58 --- scripts/gen_build_prop.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'scripts/gen_build_prop.py') diff --git a/scripts/gen_build_prop.py b/scripts/gen_build_prop.py index 355f33d6c..74befd5de 100644 --- a/scripts/gen_build_prop.py +++ b/scripts/gen_build_prop.py @@ -369,9 +369,6 @@ def append_additional_system_props(args): props = list(filter(lambda x: not x.startswith("ro.setupwizard.mode="), props)) props.append("ro.setupwizard.mode=OPTIONAL") - if not config["SdkBuild"]: - # To speedup startup of non-preopted builds, don't verify or compile the boot image. - props.append("dalvik.vm.image-dex2oat-filter=extract") # b/323566535 props.append("init.svc_debug.no_fatal.zygote=true") -- cgit v1.2.3-59-g8ed1b