summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-media_cast_BUILD.gn
blob: a6f66f17ec5334a70d5570a612ed04f6372a8e16 (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
--- media/cast/BUILD.gn.orig	2017-06-05 19:03:08 UTC
+++ media/cast/BUILD.gn
@@ -361,7 +361,7 @@ test("cast_unittests") {
   }
 }
 
-if (is_win || is_mac || (is_linux && !is_chromeos)) {
+if (is_win || is_mac || (is_linux && !is_chromeos) || is_bsd) {
   # This is a target for the collection of cast development tools.  They are
   # not built/linked into the Chromium browser.
   group("testing_tools") {
@@ -415,7 +415,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
       "//ui/gfx/geometry",
     ]
 
-    if (is_linux && !is_chromeos && use_x11) {
+    if ((is_linux || is_bsd) && !is_chromeos && use_x11) {
       sources += [
         "test/linux_output_window.cc",
         "test/linux_output_window.h",
@@ -518,7 +518,7 @@ if (is_win || is_mac || (is_linux && !is_chromeos)) {
   }
 }
 
-if (is_linux && !is_chromeos) {
+if ((is_linux || is_bsd) && !is_chromeos) {
   test("tap_proxy") {
     sources = [
       "test/utility/tap_proxy.cc",
OpenPOWER on IntegriCloud