forked from openkylin/platform_build
Merge "Add zygote init script to mainline_system.mk" am: e8d9df122a
am: 7b33d3bcc0
Change-Id: Iffd2165060f44b303756d9ab0befc0858bb2d80a
This commit is contained in:
commit
5f4ae378ef
|
@ -39,9 +39,6 @@ ifeq (aosp_arm64,$(TARGET_PRODUCT))
|
|||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
endif
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
root/init.zygote64_32.rc \
|
||||
|
||||
#
|
||||
# All components inherited here go to product image
|
||||
#
|
||||
|
|
|
@ -39,9 +39,6 @@ ifeq (aosp_x86_64,$(TARGET_PRODUCT))
|
|||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
endif
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
root/init.zygote64_32.rc \
|
||||
|
||||
#
|
||||
# All components inherited here go to product image
|
||||
#
|
||||
|
|
|
@ -23,9 +23,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
|||
# Enable mainline checking
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
root/init.zygote64_32.rc \
|
||||
|
||||
#
|
||||
# All components inherited here go to product image
|
||||
#
|
||||
|
|
|
@ -51,19 +51,3 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
# Support addtional P and Q VNDK packages
|
||||
PRODUCT_EXTRA_VNDK_VERSIONS := 28 29
|
||||
|
||||
# The 64 bits GSI build targets inhiert core_64_bit.mk to enable 64 bits and
|
||||
# include the init.zygote64_32.rc.
|
||||
# 64 bits GSI for releasing need to includes different zygote settings for
|
||||
# vendor.img to select by setting property ro.zygote=zygote64_32 or
|
||||
# ro.zygote=zygote32_64:
|
||||
# 1. 64-bit primary, 32-bit secondary, or
|
||||
# 2. 32-bit primary, 64-bit secondary
|
||||
# Here includes the init.zygote32_64.rc if it had inhierted core_64_bit.mk.
|
||||
ifeq (true|true,$(TARGET_SUPPORTS_32_BIT_APPS)|$(TARGET_SUPPORTS_64_BIT_APPS))
|
||||
PRODUCT_COPY_FILES += \
|
||||
system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
root/init.zygote32_64.rc
|
||||
endif
|
||||
|
|
|
@ -27,8 +27,6 @@ PRODUCT_SHIPPING_API_LEVEL := 28
|
|||
PRODUCT_RESTRICT_VENDOR_FILES := owner
|
||||
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
root/init.zygote64_32.rc \
|
||||
|
||||
# Modules that should probably be moved to /product
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
|
|
|
@ -110,6 +110,13 @@ PRODUCT_PACKAGES_DEBUG += \
|
|||
PRODUCT_HOST_PACKAGES += \
|
||||
tinyplay
|
||||
|
||||
# Include all zygote init scripts. "ro.zygote" will select one of them.
|
||||
PRODUCT_COPY_FILES += \
|
||||
system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc \
|
||||
system/core/rootdir/init.zygote64.rc:root/init.zygote64.rc \
|
||||
system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc \
|
||||
system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc
|
||||
|
||||
# Enable dynamic partition size
|
||||
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
|
||||
|
||||
|
|
|
@ -23,8 +23,6 @@ $(call enforce-product-packages-exist,)
|
|||
|
||||
# Enable mainline checking
|
||||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
root/init.zygote64_32.rc \
|
||||
|
||||
PRODUCT_BUILD_CACHE_IMAGE := false
|
||||
PRODUCT_BUILD_ODM_IMAGE := false
|
||||
|
|
|
@ -27,9 +27,6 @@ ifeq (sdk_phone_x86_64,$(TARGET_PRODUCT))
|
|||
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
||||
endif
|
||||
|
||||
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
||||
root/init.zygote64_32.rc \
|
||||
|
||||
#
|
||||
# All components inherited here go to product image
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue