a3xelte: copy manifest.xml via DEVICE_MANIFEST_FILE
authorJan Altensen <info@stricted.net>
Mon, 14 Sep 2020 02:50:22 +0000 (04:50 +0200)
committerDanny Wood <danwood76@gmail.com>
Tue, 15 Dec 2020 09:59:41 +0000 (10:59 +0100)
Change-Id: Iaaa12c03abd0f670f0caa6346b75798460094ad5

BoardConfig.mk
device.mk

index 240606e7ecca39790cc27387a5a13aed4c957ca8..79b0a50e2aff3e0590759fd20c6c9f8647ab944e 100644 (file)
@@ -49,6 +49,9 @@ BOARD_FLASH_BLOCK_SIZE := 4096
 # Kernel
 TARGET_KERNEL_CONFIG := lineageos_a3xelte_defconfig
 
+# Manifest
+DEVICE_MANIFEST_FILE := $(LOCAL_PATH)/manifest.xml
+
 # Shim
 TARGET_LD_SHIM_LIBS += \
     /system/lib/libcamera_client.so|/vendor/lib/libcamera_client_shim.so \
index b9f31763987831832273beea96ae9ee9dba481d3..06c18f33a4344b1086e6927fc6d791f5257cb6fb 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -51,10 +51,6 @@ PRODUCT_AAPT_PREF_CONFIG := xhdpi
 # A list of dpis to select prebuilt apk, in precedence order.
 PRODUCT_AAPT_PREBUILT_DPI := hdpi mdpi
 
-# HIDL Manifest
-PRODUCT_COPY_FILES += \
-    $(LOCAL_PATH)/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml
-
 # Keylayouts
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/keylayout/gpio_keys.kl:system/usr/keylayout/gpio_keys.kl \