0001-enable-linux-unstable-deb-target.patch 1009 B

123456789101112131415161718192021222324252627282930313233
  1. From 22fe045deac0551720d7292022f443b22703f336 Mon Sep 17 00:00:00 2001
  2. From: Yaowei Zhou <yaowei.zhou@intel.com>
  3. Date: Thu, 20 Apr 2023 14:37:26 +0800
  4. Subject: [PATCH] Enable "linux:unstable_deb" build target when using the chromium minigbm
  5. Bug: N/A
  6. Change-Id: Ic37059be0f0719895acdba756292aed71820feba
  7. ---
  8. diff --git a/third_party/minigbm/BUILD.gn b/third_party/minigbm/BUILD.gn
  9. index 739e278..50bf5d8 100644
  10. --- a/third_party/minigbm/BUILD.gn
  11. +++ b/third_party/minigbm/BUILD.gn
  12. @@ -58,7 +58,7 @@
  13. }
  14. }
  15. - shared_library("minigbm") {
  16. + static_library("minigbm") {
  17. sources = [
  18. "src/amdgpu.c",
  19. "src/dri.c",
  20. @@ -89,8 +89,8 @@
  21. }
  22. # Clients need this to pick up the shared library correctly.
  23. - all_dependent_configs =
  24. - [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
  25. + #all_dependent_configs =
  26. + # [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
  27. }
  28. # This target is used for Chromecast build, which expects the resulting lib