Use libcrypto_static instead of libcrypto

Replace libcrypto with libcrypto_static, which can be protected through
visibility to ensure only modules that don't affect FIPS certification
can use it.

Bug: 141248879
Test: m checkbuild
Change-Id: I53757b813fe2984261a3bde963cac1886523dfdf
This commit is contained in:
Colin Cross
2019-09-18 17:35:52 -07:00
parent b280f8c717
commit 36e943c1ae
3 changed files with 5 additions and 4 deletions

View File

@@ -20,7 +20,8 @@ LOCAL_C_INCLUDES += \
LOCAL_HEADER_LIBRARIES := \
libutils_headers
LOCAL_STATIC_LIBRARIES := libcdm_protos libcrypto
LOCAL_STATIC_LIBRARIES := libcdm_protos
LOCAL_SHARED_LIBRARIES := libcrypto
SRC_DIR := src
CORE_SRC_DIR := core/src

View File

@@ -28,6 +28,7 @@ LOCAL_C_INCLUDES += \
LOCAL_SHARED_LIBRARIES := \
libbase \
libcrypto \
libdl \
liblog \
libmedia \
@@ -37,7 +38,6 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_STATIC_LIBRARIES := \
libcdm_utils \
libcrypto \
# Proprietary modules are put in vendor/lib instead of /system/lib.
LOCAL_PROPRIETARY_MODULE := true

View File

@@ -18,7 +18,7 @@ LOCAL_C_INCLUDES := \
vendor/widevine/libwvdrmengine/oemcrypto/include \
LOCAL_STATIC_LIBRARIES := \
libcrypto \
libcrypto_static \
libgtest \
libgtest_main \
@@ -64,7 +64,7 @@ LOCAL_C_INCLUDES := \
vendor/widevine/libwvdrmengine/oemcrypto/include \
LOCAL_STATIC_LIBRARIES := \
libcrypto \
libcrypto_static \
libgtest \
libgtest_main \