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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
|
||||
Reference in New Issue
Block a user