summaryrefslogtreecommitdiff
path: root/device-common.mk
diff options
context:
space:
mode:
authorJeff Tinker <jtinker@google.com>2017-01-26 02:43:40 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-01-26 02:43:42 +0000
commit94441680dbbd78c28dcffd2fe832889a48e7e417 (patch)
tree4485af1f56a364f27c09492eab0ca33cc10722d3 /device-common.mk
parentfa3896cd8823eff8ae6f2bf70db7ef8d4d276265 (diff)
parentbc86f724c310d4689ff4833982872f78c447cfe2 (diff)
downloadhikey-94441680dbbd78c28dcffd2fe832889a48e7e417.tar.gz
Merge "Add drm HALs to device makefiles"
Diffstat (limited to 'device-common.mk')
-rw-r--r--device-common.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index 4df23e5b..d4e06e28 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -43,6 +43,14 @@ PRODUCT_PACKAGES += \
android.hardware.broadcastradio@1.0-impl \
android.hardware.soundtrigger@2.0-impl
+PRODUCT_PACKAGES += \
+ android.hardware.drm@1.0-impl \
+
+ifeq ($(ENABLE_TREBLE), true)
+PRODUCT_PACKAGES += \
+ android.hardware.drm@1.0-service
+endif
+
# Set zygote config
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64_32
PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc