aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn
blob: 527c7a8642cd19b0f028f6e3e90b9ffeef395a59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- chrome/browser/extensions/BUILD.gn.orig	2016-10-06 04:02:11.000000000 +0300
+++ chrome/browser/extensions/BUILD.gn	2016-10-13 05:50:49.572236000 +0300
@@ -186,7 +186,7 @@
     sources -= [ "global_shortcut_listener_ozone.cc" ]
   }
 
-  if (is_linux) {
+  if (is_linux || is_bsd) {
     deps += [ "//build/linux:fontconfig" ]
 
     if (use_dbus) {
@@ -252,6 +252,12 @@
     defines += [ "ENABLE_HOTWORDING" ]
   }
 
+  if (is_bsd) {
+    sources -= [
+      "api/image_writer_private/removable_storage_provider_linux.cc",
+    ]
+  }
+
   if (enable_service_discovery) {
     sources += rebase_path(
             gypi_values.chrome_browser_extensions_service_discovery_sources,