Update unit test make files to use BoringSSL
Merge from widevine of go://wvgerrit/14173 This CL updates the android makefiles to use the libcrypto_static. Change-Id: I74567ff880ebdce366766a9ab44c92cc9540b8db
This commit is contained in:
@@ -81,12 +81,12 @@ LOCAL_C_INCLUDES := \
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libcdm \
|
||||
libcdm_utils \
|
||||
libcrypto_static \
|
||||
libwvlevel3 \
|
||||
libwvdrmcryptoplugin \
|
||||
libwvdrmdrmplugin \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcrypto \
|
||||
libcutils \
|
||||
libdl \
|
||||
liblog \
|
||||
|
||||
@@ -13,6 +13,10 @@ cd $ANDROID_BUILD_TOP/external/gtest/
|
||||
pwd
|
||||
mm
|
||||
|
||||
cd $ANDROID_BUILD_TOP/external/boringssl
|
||||
pwd
|
||||
mm
|
||||
|
||||
cd $ANDROID_BUILD_TOP/vendor/widevine/libwvdrmengine
|
||||
pwd
|
||||
mm
|
||||
|
||||
@@ -32,6 +32,7 @@ LOCAL_C_INCLUDES += external/protobuf/src
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libcdm \
|
||||
libcdm_protos \
|
||||
libcrypto_static \
|
||||
libgmock \
|
||||
libgtest \
|
||||
libgtest_main \
|
||||
@@ -39,7 +40,6 @@ LOCAL_STATIC_LIBRARIES := \
|
||||
libcdm_utils \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcrypto \
|
||||
libcutils \
|
||||
libdl \
|
||||
liblog \
|
||||
|
||||
@@ -18,6 +18,7 @@ LOCAL_STATIC_LIBRARIES := \
|
||||
libcdm \
|
||||
libcdm_protos \
|
||||
libcdm_utils \
|
||||
libcrypto_static \
|
||||
libgmock \
|
||||
libgmock_main \
|
||||
libgtest \
|
||||
@@ -25,7 +26,6 @@ LOCAL_STATIC_LIBRARIES := \
|
||||
libwvdrmcryptoplugin \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcrypto \
|
||||
libcutils \
|
||||
libdl \
|
||||
liblog \
|
||||
|
||||
@@ -19,6 +19,7 @@ LOCAL_STATIC_LIBRARIES := \
|
||||
libcdm \
|
||||
libcdm_protos \
|
||||
libcdm_utils \
|
||||
libcrypto_static \
|
||||
libgmock \
|
||||
libgmock_main \
|
||||
libgtest \
|
||||
@@ -26,7 +27,6 @@ LOCAL_STATIC_LIBRARIES := \
|
||||
libwvdrmdrmplugin \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcrypto \
|
||||
libcutils \
|
||||
libdl \
|
||||
liblog \
|
||||
|
||||
@@ -25,7 +25,6 @@ LOCAL_C_INCLUDES += \
|
||||
external/openssl/include/openssl \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcrypto \
|
||||
libcutils \
|
||||
libdl \
|
||||
liblog \
|
||||
@@ -33,7 +32,8 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libz \
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libcdm_utils
|
||||
libcdm_utils \
|
||||
libcrypto_static \
|
||||
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
|
||||
LOCAL_MODULE := liboemcrypto
|
||||
|
||||
@@ -10,7 +10,6 @@ LOCAL_SRC_FILES:= \
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
external/gtest/include \
|
||||
external/openssl/include \
|
||||
$(LOCAL_PATH)/../include \
|
||||
$(LOCAL_PATH)/../mock/src \
|
||||
vendor/widevine/libwvdrmengine/cdm/core/include \
|
||||
@@ -19,15 +18,16 @@ LOCAL_C_INCLUDES += \
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libcdm \
|
||||
libcdm_utils \
|
||||
libcrypto_static \
|
||||
libgtest \
|
||||
libgtest_main \
|
||||
libwvlevel3 \
|
||||
libcdm_utils \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcrypto \
|
||||
libcutils \
|
||||
libdl \
|
||||
liblog \
|
||||
libutils \
|
||||
libz \
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <openssl/aes.h>
|
||||
#include <openssl/cmac.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/hmac.h>
|
||||
#include <openssl/rand.h>
|
||||
|
||||
@@ -15,11 +15,11 @@ LOCAL_C_INCLUDES := \
|
||||
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libcrypto_static \
|
||||
libgtest \
|
||||
libgtest_main \
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcrypto \
|
||||
libdl \
|
||||
liblog \
|
||||
libutils \
|
||||
|
||||
Reference in New Issue
Block a user