OSDN Git Service
(root)
/
android-x86
/
system-linkerconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
532e216
)
Add "/vendor/${LIB}/hw" search path for non trebelized builds
r-x86
author
Mauro Rossi
<issor.oruam@gmail.com>
Sat, 17 Dec 2022 08:51:31 +0000
(09:51 +0100)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/contents/namespace/systemdefault.cc
b/contents/namespace/systemdefault.cc
index
a9bfdb1
..
506d869
100644
(file)
--- a/
contents/namespace/systemdefault.cc
+++ b/
contents/namespace/systemdefault.cc
@@
-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);
}