mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
Changelog: - https://github.com/electron/electron/releases/tag/v22.0.2 - https://github.com/electron/electron/releases/tag/v22.0.3 - https://github.com/electron/electron/releases/tag/v22.1.0 PR: 269194 Reported by: Yonas Yanfa <yonas.yanfa@gmail.com> Approved by: mikael (maintainer)
89 lines
2.9 KiB
Text
89 lines
2.9 KiB
Text
--- BUILD.gn.orig 2023-01-30 07:58:58 UTC
|
|
+++ BUILD.gn
|
|
@@ -59,7 +59,7 @@ declare_args() {
|
|
root_extra_deps = []
|
|
}
|
|
|
|
-if (is_official_build) {
|
|
+if (is_official_build && !is_bsd) {
|
|
# An official (maximally optimized!) component (optimized for build times)
|
|
# build doesn't make sense and usually doesn't work.
|
|
assert(!is_component_build)
|
|
@@ -89,7 +89,6 @@ group("gn_all") {
|
|
"//codelabs",
|
|
"//components:components_unittests",
|
|
"//components/gwp_asan:gwp_asan_unittests",
|
|
- "//infra/orchestrator:orchestrator_all",
|
|
"//net:net_unittests",
|
|
"//sandbox:sandbox_unittests",
|
|
"//services:services_unittests",
|
|
@@ -430,7 +429,7 @@ group("gn_all") {
|
|
]
|
|
}
|
|
|
|
- if (is_linux || is_chromeos || is_android) {
|
|
+ if ((is_linux && !is_bsd) || is_chromeos || is_android) {
|
|
deps += [
|
|
"//third_party/breakpad:breakpad_unittests",
|
|
"//third_party/breakpad:core-2-minidump",
|
|
@@ -632,6 +631,15 @@ group("gn_all") {
|
|
deps += [ "//gpu/tools/compositor_model_bench" ]
|
|
}
|
|
|
|
+ if (is_bsd) {
|
|
+ deps -= [
|
|
+ "//third_party/breakpad:dump_syms($host_toolchain)",
|
|
+ "//third_party/breakpad:microdump_stackwalk($host_toolchain)",
|
|
+ "//third_party/breakpad:minidump_dump($host_toolchain)",
|
|
+ "//third_party/breakpad:minidump_stackwalk($host_toolchain)",
|
|
+ ]
|
|
+ }
|
|
+
|
|
if (is_mac) {
|
|
deps += [
|
|
"//third_party/breakpad:crash_inspector",
|
|
@@ -680,7 +688,7 @@ group("gn_all") {
|
|
host_os == "win") {
|
|
deps += [ "//chrome/test/mini_installer:mini_installer_tests" ]
|
|
}
|
|
- } else if (!is_android && !is_ios && !is_fuchsia) {
|
|
+ } else if (!is_android && !is_ios && !is_fuchsia && !is_bsd) {
|
|
deps += [ "//third_party/breakpad:symupload($host_toolchain)" ]
|
|
}
|
|
|
|
@@ -1110,7 +1118,7 @@ if (!is_ios) {
|
|
]
|
|
}
|
|
|
|
- if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos) {
|
|
+ if (!is_chromeos_ash && !is_ios && !is_fuchsia && !is_android && !is_castos && !is_bsd) {
|
|
# WPT Webdriver tests runner
|
|
# chrome/test/chromedriver/test/run_webdriver_tests.py
|
|
script_test("webdriver_wpt_tests") {
|
|
@@ -1205,7 +1213,7 @@ if (!is_ios) {
|
|
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
|
|
}
|
|
|
|
- if (!is_win && !is_android) {
|
|
+ if (!is_win && !is_android && !is_bsd) {
|
|
data_deps +=
|
|
[ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
|
|
}
|
|
@@ -1214,7 +1222,7 @@ if (!is_ios) {
|
|
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
|
|
}
|
|
|
|
- if (is_linux || is_chromeos) {
|
|
+ if ((is_linux && !is_bsd) || is_chromeos) {
|
|
data_deps += [ "//third_party/breakpad:dump_syms($host_toolchain)" ]
|
|
}
|
|
|
|
@@ -1658,7 +1666,7 @@ group("chromium_builder_perf") {
|
|
data_deps += [ "//chrome/test:performance_browser_tests" ]
|
|
}
|
|
|
|
- if (!is_win) {
|
|
+ if (!is_win && !is_bsd) {
|
|
data_deps +=
|
|
[ "//third_party/breakpad:minidump_stackwalk($host_toolchain)" ]
|
|
}
|