Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be2aed55 authored by Jiyong Park's avatar Jiyong Park
Browse files

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
parent a4226d19
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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 ?=