summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-media_base_BUILD.gn
blob: 2c8aea8fbb06d4a1a177df4e87b18d528c0dd842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- media/base/BUILD.gn.orig	2017-04-19 19:06:35 UTC
+++ media/base/BUILD.gn
@@ -305,7 +305,7 @@ target(link_target_type, "base") {
     allow_circular_includes_from += [ "//media/base/android" ]
   }
 
-  if (is_linux && use_x11) {
+  if ((is_linux || is_bsd) && use_x11) {
     configs += [
       "//build/config/linux:x11",
       "//build/config/linux:xext",
@@ -331,7 +331,7 @@ target(link_target_type, "base") {
     defines += [ "DISABLE_USER_INPUT_MONITOR" ]
   }
 
-  if (is_linux || is_win) {
+  if (is_linux || is_bsd || is_win) {
     sources += [
       "keyboard_event_counter.cc",
       "keyboard_event_counter.h",
OpenPOWER on IntegriCloud