blob: 84201e8fd7e39f81124f3b6ac2759f4b5f9232e2 (
plain) (
blame)
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
|
--- components/crash/content/app/BUILD.gn.orig 2019-03-11 22:00:56 UTC
+++ components/crash/content/app/BUILD.gn
@@ -36,12 +36,12 @@ static_library("app") {
sources += [ "crashpad.cc" ]
}
- if (is_android || (is_linux && !is_chromeos)) {
+ if (is_android || (is_linux && !is_chromeos && !is_bsd)) {
set_sources_assignment_filter([])
sources += [ "crashpad_linux.cc" ]
}
- if (is_linux) {
+ if (is_linux && !is_bsd) {
sources += [
"breakpad_linux.cc",
"breakpad_linux.h",
@@ -79,7 +79,10 @@ static_library("app") {
"//third_party/crashpad/crashpad/snapshot",
]
- if (is_linux) {
+ if (is_bsd) {
+ deps -= [ "//third_party/crashpad/crashpad/snapshot" ]
+ }
+ if (is_linux && !is_bsd) {
deps += [ "//third_party/breakpad:client" ]
}
}
|