summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_extensions_BUILD.gn
blob: d0da69e3bfeb32ee6c1417291d3370423efb8c53 (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	2017-01-26 00:49:08 UTC
+++ chrome/browser/extensions/BUILD.gn
@@ -1024,7 +1024,7 @@ static_library("extensions") {
     sources -= [ "global_shortcut_listener_ozone.cc" ]
   }
 
-  if (is_linux) {
+  if (is_linux || is_bsd) {
     deps += [ "//build/linux:fontconfig" ]
 
     if (use_dbus) {
@@ -1115,6 +1115,12 @@ static_library("extensions") {
     defines += [ "ENABLE_HOTWORDING" ]
   }
 
+  if (is_bsd) {
+    sources -= [
+      "api/image_writer_private/removable_storage_provider_linux.cc",
+    ]
+  }
+
   if (enable_service_discovery) {
     sources += [
       "api/gcd_private/gcd_private_api.cc",