aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-components_crash_content_browser_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-components_crash_content_browser_BUILD.gn')
-rw-r--r--devel/electron13/files/patch-components_crash_content_browser_BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-components_crash_content_browser_BUILD.gn b/devel/electron13/files/patch-components_crash_content_browser_BUILD.gn
new file mode 100644
index 000000000000..f6b50a65e493
--- /dev/null
+++ b/devel/electron13/files/patch-components_crash_content_browser_BUILD.gn
@@ -0,0 +1,20 @@
+--- components/crash/content/browser/BUILD.gn.orig 2021-07-15 19:13:37 UTC
++++ components/crash/content/browser/BUILD.gn
+@@ -37,7 +37,7 @@ source_set("browser") {
+
+ # This is not in the GYP build but this target includes breakpad client
+ # headers, so add the dependency here.
+- if ((is_posix && !is_ios) || is_fuchsia) {
++ if ((is_posix && !is_ios && !is_bsd) || is_fuchsia) {
+ configs += [ "//third_party/breakpad:client_config" ]
+ public_configs = [ "//third_party/breakpad:client_config" ]
+ }
+@@ -59,7 +59,7 @@ source_set("browser") {
+ "//components/crash/android:jni_headers",
+ "//mojo/public/cpp/bindings",
+ ]
+- } else {
++ } else if (!is_bsd) {
+ deps += [ "//third_party/breakpad:client" ]
+ }
+ }