sdm660_64: Add conditional flag to switch HIDLs

Add conditional flag to switch between QTI HIDLs and default
HIDLs for OTA upgrades.

Change-Id: Iba41e3b231669bd14f9653043134a9a2e19f8c3c
This commit is contained in:
AnilKumar Chimata 2017-07-19 01:02:51 +05:30
parent b3c42d8d3e
commit a6c00fc485

View file

@ -253,3 +253,15 @@ PRODUCT_PACKAGES += android.hardware.health@1.0-impl \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:system/etc/permissions/android.hardware.opengles.aep.xml frameworks/native/data/etc/android.hardware.opengles.aep.xml:system/etc/permissions/android.hardware.opengles.aep.xml
#Enable QTI KEYMASTER and GATEKEEPER HIDLs
ifeq ($(ENABLE_VENDOR_IMAGE), true)
KMGK_USE_QTI_SERVICE := true
endif
#Enable AOSP KEYMASTER and GATEKEEPER HIDLs
ifneq ($(KMGK_USE_QTI_SERVICE), true)
PRODUCT_PACKAGES += android.hardware.gatekeeper@1.0-impl \
android.hardware.gatekeeper@1.0-service \
android.hardware.keymaster@3.0-impl \
android.hardware.keymaster@3.0-service
endif