* Replace an stlport static assert with a C++11 static_assert. * Move some libraries that were being built with the NDK but statically included into platform code off the NDK. * Rebuild the obfuscated binaries to use the new STL. * Remove MIPS support temporarily due to an inability to generate obfuscated binaries for it. (To be fixed in b/19482469.) Bug: 15193147 Change-Id: Icc166583b0c6af68550baf17ab8c33076a1179d3
41 lines
911 B
Makefile
41 lines
911 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
src/oemcrypto_engine_mock.cpp \
|
|
src/oemcrypto_key_mock.cpp \
|
|
src/oemcrypto_keybox_mock.cpp \
|
|
src/oemcrypto_usage_table_mock.cpp \
|
|
src/oemcrypto_mock.cpp \
|
|
src/wvcrc.cpp \
|
|
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(LOCAL_PATH)/../include \
|
|
$(LOCAL_PATH)/src \
|
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
|
vendor/widevine/libwvdrmengine/third_party/stringencoders/src \
|
|
external/gtest/include \
|
|
external/openssl/include \
|
|
external/openssl/include/openssl \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcrypto \
|
|
libcutils \
|
|
libdl \
|
|
liblog \
|
|
libutils \
|
|
libz \
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libcdm_utils
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
|
|
LOCAL_MODULE := liboemcrypto
|
|
LOCAL_MODULE_TARGET_ARCH := arm x86
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|