Move car-specifi init rc files from car.mk to car_base.mk
- init.bootstat.rc and init.car.rc are required for all car builds.
- so, better to have them in car_base.mk rather than car.mk.
Bug: 141998287
Test: Build and boot
Change-Id: I14cc7408d982710b4200d424c05fe3637926cc81
diff --git a/car_product/build/car.mk b/car_product/build/car.mk
index 999bbff..8246d37 100644
--- a/car_product/build/car.mk
+++ b/car_product/build/car.mk
@@ -114,10 +114,6 @@
PRODUCT_COPY_FILES += \
packages/services/Car/car_product/bootanimations/bootanimation-832.zip:system/media/bootanimation.zip
-PRODUCT_COPY_FILES += \
- packages/services/Car/car_product/init/init.bootstat.rc:system/etc/init/init.bootstat.car.rc \
- packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc
-
PRODUCT_LOCALES := \
en_US \
af_ZA \
diff --git a/car_product/build/car_base.mk b/car_product/build/car_base.mk
index 9f4ac74..8cf0a31 100644
--- a/car_product/build/car_base.mk
+++ b/car_product/build/car_base.mk
@@ -77,3 +77,8 @@
# Default dex optimization configurations
PRODUCT_PROPERTY_OVERRIDES += \
pm.dexopt.disable_bg_dexopt=true
+
+# Required init rc files for car
+PRODUCT_COPY_FILES += \
+ packages/services/Car/car_product/init/init.bootstat.rc:system/etc/init/init.bootstat.car.rc \
+ packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc