summaryrefslogtreecommitdiff
path: root/www/chromium/patches/patch-BUILD_gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/patches/patch-BUILD_gn')
-rw-r--r--www/chromium/patches/patch-BUILD_gn73
1 files changed, 0 insertions, 73 deletions
diff --git a/www/chromium/patches/patch-BUILD_gn b/www/chromium/patches/patch-BUILD_gn
deleted file mode 100644
index 2c93c90..0000000
--- a/www/chromium/patches/patch-BUILD_gn
+++ /dev/null
@@ -1,73 +0,0 @@
1Index: BUILD.gn
2--- BUILD.gn.orig
3+++ BUILD.gn
4@@ -53,7 +53,7 @@ declare_args() {
5 root_extra_deps = []
6 }
7
8-if (is_official_build) {
9+if (is_official_build && !is_bsd) {
10 # An official (maximally optimized!) component (optimized for build times)
11 # build doesn't make sense and usually doesn't work.
12 assert(!is_component_build)
13@@ -452,7 +452,7 @@ group("gn_all") {
14 ]
15 }
16
17- if (is_linux || is_chromeos || is_android) {
18+ if ((is_linux && !is_bsd) || is_chromeos || is_android) {
19 deps += [
20 "//third_party/breakpad:breakpad_unittests",
21 "//third_party/breakpad:core-2-minidump",
22@@ -636,6 +636,15 @@ group("gn_all") {
23 }
24 }
25
26+ if (is_bsd) {
27+ deps -= [
28+ "//third_party/breakpad:dump_syms($host_toolchain)",
29+ "//third_party/breakpad:microdump_stackwalk($host_toolchain)",
30+ "//third_party/breakpad:minidump_dump($host_toolchain)",
31+ "//third_party/breakpad:minidump_stackwalk($host_toolchain)",
32+ ]
33+ }
34+
35 if (is_mac) {
36 deps += [
37 "//third_party/breakpad:crash_inspector",
38@@ -685,7 +694,7 @@ group("gn_all") {
39 host_os == "win") {
40 deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
41 }
42- } else if (!is_android && !is_ios && !is_fuchsia) {
43+ } else if (!is_android && !is_ios && !is_fuchsia && !is_bsd) {
44 deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
45 }
46
47@@ -1147,7 +1156,7 @@ if (!is_ios) {
48 data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
49 }
50
51- if (!is_win && !is_android) {
52+ if (!is_win && !is_android && !is_bsd) {
53 data_deps +=
54 [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
55 }
56@@ -1156,7 +1165,7 @@ if (!is_ios) {
57 data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
58 }
59
60- if (is_linux || is_chromeos) {
61+ if ((is_linux && !is_bsd) || is_chromeos) {
62 data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
63 }
64
65@@ -1531,7 +1540,7 @@ group("chromium_builder_perf") {
66
67 if (is_win) {
68 data_deps += [ "//chrome/installer/mini_installer:mini_installer" ]
69- } else {
70+ } else if (!is_bsd) {
71 data_deps +=
72 [ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
73 }