summaryrefslogtreecommitdiff
path: root/libnativeloader/Android.bp
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2024-02-13 16:38:49 +0000
committer Martin Stjernholm <mast@google.com> 2024-02-20 17:43:35 +0000
commit8701bf5f321ccad60ee948833fc3208ae6ea51df (patch)
tree8b0137a386b01bf003b9dccaad2c218542928dc5 /libnativeloader/Android.bp
parent9414a6383eb60ad0c2b0332e7e066a84413b07f9 (diff)
Separate handling of a single path and a list of paths when determining
API domains. Becomes necessary in a later CL where it gets used on more or less arbitrary paths where we shouldn't treat colons specially. The old code crashed with a fatal if a list of paths had both vendor and product directories in it. This changes that to a more appropriate error that gets propagated to the java level and becomes an exception where the classloader is created. Test: atest libnativeloader_test Bug: 237577392 Change-Id: I783af87a03de18c65fadcd1fd5a71423ec0c786b
Diffstat (limited to 'libnativeloader/Android.bp')
-rw-r--r--libnativeloader/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnativeloader/Android.bp b/libnativeloader/Android.bp
index 16449ac745..e9c26c592c 100644
--- a/libnativeloader/Android.bp
+++ b/libnativeloader/Android.bp
@@ -158,6 +158,7 @@ art_cc_test {
"native_loader_test.cpp",
],
srcs: [
+ "library_namespaces_test.cpp",
"native_loader_api_test.c",
"native_loader_test.cpp",
"open_system_library.cpp",