0044-BUILD.gn-remove-dependency-to-breakpad.patch 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. From b8a12227091a33ee987c8392df8a2f1042bf5d2d Mon Sep 17 00:00:00 2001
  2. From: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  3. Date: Fri, 15 Jul 2022 07:12:43 +0000
  4. Subject: [PATCH 44/68] BUILD.gn: remove dependency to breakpad
  5. Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
  6. ---
  7. BUILD.gn | 36 ------------------------------------
  8. 1 file changed, 36 deletions(-)
  9. diff --git a/BUILD.gn b/BUILD.gn
  10. index 6d9fd624b176..847b10c95e9a 100644
  11. --- a/BUILD.gn
  12. +++ b/BUILD.gn
  13. @@ -453,10 +453,6 @@ group("gn_all") {
  14. if (is_linux || is_chromeos || is_android) {
  15. deps += [
  16. - "//third_party/breakpad:breakpad_unittests",
  17. - "//third_party/breakpad:core-2-minidump",
  18. - "//third_party/breakpad:generate_test_dump",
  19. - "//third_party/breakpad:minidump-2-core",
  20. "//tools/dump_process_memory:dump_process",
  21. "//tools/memory/partition_allocator:all",
  22. ]
  23. @@ -609,10 +605,6 @@ group("gn_all") {
  24. "//mojo:mojo_perftests",
  25. "//services/service_manager/public/cpp",
  26. "//testing/gmock:gmock_main",
  27. - "//third_party/breakpad:dump_syms($host_toolchain)",
  28. - "//third_party/breakpad:microdump_stackwalk($host_toolchain)",
  29. - "//third_party/breakpad:minidump_dump($host_toolchain)",
  30. - "//third_party/breakpad:minidump_stackwalk($host_toolchain)",
  31. ]
  32. if (!is_android) {
  33. @@ -638,9 +630,6 @@ group("gn_all") {
  34. if (is_mac) {
  35. deps += [
  36. - "//third_party/breakpad:crash_inspector",
  37. - "//third_party/breakpad:dump_syms",
  38. -
  39. # The following are accessibility API tools.
  40. "//tools/accessibility/inspect:ax_dump_events",
  41. "//tools/accessibility/inspect:ax_dump_tree",
  42. @@ -684,8 +673,6 @@ group("gn_all") {
  43. host_os == "win") {
  44. deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
  45. }
  46. - } else if (!is_android && !is_ios && !is_fuchsia) {
  47. - deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
  48. }
  49. if (is_chromecast) {
  50. @@ -956,7 +943,6 @@ if (is_win) {
  51. "//net:net_unittests",
  52. "//printing:printing_unittests",
  53. "//sql:sql_unittests",
  54. - "//third_party/breakpad:symupload($host_toolchain)",
  55. "//ui/base:ui_base_unittests",
  56. "//ui/gfx:gfx_unittests",
  57. "//ui/touch_selection:ui_touch_selection_unittests",
  58. @@ -983,7 +969,6 @@ if (is_chromeos_ash) {
  59. "//ppapi/examples/video_decode",
  60. "//sandbox/linux:chrome_sandbox",
  61. "//sandbox/linux:sandbox_linux_unittests",
  62. - "//third_party/breakpad:minidump_stackwalk($host_toolchain)",
  63. "//third_party/dawn/src/dawn/tests:dawn_end2end_tests",
  64. "//third_party/dawn/src/dawn/tests:dawn_unittests",
  65. @@ -1147,30 +1132,12 @@ if (!is_ios) {
  66. if (is_android) {
  67. data_deps += [
  68. - "//third_party/breakpad:breakpad_unittests",
  69. - "//third_party/breakpad:dump_syms",
  70. - "//third_party/breakpad:microdump_stackwalk",
  71. - "//third_party/breakpad:minidump_dump",
  72. - "//third_party/breakpad:minidump_stackwalk",
  73. - "//third_party/breakpad:symupload",
  74. "//tools/android/forwarder2",
  75. ]
  76. } else {
  77. data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
  78. }
  79. - if (!is_win && !is_android) {
  80. - data_deps +=
  81. - [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
  82. - }
  83. -
  84. - if (is_mac) {
  85. - data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
  86. - }
  87. -
  88. - if (is_linux || is_chromeos) {
  89. - data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
  90. - }
  91. if (is_fuchsia) {
  92. data_deps += [
  93. @@ -1565,9 +1532,6 @@ group("chromium_builder_perf") {
  94. if (is_win) {
  95. data_deps += [ "//chrome/installer/mini_installer:mini_installer" ]
  96. - } else {
  97. - data_deps +=
  98. - [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
  99. }
  100. if (is_win || is_android) {
  101. data_deps += [
  102. --
  103. 2.30.2