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

@@ -0,0 +1,30 @@
LOCAL_PATH:= $(call my-dir)
LOCAL_SRC_FILES:= \
oemcrypto_test.cpp
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_CXX_STL := stlport