summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-ui_views_BUILD.gn
blob: bf91543d99bce83a99725679ca44c48bedef2cc5 (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-03-09 20:04:49 UTC
+++ ui/views/BUILD.gn
@@ -430,7 +430,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 {
@@ -618,7 +618,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