mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
Changes: https://github.com/electron/electron/releases/tag/v4.2.7 Changes: https://github.com/electron/electron/releases/tag/v4.2.8 Submitted by: maintainer
27 lines
853 B
Text
27 lines
853 B
Text
--- 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" ]
|
|
}
|