summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2019-12-02 14:12:49 +0900
committer Jiyong Park <jiyong@google.com> 2019-12-20 13:18:27 +0900
commitbe2aed5529ba84b480493b8df89f52fd5a0feae7 (patch)
tree7feecc07ca45d2c2544d8a1010c5159686f21ecc
parenta4226d1942a6311252b7f583693aef1c3871cf23 (diff)
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
-rw-r--r--core/main.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/main.mk b/core/main.mk
index 37a0b98c4f..ad146717be 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -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 ?=