forked from openkylin/platform_build
Reverse the patch which disabled building and launching zygote.
This commit is contained in:
parent
c4ef75b108
commit
e80f33fc8f
|
@ -62,6 +62,9 @@ ifeq (aosp_64bitonly_x86_64,$(TARGET_PRODUCT))
|
|||
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
|
||||
endif
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
|
||||
root/init.zygote64.rc
|
||||
|
||||
# This build configuration supports 64-bit apps only
|
||||
PRODUCT_NAME := aosp_64bitonly_x86_64
|
||||
PRODUCT_DEVICE := generic_64bitonly_x86_64
|
||||
|
|
|
@ -350,6 +350,9 @@ PRODUCT_COPY_FILES += \
|
|||
system/core/rootdir/init.usb.configfs.rc:system/etc/init/hw/init.usb.configfs.rc \
|
||||
system/core/rootdir/etc/hosts:system/etc/hosts
|
||||
|
||||
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote32.rc:system/etc/init/hw/init.zygote32.rc
|
||||
PRODUCT_VENDOR_PROPERTIES += ro.zygote?=zygote32
|
||||
|
||||
PRODUCT_SYSTEM_PROPERTIES += debug.atrace.tags.enableflags=0
|
||||
PRODUCT_SYSTEM_PROPERTIES += persist.traced.enable=1
|
||||
|
||||
|
|
|
@ -22,5 +22,12 @@
|
|||
# For now this will allow 64-bit apps, but still compile all apps with JNI
|
||||
# for 32-bit only.
|
||||
|
||||
# Copy the 64-bit primary, 32-bit secondary zygote startup script
|
||||
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:system/etc/init/hw/init.zygote64_32.rc
|
||||
|
||||
# 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
|
||||
PRODUCT_VENDOR_PROPERTIES += ro.zygote=zygote64_32
|
||||
|
||||
TARGET_SUPPORTS_32_BIT_APPS := true
|
||||
TARGET_SUPPORTS_64_BIT_APPS := true
|
||||
|
|
|
@ -19,5 +19,12 @@
|
|||
# The inheritance for this must come before the inheritance chain that leads
|
||||
# to core_minimal.mk.
|
||||
|
||||
# Copy the 64-bit zygote startup script
|
||||
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64.rc:system/etc/init/hw/init.zygote64.rc
|
||||
|
||||
# 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
|
||||
|
||||
TARGET_SUPPORTS_32_BIT_APPS := false
|
||||
TARGET_SUPPORTS_64_BIT_APPS := true
|
||||
|
|
|
@ -107,6 +107,12 @@ PRODUCT_PACKAGES += \
|
|||
libaudiopolicyengineconfigurable \
|
||||
libpolicy-subsystem
|
||||
|
||||
# Include all zygote init scripts. "ro.zygote" will select one of them.
|
||||
PRODUCT_COPY_FILES += \
|
||||
system/core/rootdir/init.zygote32.rc:system/etc/init/hw/init.zygote32.rc \
|
||||
system/core/rootdir/init.zygote64.rc:system/etc/init/hw/init.zygote64.rc \
|
||||
system/core/rootdir/init.zygote64_32.rc:system/etc/init/hw/init.zygote64_32.rc \
|
||||
|
||||
# Enable dynamic partition size
|
||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||
|
||||
|
|
Loading…
Reference in New Issue