gs101: use 64-bit dex2oat
64-bit dex2oat uses slightly more memory in exchange for significantly improved compile time.
Test: boots, works
bug: 188906345
Change-Id: Ie91a2401504596cabacbb04b5d6b7039865c193d
diff --git a/device.mk b/device.mk
index a074768..d8279ae 100644
--- a/device.mk
+++ b/device.mk
@@ -1171,3 +1171,7 @@
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
frameworks/native/data/etc/android.hardware.device_unique_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.device_unique_attestation.xml
+
+# Use 64-bit dex2oat for better dexopt time.
+PRODUCT_PROPERTY_OVERRIDES += \
+ dalvik.vm.dex2oat64.enabled=true