summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-ui_views_BUILD.gn
blob: e1e373e4aaf212e9d606feb7b3b0d916f1c90b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ui/views/BUILD.gn.orig	2017-04-19 19:06:54 UTC
+++ ui/views/BUILD.gn
@@ -457,7 +457,7 @@ component("views") {
   if (use_x11 && !is_chromeos) {
     deps += [ "//ui/display/util" ]
   }
-  if (is_linux && !is_chromeos) {
+  if ((is_linux || is_bsd) && !is_chromeos) {
     sources -= [ "window/window_button_order_provider.cc" ]
     deps += [ "//ui/shell_dialogs" ]
   } else {
@@ -645,7 +645,7 @@ component("views") {
           "widget/desktop_aura/desktop_window_tree_host_ozone.cc",
         ]
       }
-      if (is_linux) {
+      if (is_linux || is_bsd) {
         sources += [ "style/platform_style_linux.cc" ]
       }
     }
OpenPOWER on IntegriCloud