blob: d4f9432f605c271be03ce34909948d6888c438f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$OpenBSD: patch-components_crash_content_browser_BUILD_gn,v 1.16 2021/09/01 16:54:39 robert Exp $
Index: components/crash/content/browser/BUILD.gn
--- components/crash/content/browser/BUILD.gn.orig
+++ components/crash/content/browser/BUILD.gn
@@ -21,7 +21,7 @@ source_set("browser") {
"//content/public/common",
]
- if (is_linux || is_chromeos || is_android) {
+ if ((is_linux && !is_openbsd) || is_chromeos || is_android) {
# Want this file on both Linux and Android.
sources += [
"crash_handler_host_linux.cc",
@@ -37,7 +37,7 @@ source_set("browser") {
# This is not in the GYP build but this target includes breakpad client
# headers, so add the dependency here.
- if ((is_posix && !is_ios) || is_fuchsia) {
+ if ((is_posix && !is_ios && !is_openbsd) || is_fuchsia) {
configs += [ "//third_party/breakpad:client_config" ]
public_configs = [ "//third_party/breakpad:client_config" ]
}
@@ -59,7 +59,7 @@ source_set("browser") {
"//components/crash/android:jni_headers",
"//mojo/public/cpp/bindings",
]
- } else {
+ } else if (!is_openbsd) {
deps += [ "//third_party/breakpad:client" ]
}
}
|