summaryrefslogtreecommitdiff
path: root/open_libraries/VtsVndkOpenLibrariesTest.py
diff options
context:
space:
mode:
Diffstat (limited to 'open_libraries/VtsVndkOpenLibrariesTest.py')
-rw-r--r--open_libraries/VtsVndkOpenLibrariesTest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/open_libraries/VtsVndkOpenLibrariesTest.py b/open_libraries/VtsVndkOpenLibrariesTest.py
index 5a7bc33..a6b066d 100644
--- a/open_libraries/VtsVndkOpenLibrariesTest.py
+++ b/open_libraries/VtsVndkOpenLibrariesTest.py
@@ -120,7 +120,8 @@ class VtsVndkOpenLibrariesTest(base_test.BaseTestClass):
x.startswith("/vendor/")))
def _IsDisallowedSystemLib(lib_path):
- return (lib_path.startswith("/system/") and
+ return ((lib_path.startswith("/system/") or
+ lib_path.startswith("/apex/")) and
lib_path.endswith(".so") and
path_utils.TargetBaseName(lib_path) not in allowed_libs)