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 := \
|
LOCAL_HEADER_LIBRARIES := \
|
||||||
libutils_headers
|
libutils_headers
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := libcdm_protos libcrypto
|
LOCAL_STATIC_LIBRARIES := libcdm_protos
|
||||||
|
LOCAL_SHARED_LIBRARIES := libcrypto
|
||||||
|
|
||||||
SRC_DIR := src
|
SRC_DIR := src
|
||||||
CORE_SRC_DIR := core/src
|
CORE_SRC_DIR := core/src
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ LOCAL_C_INCLUDES += \
|
|||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
libbase \
|
libbase \
|
||||||
|
libcrypto \
|
||||||
libdl \
|
libdl \
|
||||||
liblog \
|
liblog \
|
||||||
libmedia \
|
libmedia \
|
||||||
@@ -37,7 +38,6 @@ LOCAL_SHARED_LIBRARIES := \
|
|||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libcdm_utils \
|
libcdm_utils \
|
||||||
libcrypto \
|
|
||||||
|
|
||||||
# Proprietary modules are put in vendor/lib instead of /system/lib.
|
# Proprietary modules are put in vendor/lib instead of /system/lib.
|
||||||
LOCAL_PROPRIETARY_MODULE := true
|
LOCAL_PROPRIETARY_MODULE := true
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ LOCAL_C_INCLUDES := \
|
|||||||
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libcrypto \
|
libcrypto_static \
|
||||||
libgtest \
|
libgtest \
|
||||||
libgtest_main \
|
libgtest_main \
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ LOCAL_C_INCLUDES := \
|
|||||||
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
vendor/widevine/libwvdrmengine/oemcrypto/include \
|
||||||
|
|
||||||
LOCAL_STATIC_LIBRARIES := \
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
libcrypto \
|
libcrypto_static \
|
||||||
libgtest \
|
libgtest \
|
||||||
libgtest_main \
|
libgtest_main \
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user