s5neolte: copy manifest.xml via DEVICE_MANIFEST_FILE
authorJan Altensen <info@stricted.net>
Mon, 14 Sep 2020 02:50:22 +0000 (04:50 +0200)
committerJan Altensen <info@stricted.net>
Mon, 14 Sep 2020 02:50:22 +0000 (04:50 +0200)
Change-Id: Iaaa12c03abd0f670f0caa6346b75798460094ad5

BoardConfig.mk
device.mk

index 17a77c338856a7e0b59b8670f4025457d94d1cb7..b17a47abe2ec5d62a67ca992b2884acba4df60a4 100644 (file)
@@ -52,6 +52,9 @@ BOARD_FLASH_BLOCK_SIZE := 4096
 # Kernel
 TARGET_KERNEL_CONFIG := lineageos_s5neolte_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 57051ef863569552d256fa113ff3d7595b122cd4..9295a7a3d6c14841a4b466d4aba462eac50e1ca2 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
-
 # Key-layout
 PRODUCT_COPY_FILES += \
     $(LOCAL_PATH)/idc/Synaptics_HID_TouchPad.idc:system/usr/idc/Synaptics_HID_TouchPad.idc \