Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

system-linkerconfig: Commit

system/linkerconfig


Commit MetaInfo

Révision37ce01db5fc49272dc29ed2d65f7700d8bce969b (tree)
l'heure2022-12-17 18:51:33
AuteurMauro Rossi <issor.oruam@gmai...>
CommiterMauro Rossi

Message de Log

Add "/vendor/${LIB}/hw" search path for non trebelized builds

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

Change Summary

Modification

--- a/contents/namespace/systemdefault.cc
+++ b/contents/namespace/systemdefault.cc
@@ -49,6 +49,7 @@ Namespace BuildSystemDefaultNamespace([[maybe_unused]] const Context& ctx) {
4949 }
5050 if (!is_fully_treblelized) {
5151 ns.AddSearchPath("/vendor/${LIB}", AsanPath::WITH_DATA_ASAN);
52+ ns.AddSearchPath("/vendor/${LIB}/hw", AsanPath::WITH_DATA_ASAN);
5253 ns.AddSearchPath("/odm/${LIB}", AsanPath::WITH_DATA_ASAN);
5354 }
5455
Afficher sur ancien navigateur de dépôt.