diff options
Diffstat (limited to 'devel/electron7/files/patch-components_crash_content_browser_BUILD.gn')
-rw-r--r-- | devel/electron7/files/patch-components_crash_content_browser_BUILD.gn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-components_crash_content_browser_BUILD.gn b/devel/electron7/files/patch-components_crash_content_browser_BUILD.gn new file mode 100644 index 000000000000..e72e55545eda --- /dev/null +++ b/devel/electron7/files/patch-components_crash_content_browser_BUILD.gn @@ -0,0 +1,27 @@ +--- components/crash/content/browser/BUILD.gn.orig 2019-12-12 12:39:29 UTC ++++ components/crash/content/browser/BUILD.gn +@@ -28,7 +28,7 @@ source_set("browser") { + "//content/public/common", + ] + +- if (is_linux || is_android) { ++ if ((is_linux && !is_bsd) || is_android) { + set_sources_assignment_filter([]) + + # Want this file on both Linux and Android. +@@ -42,13 +42,13 @@ source_set("browser") { + deps += [ "//third_party/crashpad/crashpad/client" ] + } + +- if (!is_android) { ++ if (!is_android && !is_bsd) { + deps += [ "//third_party/breakpad:client" ] + } + + # 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" ] + } |