(This is a merge of http://go/wvgerrit/14801) The MIPS compiler does not support GNU hashing, which means this compiler option needs to be excluded. Bug: 19482469 Change-Id: I913f666a39eb535a33ebfbc49e5e7531115db5d4
38 lines
739 B
Makefile
38 lines
739 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
ifneq ($(TARGET_ARCH),mips)
|
|
|
|
# Tests need to be compatible with devices that do not support gnu hash-style
|
|
LOCAL_LDFLAGS+=-Wl,--hash-style=both
|
|
|
|
endif
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
oemcrypto_test.cpp \
|
|
oemcrypto_test_android.cpp \
|
|
oemcrypto_test_main.cpp \
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
external/gtest/include \
|
|
$(LOCAL_PATH)/../include \
|
|
$(LOCAL_PATH)/../mock/src \
|
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
|
vendor/widevine/libwvdrmengine/third_party/stringencoders/src \
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libcdm \
|
|
libcdm_utils \
|
|
libcrypto_static \
|
|
libgtest \
|
|
libgtest_main \
|
|
libwvlevel3 \
|
|
libcdm_utils \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libdl \
|
|
liblog \
|
|
libutils \
|
|
libz \
|
|
|