Moved final build of widevine DRM plugin into vendor directory for platform to avoid needing to reference device-specific libs in the Widevine DRM plugin link. Also removed some old .sh scripts that are not needed. Change-Id: Ie6d397c97bc8afd8154f1dddadbab8c7ee524d7a
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
LOCAL_MODULE := libwvdrm
|
|
LOCAL_SRC_FILES := \
|
|
lib/libwvdrm.so
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_SUFFIX := $(suffix $(LOCAL_SRC_FILES))
|
|
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
|
OVERRIDE_BUILT_MODULE_PATH := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)
|
|
include $(BUILD_PREBUILT)
|
|
|
|
endif
|
|
|
|
########################
|
|
# Feature file for clients to look up widevine drm plug-in
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := com.google.widevine.software.drm.xml
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
# This will install the file in /system/etc/permissions
|
|
#
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
########################
|
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
include $(CLEAR_VARS)
|
|
include $(TOP)/vendor/widevine/proprietary/drmwvmplugin/common.mk
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
src/WVMDrmPlugin.cpp \
|
|
src/WVMLogging.cpp
|
|
|
|
LOCAL_MODULE := libdrmwvmcommon
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_STATIC_LIBRARY)
|
|
|
|
# invoke Android.mk files in subdirs
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
|
|
|
endif
|
|
|
|
|