Add support for only starting 64 bit zygote. am: 5a564d837c

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

Change-Id: Idbe2fd2b5f32bc4d5f66c900b9085951e5fa1416
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Christopher Ferris
2022-07-14 00:55:06 +00:00
committed by Automerger Merge Worker
2 changed files with 17 additions and 4 deletions

View File

@@ -27,7 +27,11 @@ PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:system/etc/init/hw
# Set the zygote property to select the 64-bit primary, 32-bit secondary script
# This line must be parsed before the one in core_minimal.mk
ifeq ($(ZYGOTE_FORCE_64),true)
PRODUCT_VENDOR_PROPERTIES += ro.zygote=zygote64
else
PRODUCT_VENDOR_PROPERTIES += ro.zygote=zygote64_32
endif
TARGET_SUPPORTS_32_BIT_APPS := true
TARGET_SUPPORTS_64_BIT_APPS := true