Use apex_available property

Use apex_available property to prevent modules that are only for the
conscrypt apex from being used outside of the APEX.

Bug: 128708192
Bug: 133140750
Test: m
Change-Id: I08ca6cd8e5e4a254d9dd62695ee3ed317503d874
This commit is contained in:
Jiyong Park 2019-12-02 13:58:44 +09:00
parent 3977cb4f75
commit a4226d1942
1 changed files with 0 additions and 8 deletions

View File

@ -1121,18 +1121,10 @@ APEX_MODULE_LIBS += \
libdl_android.so \
libm.so \
# Conscrypt APEX libraries
APEX_MODULE_LIBS += \
libjavacrypto.so \
# Android Neural Network API (NNAPI) APEX (native) libraries
APEX_MODULE_LIBS += \
libneuralnetworks.so \
# Conscrypt APEX JARs (Java libraries)
APEX_MODULE_LIBS += \
conscrypt.jar \
# An option to disable the check below, for local use since some build targets
# still may create these libraries in /system (b/129006418).
DISABLE_APEX_LIBS_ABSENCE_CHECK ?=