From 9c924e89e5f52da9faadd1e4e60c73eaed6bc9d1 Mon Sep 17 00:00:00 2001 From: Brad Stenning Date: Mon, 11 Oct 2021 19:09:00 -0700 Subject: Add support to place shared libraries after the dex path This allows for a shared library to overriden by content in the dex path Bug: 179429740 Test: m test-art-host-gtest-art_runtime_tests32 Change-Id: I5f69c7bf32b7bd389eff8bdbb21616ba89ed9e87 --- runtime/hidden_api_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/hidden_api_test.cc') diff --git a/runtime/hidden_api_test.cc b/runtime/hidden_api_test.cc index 7cec10c173..f5cd15ef4f 100644 --- a/runtime/hidden_api_test.cc +++ b/runtime/hidden_api_test.cc @@ -82,7 +82,8 @@ static bool LoadDexFiles(const std::string& path, MakeNonOwningPointerVector(*dex_files), h_class, /* parent_loader= */ ScopedNullHandle(), - /* shared_libraries= */ ScopedNullHandle>())); + /* shared_libraries= */ ScopedNullHandle>(), + /* shared_libraries_after= */ ScopedNullHandle>())); for (const auto& dex_file : *dex_files) { linker->RegisterDexFile(*dex_file.get(), h_loader.Get()); } -- cgit v1.2.3-59-g8ed1b