OSDN Git Service

Add "/vendor/${LIB}/hw" search path for non trebelized builds r-x86
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 17 Dec 2022 08:51:31 +0000 (09:51 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 17 Dec 2022 09:51:33 +0000 (10:51 +0100)
Required by libvulkan loader in legacy mode, when (!is_fully_trebelized) is true,
or vulkan HAL modules will not work with android-x86 non trebelized builds.

Based on suggestion by Micheal Goffioul

Change-Id: Iabb29367b46a822f7ef854da4f41b8252bd088b0

contents/namespace/systemdefault.cc

index a9bfdb1..506d869 100644 (file)
@@ -49,6 +49,7 @@ Namespace BuildSystemDefaultNamespace([[maybe_unused]] const Context& ctx) {
   }
   if (!is_fully_treblelized) {
     ns.AddSearchPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN);
+    ns.AddSearchPath("/vendor/${LIB}/hw", AsanPath::WITH_DATA_ASAN);
     ns.AddSearchPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN);
   }