summaryrefslogtreecommitdiffstats
path: root/www/chromium/files/patch-device_usb_BUILD.gn
blob: b48d215b1fe46c05e51f53191d4593ccfb72dacb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- device/usb/BUILD.gn.orig	2017-06-16 17:45:56.630063000 +0200
+++ device/usb/BUILD.gn	2017-06-16 17:59:22.070474000 +0200
@@ -97,10 +97,17 @@
     libs = [ "setupapi.lib" ]
   }
 
-  if (is_android || is_chromeos || is_linux) {
+  if (is_android || is_chromeos || (is_linux && !is_bsd)) {
     sources += [
       "usb_device_handle_usbfs.cc",
       "usb_device_handle_usbfs.h",
+    ]
+  }
+
+  if (is_bsd) {
+    sources -= [
+      "usb_device_linux.cc",
+      "usb_device_linux.h",
     ]
   }
 
OpenPOWER on IntegriCloud