a7xelte: copy manifest.xml via DEVICE_MANIFEST_FILE
authorJan Altensen <info@stricted.net>
Mon, 14 Sep 2020 02:50:22 +0000 (04:50 +0200)
committerSourajit Karmakar <sourajit.karmakar@gmail.com>
Fri, 5 Mar 2021 04:38:24 +0000 (23:38 -0500)
Change-Id: Iaaa12c03abd0f670f0caa6346b75798460094ad5

BoardConfig.mk
device.mk

index 0b18c8a4686062422582464235395e6fe84d0429..1baf12eae10e60274c7893cc70f9f99a6129cf37 100644 (file)
@@ -54,6 +54,9 @@ BOARD_FLASH_BLOCK_SIZE := 4096
 # Kernel
 TARGET_KERNEL_CONFIG := lineageos_a7xelte_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 cee0c3d0f1470d7e8857e7318df64ddd36b00464..b3acb1ee40b0c435b2800590819192f2cd985838 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -63,10 +63,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 \