Move all Widevine code which have dependency on vendor modules from framework/base to vendor/widevine

Change-Id: I2b43e90c279391436f1bbb18ebd64961bec4f9ee
This commit is contained in:
Gloria Wang
2011-02-18 22:51:13 -08:00
parent 1c53769dc1
commit 0f9922ff77
32 changed files with 2376 additions and 1 deletions

View File

@@ -0,0 +1,48 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
ifeq ($(TARGET_ARCH),arm)
LOCAL_SRC_FILES:= \
src/WVMDrmPlugin.cpp \
src/WVMLogging.cpp
LOCAL_C_INCLUDES:= \
bionic \
bionic/libstdc++/include \
external/stlport/stlport \
vendor/widevine/proprietary/streamcontrol/include \
vendor/widevine/proprietary/drmwvmplugin/include
LOCAL_MODULE := libdrmwvmplugin
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/drm
LOCAL_STATIC_LIBRARIES := \
libdrmframeworkcommon
LOCAL_SHARED_LIBRARIES := \
libutils \
libcutils \
libstlport \
libz \
libwvdrm \
libWVStreamControlAPI
ifeq ($(TARGET_SIMULATOR),true)
LOCAL_LDLIBS += -ldl
else
LOCAL_SHARED_LIBRARIES += libdl
endif
LOCAL_PRELINK_MODULE := false
LOCAL_C_INCLUDES += \
$(TOP)/frameworks/base/drm/libdrmframework/include \
$(TOP)/frameworks/base/drm/libdrmframework/plugins/common/include \
$(TOP)/frameworks/base/include
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
endif