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 := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libcdm \
|
libcdm \
|
||||||
libcdm_utils \
|
libcdm_utils \
|
||||||
|
libcrypto_static \
|
||||||
libwvlevel3 \
|
libwvlevel3 \
|
||||||
libwvdrmcryptoplugin \
|
libwvdrmcryptoplugin \
|
||||||
libwvdrmdrmplugin \
|
libwvdrmdrmplugin \
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcrypto \
|
|
||||||
libcutils \
|
libcutils \
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ cd $ANDROID_BUILD_TOP/external/gtest/
|
|||||||
pwd
|
pwd
|
||||||
mm
|
mm
|
||||||
|
|
||||||
|
cd $ANDROID_BUILD_TOP/external/boringssl
|
||||||
|
pwd
|
||||||
|
mm
|
||||||
|
|
||||||
cd $ANDROID_BUILD_TOP/vendor/widevine/libwvdrmengine
|
cd $ANDROID_BUILD_TOP/vendor/widevine/libwvdrmengine
|
||||||
pwd
|
pwd
|
||||||
mm
|
mm
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ LOCAL_C_INCLUDES += external/protobuf/src
|
|||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libcdm \
|
libcdm \
|
||||||
libcdm_protos \
|
libcdm_protos \
|
||||||
|
libcrypto_static \
|
||||||
libgmock \
|
libgmock \
|
||||||
libgtest \
|
libgtest \
|
||||||
libgtest_main \
|
libgtest_main \
|
||||||
@@ -39,7 +40,6 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libcdm_utils \
|
libcdm_utils \
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcrypto \
|
|
||||||
libcutils \
|
libcutils \
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libcdm \
|
libcdm \
|
||||||
libcdm_protos \
|
libcdm_protos \
|
||||||
libcdm_utils \
|
libcdm_utils \
|
||||||
|
libcrypto_static \
|
||||||
libgmock \
|
libgmock \
|
||||||
libgmock_main \
|
libgmock_main \
|
||||||
libgtest \
|
libgtest \
|
||||||
@@ -25,7 +26,6 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libwvdrmcryptoplugin \
|
libwvdrmcryptoplugin \
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcrypto \
|
|
||||||
libcutils \
|
libcutils \
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libcdm \
|
libcdm \
|
||||||
libcdm_protos \
|
libcdm_protos \
|
||||||
libcdm_utils \
|
libcdm_utils \
|
||||||
|
libcrypto_static \
|
||||||
libgmock \
|
libgmock \
|
||||||
libgmock_main \
|
libgmock_main \
|
||||||
libgtest \
|
libgtest \
|
||||||
@@ -26,7 +27,6 @@ LOCAL_STATIC_LIBRARIES := \
|
|||||||
libwvdrmdrmplugin \
|
libwvdrmdrmplugin \
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcrypto \
|
|
||||||
libcutils \
|
libcutils \
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ LOCAL_C_INCLUDES += \
|
|||||||
external/openssl/include/openssl \
|
external/openssl/include/openssl \
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcrypto \
|
|
||||||
libcutils \
|
libcutils \
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
@@ -33,7 +32,8 @@ LOCAL_SHARED_LIBRARIES := \
|
|||||||
libz \
|
libz \
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libcdm_utils
|
libcdm_utils \
|
||||||
|
libcrypto_static \
|
||||||
|
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)
|
||||||
LOCAL_MODULE := liboemcrypto
|
LOCAL_MODULE := liboemcrypto
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ LOCAL_SRC_FILES:= \
|
|||||||
|
|
||||||
LOCAL_C_INCLUDES += \
|
LOCAL_C_INCLUDES += \
|
||||||
external/gtest/include \
|
external/gtest/include \
|
||||||
external/openssl/include \
|
|
||||||
$(LOCAL_PATH)/../include \
|
$(LOCAL_PATH)/../include \
|
||||||
$(LOCAL_PATH)/../mock/src \
|
$(LOCAL_PATH)/../mock/src \
|
||||||
vendor/widevine/libwvdrmengine/cdm/core/include \
|
vendor/widevine/libwvdrmengine/cdm/core/include \
|
||||||
@@ -19,15 +18,16 @@ LOCAL_C_INCLUDES += \
|
|||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libcdm \
|
libcdm \
|
||||||
libcdm_utils \
|
libcdm_utils \
|
||||||
|
libcrypto_static \
|
||||||
libgtest \
|
libgtest \
|
||||||
libgtest_main \
|
libgtest_main \
|
||||||
libwvlevel3 \
|
libwvlevel3 \
|
||||||
libcdm_utils \
|
libcdm_utils \
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcrypto \
|
|
||||||
libcutils \
|
libcutils \
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
libutils \
|
libutils \
|
||||||
libz \
|
libz \
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <openssl/aes.h>
|
#include <openssl/aes.h>
|
||||||
#include <openssl/cmac.h>
|
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/hmac.h>
|
#include <openssl/hmac.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ LOCAL_C_INCLUDES := \
|
|||||||
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
|
libcrypto_static \
|
||||||
libgtest \
|
libgtest \
|
||||||
libgtest_main \
|
libgtest_main \
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libcrypto \
|
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
libutils \
|
libutils \
|
||||||
|
|||||||
Reference in New Issue
Block a user