pkgsrc-wip/chromium/patches/patch-components_crash_core...

34 lines
1.2 KiB
Plaintext

$NetBSD$
--- components/crash/core/common/BUILD.gn.orig 2020-06-25 09:31:26.000000000 +0000
+++ components/crash/core/common/BUILD.gn
@@ -7,7 +7,7 @@ import("//components/gwp_asan/buildflags
declare_args() {
# If set to true, this will stub out and disable the entire crash key system.
- use_crash_key_stubs = is_fuchsia
+ use_crash_key_stubs = is_fuchsia || is_bsd
}
group("common") {
@@ -108,7 +108,9 @@ target(crash_key_target_type, "crash_key
]
}
- deps += [ "//third_party/breakpad:client" ]
+ if (!is_bsd) {
+ deps += [ "//third_party/breakpad:client" ]
+ }
if (use_combined_annotations) {
public_deps += [ "//third_party/crashpad/crashpad/client" ]
}
@@ -184,7 +186,7 @@ source_set("unit_tests") {
sources += [ "crash_key_breakpad_ios_unittest.cc" ]
deps += [ "//third_party/breakpad:client" ]
include_dirs = [ "//third_party/breakpad/breakpad/src/" ]
- } else if (!is_mac && !is_win && !is_fuchsia && !is_android) {
+ } else if (!is_mac && !is_win && !is_fuchsia && !is_android && !is_bsd) {
include_dirs = [ "//third_party/breakpad/breakpad/src/" ]
sources += [ "crash_key_breakpad_unittest.cc" ]
}