aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_shell_BUILD.gn
blob: 99b5375d1c04e634722cbfaad67dc7d2f7cc742c (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- content/shell/BUILD.gn.orig	2021-04-14 18:41:03 UTC
+++ content/shell/BUILD.gn
@@ -87,7 +87,7 @@ static_library("content_shell_app") {
       "//content/web_test:web_test_renderer",
     ]
   }
-  if (!is_fuchsia) {
+  if (!is_fuchsia && !is_bsd) {
     deps += [
       "//components/crash/core/app",
       "//components/crash/core/app:test_support",
@@ -268,7 +268,7 @@ static_library("content_shell_lib") {
 
   if (is_fuchsia) {
     deps += [ "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.ui.policy" ]
-  } else {
+  } else if (!is_bsd) {
     deps += [
       "//components/crash/content/browser",
       "//components/crash/core/app",
@@ -522,7 +522,7 @@ if (is_android) {
       }
     }
 
-    if (is_win || is_linux || is_chromeos) {
+    if ((is_win || is_linux || is_chromeos) && !is_bsd) {
       data_deps +=
           [ "//third_party/crashpad/crashpad/handler:crashpad_handler" ]
     }
@@ -808,7 +808,7 @@ group("content_shell_crash_test") {
       mac_bin_path + "otool-classic",
     ]
   }
-  if (is_posix) {
+  if (is_posix && !is_bsd) {
     data += [
       "//components/crash/content/tools/generate_breakpad_symbols.py",
       "//components/crash/content/tools/dmp2minidump.py",
@@ -817,7 +817,7 @@ group("content_shell_crash_test") {
   if (is_win) {
     data_deps += [ "//build/win:copy_cdb_to_output" ]
   }
-  if (is_posix) {
+  if (is_posix && !is_bsd) {
     data_deps += [
       "//third_party/breakpad:dump_syms",
       "//third_party/breakpad:minidump_stackwalk",