Merged from http://go/wvgerrit/163639 Bug: 253271674 Test: Google TV Test: atest MediaDrmParameterizedTests Test: atest DrmSessionManagerTest Change-Id: I9f0e83774d405466a389d2fd90d693830682dde4
56 lines
1.3 KiB
Makefile
56 lines
1.3 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Builds libwvdrmengine_hal_test
|
|
#
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
WVCreatePluginFactories_hal_test.cpp \
|
|
WVCryptoFactory_hal_test.cpp \
|
|
WVDrmFactory_hal_test.cpp \
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
frameworks/av/include \
|
|
frameworks/native/include \
|
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
|
vendor/widevine/libwvdrmengine/include \
|
|
vendor/widevine/libwvdrmengine/mediadrm/include \
|
|
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libgtest \
|
|
libgtest_main \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
android.hardware.drm-V1-ndk \
|
|
libbase \
|
|
libbinder_ndk \
|
|
libcrypto \
|
|
libdl \
|
|
liblog \
|
|
libutils \
|
|
libwvaidl \
|
|
|
|
LOCAL_HEADER_LIBRARIES := \
|
|
libstagefright_foundation_headers \
|
|
|
|
LOCAL_MODULE := libwvdrmengine_hal_test
|
|
|
|
LOCAL_LICENSE_KINDS := legacy_by_exception_only
|
|
LOCAL_LICENSE_CONDITIONS := by_exception_only
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
LOCAL_MODULE_OWNER := widevine
|
|
LOCAL_PROPRIETARY_MODULE := true
|
|
|
|
# When built, explicitly put it in the DATA/nativetest directory.
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativetest
|
|
|
|
ifneq ($(TARGET_ENABLE_MEDIADRM_64), true)
|
|
LOCAL_MODULE_TARGET_ARCH := arm x86 mips
|
|
endif
|
|
|
|
include $(BUILD_EXECUTABLE)
|