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

@@ -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