diff options
Diffstat (limited to 'devel/electron4/files/patch-electron_BUILD.gn')
-rw-r--r-- | devel/electron4/files/patch-electron_BUILD.gn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/electron4/files/patch-electron_BUILD.gn b/devel/electron4/files/patch-electron_BUILD.gn new file mode 100644 index 000000000000..d0b9a40cf62a --- /dev/null +++ b/devel/electron4/files/patch-electron_BUILD.gn @@ -0,0 +1,27 @@ +--- electron/BUILD.gn.orig 2019-07-19 22:22:11 UTC ++++ electron/BUILD.gn +@@ -308,6 +308,15 @@ static_library("electron_lib") { + "//extensions/common/url_pattern.h", + ] + ++ if (is_bsd) { ++ sources -= [ ++ "atom/common/crash_reporter/crash_reporter_linux.cc", ++ "atom/common/crash_reporter/crash_reporter_linux.h", ++ "atom/common/crash_reporter/linux/crash_dump_handler.cc", ++ "atom/common/crash_reporter/linux/crash_dump_handler.h", ++ ] ++ } ++ + if (is_component_build) { + defines += [ "NODE_SHARED_MODE" ] + } +@@ -377,7 +386,7 @@ static_library("electron_lib") { + sources += filenames.lib_sources_win + libs += [ "dwmapi.lib" ] + } +- if (is_linux || is_win) { ++ if ((is_linux && !is_bsd) || is_win) { + deps += [ "//third_party/breakpad:client" ] + include_dirs += [ "//third_party/breakpad" ] + } |