summaryrefslogtreecommitdiffstats
path: root/libdrmdecrypt/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libdrmdecrypt/Android.mk')
-rw-r--r--libdrmdecrypt/Android.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/libdrmdecrypt/Android.mk b/libdrmdecrypt/Android.mk
new file mode 100644
index 0000000..324221c
--- /dev/null
+++ b/libdrmdecrypt/Android.mk
@@ -0,0 +1,32 @@
+ifeq ($(TARGET_BOARD_PLATFORM),omap4)
+
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+ifneq ($(TARGET_DEVICE),panda)
+-include $(TOP)/vendor/widevine/proprietary/cryptoPlugin/decrypt-core.mk
+endif
+
+LOCAL_C_INCLUDES:= \
+ $(TOP)/frameworks/native/include/media/hardware \
+ $(TOP)/vendor/widevine/proprietary/cryptoPlugin \
+
+ifeq ($(BOARD_USES_SECURE_SERVICES),true)
+LOCAL_STATIC_LIBRARIES += \
+ libtee_client_api_driver \
+
+endif
+
+LOCAL_SHARED_LIBRARIES := \
+ libstagefright_foundation \
+ liblog \
+ libcutils \
+ libcrypto
+
+LOCAL_MODULE := libdrmdecrypt
+
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_SHARED_LIBRARY)
+
+endif