sanders: Use build variables to build device matrices.

Move away from building device manifest through PRODUCT_COPY_FILES.
Use the build variables - DEVICE_MANIFEST_FILE and DEVICE_MATRIX_FILE
to build device manifest and device compatibility files repectively.

Change-Id: Ieb3e410118ee9fe00c6b03e32a983e584960d8dc
This commit is contained in:
Mahantesh Sanakall
2017-08-07 16:42:06 +05:30
committed by therootlord
parent 9e90359ce6
commit 3ba942c065
4 changed files with 4 additions and 5 deletions

View File

@@ -167,6 +167,10 @@ TARGET_PROVIDES_KEYMASTER := true
# Lights
TARGET_PROVIDES_LIBLIGHT := true
# Manifest
DEVICE_MANIFEST_FILE := $(DEVICE_PATH)/configs/manifest.xml
DEVICE_MATRIX_FILE := $(DEVICE_PATH)/configs/compatibility_matrix.xml
# Media
# TARGET_USES_MEDIA_EXTENSIONS := true

View File

@@ -191,11 +191,6 @@ PRODUCT_PACKAGES += \
libloc_api-rpc-qc \
libshims_get_process_name
# HIDL
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/manifest.xml:system/vendor/manifest.xml \
$(LOCAL_PATH)/compatibility_matrix.xml:system/vendor/compatibility_matrix.xml
# IMS
PRODUCT_PACKAGES += \
libshim_ims