summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-services_device_usb_BUILD_gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/patch-services_device_usb_BUILD_gn')
-rw-r--r--www/chromium-uc/patches/patch-services_device_usb_BUILD_gn41
1 files changed, 0 insertions, 41 deletions
diff --git a/www/chromium-uc/patches/patch-services_device_usb_BUILD_gn b/www/chromium-uc/patches/patch-services_device_usb_BUILD_gn
deleted file mode 100644
index d698bcd..0000000
--- a/www/chromium-uc/patches/patch-services_device_usb_BUILD_gn
+++ /dev/null
@@ -1,41 +0,0 @@
1$OpenBSD: patch-services_device_usb_BUILD_gn,v 1.8 2021/11/16 11:28:47 robert Exp $
2
3Index: services/device/usb/BUILD.gn
4--- services/device/usb/BUILD.gn.orig
5+++ services/device/usb/BUILD.gn
6@@ -102,15 +102,17 @@ static_library("usb") {
7 deps += [ "//third_party/re2" ]
8 }
9
10- if (is_mac) {
11- sources += [
12- "usb_device_handle_mac.cc",
13- "usb_device_handle_mac.h",
14- "usb_device_mac.cc",
15- "usb_device_mac.h",
16- "usb_service_mac.cc",
17- "usb_service_mac.h",
18- ]
19+ if (is_mac || is_openbsd) {
20+ if (is_mac) {
21+ sources += [
22+ "usb_device_handle_mac.cc",
23+ "usb_device_handle_mac.h",
24+ "usb_device_mac.cc",
25+ "usb_device_mac.h",
26+ "usb_service_mac.cc",
27+ "usb_service_mac.h",
28+ ]
29+ }
30
31 # These sources and deps are required for libusb.
32 # TODO(https://crbug.com/1096743) Remove these sources.
33@@ -151,7 +153,7 @@ static_library("usb") {
34 deps += [ "//device/udev_linux" ]
35 }
36
37- if (is_android || is_chromeos || is_linux) {
38+ if (is_android || is_chromeos || is_linux && !is_openbsd) {
39 sources += [
40 "usb_device_handle_usbfs.cc",
41 "usb_device_handle_usbfs.h",