summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_shell_BUILD.gn
blob: 6b4a3928ef91b4d87c2b1dcf195370145ac5893f (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
--- content/shell/BUILD.gn.orig	2020-07-07 21:58:16 UTC
+++ content/shell/BUILD.gn
@@ -227,7 +227,7 @@ static_library("content_shell_app") {
     "//content/public/app",
     "//v8",
   ]
-  if (!is_fuchsia) {
+  if (!is_fuchsia && !is_bsd) {
     deps += [
       "//components/crash/core/app",
       "//components/crash/core/app:test_support",
@@ -495,6 +495,13 @@ static_library("content_shell_lib") {
     ]
     deps += [ "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.ui.policy" ]
   }
+  if (is_bsd) {
+    deps -= [
+      "//components/crash/content/browser",
+      "//components/crash/core/app",
+      "//components/crash/core/app:test_support",
+    ]
+  }
 
   if (enable_plugins) {
     deps += [
@@ -1070,7 +1077,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",