mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
89 lines
3.2 KiB
Text
89 lines
3.2 KiB
Text
--- BUILD.gn.orig 2024-08-26 12:06:38 UTC
|
|
+++ BUILD.gn
|
|
@@ -66,7 +66,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)
|
|
@@ -98,7 +98,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",
|
|
@@ -431,7 +430,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",
|
|
@@ -626,6 +625,15 @@ group("gn_all") {
|
|
}
|
|
}
|
|
|
|
+ if (is_bsd) {
|
|
+ deps -= [
|
|
+ "//third_party/breakpad:dump_syms($host_system_allocator_toolchain)",
|
|
+ "//third_party/breakpad:microdump_stackwalk($host_system_allocator_toolchain)",
|
|
+ "//third_party/breakpad:minidump_dump($host_system_allocator_toolchain)",
|
|
+ "//third_party/breakpad:minidump_stackwalk($host_system_allocator_toolchain)",
|
|
+ ]
|
|
+ }
|
|
+
|
|
if (is_mac) {
|
|
deps += [
|
|
"//third_party/breakpad:dump_syms($host_system_allocator_toolchain)",
|
|
@@ -674,7 +682,7 @@ group("gn_all") {
|
|
}
|
|
}
|
|
|
|
- if (!is_fuchsia) {
|
|
+ if (!is_fuchsia && !is_bsd) {
|
|
# The official builders use this binary from the default toolchain's
|
|
# output directory after building in order to upload the symbols of that
|
|
# binary. They build the binary like `ninja symupload` which requires the
|
|
@@ -1124,7 +1132,7 @@ if (use_blink && !is_cronet_build) {
|
|
]
|
|
}
|
|
|
|
- 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) {
|
|
script_test("chrome_wpt_tests") {
|
|
script = "//third_party/blink/tools/run_wpt_tests.py"
|
|
args = [
|
|
@@ -1221,7 +1229,7 @@ if (use_blink && !is_cronet_build) {
|
|
data_deps += [ "//content/web_test:web_test_common_mojom_js_data_deps" ]
|
|
}
|
|
|
|
- if (!is_win && !is_android) {
|
|
+ if (!is_win && !is_android && !is_bsd) {
|
|
# Using the default toolchain for this tool, as it's run during tests not
|
|
# during the build. This places a symlink in the root_build_dir for scrips
|
|
# to use.
|
|
@@ -1235,7 +1243,7 @@ if (use_blink && !is_cronet_build) {
|
|
data_deps += [ "//third_party/breakpad:dump_syms" ]
|
|
}
|
|
|
|
- if (is_linux || is_chromeos) {
|
|
+ if ((is_linux && !is_bsd) || is_chromeos) {
|
|
# Using the default toolchain for this tool, as it's run during tests not
|
|
# during the build. This places a symlink in the root_build_dir for scrips
|
|
# to use.
|
|
@@ -1702,7 +1710,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_system_allocator_toolchain)" ]
|
|
}
|
|
}
|