Makefile to support building XtsOEMCryptoTestCases module

This makefile will be linked to from the vendor/xts project,
and defines how to build the oemcrypto_unittest executable into
an xts compatible native test.

Bug: 18952052
Change-Id: I8158cad703b558b88070cc46dafcf109699ecc77
This commit is contained in:
Kyle Alexander
2015-02-19 14:11:45 -08:00
parent 17e3e434d8
commit 8e31c7f445
3 changed files with 45 additions and 30 deletions

View File

@@ -3,39 +3,11 @@ LOCAL_PATH:= $(call my-dir)
# THIS IS FOR THE MOCK TESTS:
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
oemcrypto_test.cpp
LOCAL_MODULE_TAGS := tests
LOCAL_C_INCLUDES += \
external/gtest/include \
external/openssl/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 \
libgtest_ndk \
libgtest_main_ndk \
libwvlevel3 \
libcdm_utils \
LOCAL_SHARED_LIBRARIES := \
libcrypto \
libcutils \
libdl \
liblog \
libutils \
libz \
LOCAL_MODULE:=oemcrypto_test
LOCAL_MODULE_TAGS := tests
LOCAL_MODULE_TARGET_ARCH := arm mips x86
LOCAL_CXX_STL := stlport
include $(LOCAL_PATH)/common.mk
include $(BUILD_EXECUTABLE)