* Add additional parameters to CDM decryption API https://widevine-internal-review.googlesource.com/#/c/6500/ * Pass Length and Flags Parameters to Decrypt() https://widevine-internal-review.googlesource.com/#/c/6740/ * Remove core files from oemcrypto/mock https://widevine-internal-review.googlesource.com/#/c/6853/ Change-Id: I1c73f5454da20da99130b161543fb990e16e7130
43 lines
919 B
Makefile
43 lines
919 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# THIS IS FOR THE MOCK TESTS:
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
oemcrypto_test.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 \
|
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
|
vendor/widevine/libwvdrmengine/third_party/stringencoders/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)
|