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:
@@ -1121,10 +1121,6 @@ APEX_MODULE_LIBS += \
|
|||||||
libdl_android.so \
|
libdl_android.so \
|
||||||
libm.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
|
# An option to disable the check below, for local use since some build targets
|
||||||
# still may create these libraries in /system (b/129006418).
|
# still may create these libraries in /system (b/129006418).
|
||||||
DISABLE_APEX_LIBS_ABSENCE_CHECK ?=
|
DISABLE_APEX_LIBS_ABSENCE_CHECK ?=
|
||||||
|
Reference in New Issue
Block a user