ports/devel/electron4/files/patch-components_crash_content_browser_BUILD.gn
Luca Pizzamiglio 2f40d531c4 devel/electron4: Add electron 4.2.2
Finally, after a long wait, an electron port for FreeBSD lands in the
portstree.

A huge thanks to everyone contributed to this huge effort and to the
maintainer that is willing to take the burden of the maintainership!
2019-05-28 09:12:02 +00:00

23 lines
875 B
Text

--- components/crash/content/browser/BUILD.gn.orig 2019-03-15 06:37:13 UTC
+++ components/crash/content/browser/BUILD.gn
@@ -26,10 +26,9 @@ source_set("browser") {
"//components/crash/content/app",
"//content/public/browser",
"//content/public/common",
- "//third_party/breakpad:client",
]
- if (is_linux || is_android) {
+ if ((is_linux && !is_bsd) || is_android) {
set_sources_assignment_filter([])
# Want this file on both Linux and Android.
@@ -45,7 +44,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" ]
}