summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-27 03:44:32 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-27 03:44:32 -0700
commit118a422b9fd5f7311c4152c0baf76665d1165818 (patch)
treebf7110d7c5dba761bbbafd80d36f8546f5458d56
parent9df3414c195d77c7c3156326d970ed5b35fa8ae9 (diff)
parenta6c00fc4859d362fffefa59f537eb51ffd5f9807 (diff)
Merge "sdm660_64: Add conditional flag to switch HIDLs"
-rw-r--r--sdm660_64.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/sdm660_64.mk b/sdm660_64.mk
index f8c7a34..2528eee 100644
--- a/sdm660_64.mk
+++ b/sdm660_64.mk
@@ -258,3 +258,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