a5xelte: 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, 22 Sep 2020 12:08:59 +0000 (13:08 +0100)
Change-Id: Iaaa12c03abd0f670f0caa6346b75798460094ad5

BoardConfig.mk
device.mk

index 99930278ddb6be4165a974ff8082b535673d4715..6c53075b06c0510552427e436f44be794ff4d206 100644 (file)
@@ -54,6 +54,9 @@ BOARD_FLASH_BLOCK_SIZE := 4096
 # Kernel
 TARGET_KERNEL_CONFIG := lineageos_a5xelte_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 f6b7f440ed54344de9d854782dbe0fe891b2a009..6379ae2d5e43f123dcd93c6108c39ee718b8401e 100644 (file)
--- a/device.mk
+++ b/device.mk
@@ -62,10 +62,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 \