diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-08-02 14:48:01 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-08-02 14:48:01 +0000 |
commit | 0f4bdb04fb4b803bbf19850c86cc9270d64a06b9 (patch) | |
tree | 7b49e6acf916ebd6d20d7136baf1e804c3366eeb /linker/linker_config_test.cpp | |
parent | 89f907cfe444cc0f78de683549ec1350da36e39e (diff) | |
parent | 30f2f053f27731e091923a162b91439ee667944f (diff) |
Merge "linker: Cleanup for Android's inclusive language guidance"
Diffstat (limited to 'linker/linker_config_test.cpp')
-rw-r--r-- | linker/linker_config_test.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/linker/linker_config_test.cpp b/linker/linker_config_test.cpp index 3caa4d47f..acdf64173 100644 --- a/linker/linker_config_test.cpp +++ b/linker/linker_config_test.cpp @@ -91,6 +91,8 @@ static const char* config_str = "namespace.vndk_in_system.permitted.paths = /system/${LIB}\n" "namespace.vndk_in_system.whitelisted = libz.so:libyuv.so\n" "namespace.vndk_in_system.whitelisted += libtinyxml2.so\n" + "namespace.vndk_in_system.allowed_libs = libfoo.so:libbar.so\n" + "namespace.vndk_in_system.allowed_libs += libtinyxml3.so\n" "\n"; // clang-format on @@ -215,9 +217,9 @@ static void run_linker_config_smoke_test(bool is_asan) { ASSERT_TRUE(ns_vndk_links[0].allow_all_shared_libs()); ASSERT_TRUE(ns_vndk_in_system != nullptr) << "vndk_in_system namespace was not found"; - ASSERT_EQ( - std::vector<std::string>({"libz.so", "libyuv.so", "libtinyxml2.so"}), - ns_vndk_in_system->whitelisted_libs()); + ASSERT_EQ(std::vector<std::string>({"libz.so", "libyuv.so", "libtinyxml2.so", "libfoo.so", + "libbar.so", "libtinyxml3.so"}), + ns_vndk_in_system->allowed_libs()); } TEST(linker_config, smoke) { |