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

Commit 713878d3 authored by Jiyong Park's avatar Jiyong Park
Browse files

Test the link to the sphal namespace when only needed

The link to the spahal namespace is not done when there is no lib in
vendor/etc/public.libraries.txt

Bug: 130388701
Test: libnativeloader_test on cuttlefish
Change-Id: I38f2d01305bca5ea942573484a0e0b9b44b1c0be
parent 44e34383
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -336,7 +336,7 @@ class NativeLoaderTest_Create : public NativeLoaderTest {
  std::string expected_parent_namespace = "platform";
  bool expected_link_with_platform_ns = true;
  bool expected_link_with_runtime_ns = true;
  bool expected_link_with_sphal_ns = true;
  bool expected_link_with_sphal_ns = !vendor_public_libraries().empty();
  bool expected_link_with_vndk_ns = false;
  bool expected_link_with_default_ns = false;
  std::string expected_shared_libs_to_platform_ns = default_public_libraries();