Merge "Use dex2oat64 on 64-bit-only builds" am: d373dd2938 am: 42294079a5 am: 97992fc8b5

Original change: https://android-review.googlesource.com/c/platform/build/+/1904177

Change-Id: I2fc3122607e66c1b9656c495203f38e61852ac7e
This commit is contained in:
Treehugger Robot
2021-11-30 10:41:56 +00:00
committed by Automerger Merge Worker

View File

@@ -25,6 +25,9 @@ PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64.rc:system/etc/init/hw/in
# Set the zygote property to select the 64-bit script.
# This line must be parsed before the one in core_minimal.mk
PRODUCT_VENDOR_PROPERTIES += ro.zygote=zygote64
# A 64-bit-only platform does not have dex2oat32, so make sure dex2oat64 is
# used for dexopt.
PRODUCT_VENDOR_PROPERTIES += dalvik.vm.dex2oat64.enabled=true
TARGET_SUPPORTS_32_BIT_APPS := false
TARGET_SUPPORTS_64_BIT_APPS := true