Skip to content

Commit 3802949

Browse files
author
Jean-Baptiste Queru
committed
Make DRM libraries optional
Change-Id: I0b591b75a035bc6d8049c85b595966845fedaa15
1 parent 89fef41 commit 3802949

File tree

6 files changed

+11
-2
lines changed

6 files changed

+11
-2
lines changed

drm/common/Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ LOCAL_C_INCLUDES := \
3838

3939
LOCAL_MODULE:= libdrmframeworkcommon
4040

41+
LOCAL_MODULE_TAGS := optional
42+
4143
include $(BUILD_STATIC_LIBRARY)

drm/drmioserver/Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ LOCAL_C_INCLUDES := \
3838

3939
LOCAL_MODULE:= drmioserver
4040

41+
LOCAL_MODULE_TAGS := optional
42+
4143
include $(BUILD_EXECUTABLE)

drm/drmserver/Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ LOCAL_C_INCLUDES := \
4141

4242
LOCAL_MODULE:= drmserver
4343

44+
LOCAL_MODULE_TAGS := optional
45+
4446
include $(BUILD_EXECUTABLE)

drm/jni/Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@ LOCAL_C_INCLUDES += \
4444

4545
LOCAL_PRELINK_MODULE := false
4646

47+
LOCAL_MODULE_TAGS := optional
48+
4749
include $(BUILD_SHARED_LIBRARY)
4850

drm/libdrmframework/Android.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ LOCAL_C_INCLUDES += \
4242

4343
LOCAL_PRELINK_MODULE := false
4444

45+
LOCAL_MODULE_TAGS := optional
46+
4547
include $(BUILD_SHARED_LIBRARY)
4648

4749
include $(call all-makefiles-under,$(LOCAL_PATH))

drm/libdrmframework/plugins/passthru/Android.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ LOCAL_C_INCLUDES += \
4343
# Set the following flag to enable the decryption passthru flow
4444
#LOCAL_CFLAGS += -DENABLE_PASSTHRU_DECRYPTION
4545

46-
PRODUCT_COPY_FILES += \
47-
$(TARGET_OUT_SHARED_LIBRARIES)/libdrmpassthruplugin.so:system/lib/drm/plugins/native/libdrmpassthruplugin.so
46+
LOCAL_MODULE_TAGS := optional
4847

4948
include $(BUILD_SHARED_LIBRARY)

0 commit comments

Comments
 (0)