summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnilKumar Chimata <anilc@codeaurora.org>2017-07-19 01:02:51 +0530
committerAnilKumar Chimata <anilc@codeaurora.org>2017-07-25 15:29:37 +0530
commita6c00fc4859d362fffefa59f537eb51ffd5f9807 (patch)
treed5e41f043ecdb9272f58b8b18bd4eae29370451c
parentb3c42d8d3e610dd737f6e124ed097a4e10126c65 (diff)
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
-rw-r--r--sdm660_64.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/sdm660_64.mk b/sdm660_64.mk
index f650924..7870992 100644
--- a/sdm660_64.mk
+++ b/sdm660_64.mk
@@ -253,3 +253,15 @@ PRODUCT_PACKAGES += android.hardware.health@1.0-impl \
PRODUCT_COPY_FILES += \
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