summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_test_BUILD.gn
blob: 24704ade8bfe9fb4f2eb40b74634d54456c5ddff (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
--- content/test/BUILD.gn.orig	2016-12-01 23:02:13 UTC
+++ content/test/BUILD.gn
@@ -661,7 +661,7 @@ test("content_browsertests") {
     "../test/webui_resource_browsertest.cc",
   ]
 
-  if (is_android || is_linux || is_mac || is_win) {
+  if (is_android || is_linux || is_bsd || is_mac || is_win) {
     data = [
       "$root_out_dir/content_shell.pak",
       "data/",
@@ -1349,7 +1349,7 @@ test("content_unittests") {
     sources += [ "../browser/memory/memory_monitor_linux_unittest.cc" ]
   }
 
-  if (is_android || is_linux || is_mac || is_win) {
+  if (is_android || is_linux || is_bsd || is_mac || is_win) {
     data = [
       "$root_out_dir/content_shell.pak",
       "data/",
@@ -1534,7 +1534,7 @@ test("content_unittests") {
       "//ui/shell_dialogs:shell_dialogs",
     ]
 
-    if (is_linux || is_mac || is_win) {
+    if (is_linux || is_bsd || is_mac || is_win) {
       sources +=
           [ "../browser/media/capture/desktop_capture_device_unittest.cc" ]
       deps += [ "//third_party/webrtc/modules/desktop_capture" ]
@@ -1570,7 +1570,7 @@ test("content_unittests") {
     ]
   }
 
-  if (is_linux) {
+  if (is_linux || is_bsd) {
     if (use_dbus) {
       deps += [ "//dbus:test_support" ]
     }