axolotl-shiftos: drm: build widevine hidl
Change-Id: I4a4df99943322bfa21766448564c81298bdfbf69
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/axolotl.mk b/axolotl.mk
index 29c302b..bf56aab 100644
--- a/axolotl.mk
+++ b/axolotl.mk
@@ -18,10 +18,7 @@
# Build super partition
PRODUCT_BUILD_SUPER_PARTITION := true
-# Widevine
-PRODUCT_PACKAGES += \
- android.hardware.drm@1.4-service.widevine \
-
-PRODUCT_PACKAGES += \
- libwvdrmengine \
- libwvhidl \
+# DRM - Widevine
+ifeq ($(WITH_GMS_MAINLINE),true)
+include vendor/widevine/service.mk
+endif