Android development of the widevine CDM has been done on the jb-mr2 branch of the cdm code base. This CL contains a merge of that jb-mr2 work to CDM master, and also reflects the evolution of the common Modular DRM code base since jb-mr2 branched. Change-Id: I1d7e1a12d092c00044a4298261146cb97808d4ef
42 lines
829 B
Makefile
42 lines
829 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# THIS IS FOR THE MOCK TESTS:
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
oemcrypto_test.cpp \
|
|
../../cdm/src/log.cpp \
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
# Define CAN_INSTALL_KEYBOX and the unit test will install a known keybox and test decryption.
|
|
LOCAL_CFLAGS += -DCAN_INSTALL_KEYBOX
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
bionic \
|
|
external/gtest/include \
|
|
external/openssl/include \
|
|
external/stlport/stlport \
|
|
$(LOCAL_PATH)/../include \
|
|
$(LOCAL_PATH)/../mock/src \
|
|
|
|
# TODO(fredgc): fix order dependencies on libwvlevel3 and libwvwrapper.
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libgtest \
|
|
libgtest_main \
|
|
libwvwrapper \
|
|
libwvlevel3 \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcrypto \
|
|
libcutils \
|
|
libdl \
|
|
liblog \
|
|
libstlport \
|
|
libutils \
|
|
libz \
|
|
|
|
LOCAL_MODULE:=oemcrypto_test
|
|
|
|
include $(BUILD_EXECUTABLE)
|