forked from openkylin/platform_build
Use apex_available property
Use apex_available property to prevent modules that are only for the NN apex from being used outside of the APEX. Bug: 128708192 Bug: 133140750 Test: m Change-Id: I57fe857d99088ef08e065dd2a3fc5a9389b6eb0f
This commit is contained in:
parent
a4226d1942
commit
be2aed5529
|
@ -1121,10 +1121,6 @@ APEX_MODULE_LIBS += \
|
|||
libdl_android.so \
|
||||
libm.so \
|
||||
|
||||
# Android Neural Network API (NNAPI) APEX (native) libraries
|
||||
APEX_MODULE_LIBS += \
|
||||
libneuralnetworks.so \
|
||||
|
||||
# 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 ?=
|
||||
|
|
Loading…
Reference in New Issue