Use soong modules for init.*.rc

Bug: 322088967
Test: build
Change-Id: Ic4c9280367d7a5effab7eb2bc3b9dd07bf19a218
This commit is contained in:
Jeongik Cha
2024-01-24 16:38:24 +09:00
parent 6d7a094dd0
commit a865d24b5a
4 changed files with 8 additions and 11 deletions

View File

@@ -419,13 +419,12 @@ PRODUCT_HOST_PACKAGES += \
tz_version_host \ tz_version_host \
tz_version_host_tzdata_apex \ tz_version_host_tzdata_apex \
PRODUCT_PACKAGES += init.usb.rc init.usb.configfs.rc
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
system/core/rootdir/init.usb.rc:system/etc/init/hw/init.usb.rc \
system/core/rootdir/init.usb.configfs.rc:system/etc/init/hw/init.usb.configfs.rc \
system/core/rootdir/etc/hosts:system/etc/hosts 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_PACKAGES += init.zygote32.rc
PRODUCT_VENDOR_PROPERTIES += ro.zygote?=zygote32 PRODUCT_VENDOR_PROPERTIES += ro.zygote?=zygote32
PRODUCT_SYSTEM_PROPERTIES += debug.atrace.tags.enableflags=0 PRODUCT_SYSTEM_PROPERTIES += debug.atrace.tags.enableflags=0

View File

@@ -23,9 +23,7 @@
# for 32-bit only. # for 32-bit only.
# Copy the 64-bit primary, 32-bit secondary zygote startup script # Copy the 64-bit primary, 32-bit secondary zygote startup script
PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += init.zygote64.rc init.zygote64_32.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 \
# Set the zygote property to select the 64-bit primary, 32-bit secondary script # 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 # This line must be parsed before the one in core_minimal.mk

View File

@@ -20,7 +20,7 @@
# to core_minimal.mk. # to core_minimal.mk.
# Copy the 64-bit zygote startup script # Copy the 64-bit zygote startup script
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64.rc:system/etc/init/hw/init.zygote64.rc PRODUCT_PACKAGES += init.zygote64.rc
# Set the zygote property to select the 64-bit script. # Set the zygote property to select the 64-bit script.
# This line must be parsed before the one in core_minimal.mk # This line must be parsed before the one in core_minimal.mk

View File

@@ -111,10 +111,10 @@ PRODUCT_PACKAGES += \
$(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_34) $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_34)
# Include all zygote init scripts. "ro.zygote" will select one of them. # Include all zygote init scripts. "ro.zygote" will select one of them.
PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \
system/core/rootdir/init.zygote32.rc:system/etc/init/hw/init.zygote32.rc \ init.zygote32.rc \
system/core/rootdir/init.zygote64.rc:system/etc/init/hw/init.zygote64.rc \ init.zygote64.rc \
system/core/rootdir/init.zygote64_32.rc:system/etc/init/hw/init.zygote64_32.rc \ init.zygote64_32.rc
# Enable dynamic partition size # Enable dynamic partition size
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true