summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-ui_views_BUILD.gn
blob: e4c762d2a0091640334b1dcc39ed7f03d6ed9f9e (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-06-05 19:03:30 UTC
+++ ui/views/BUILD.gn
@@ -452,7 +452,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 {
@@ -640,7 +640,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