aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-services_device_usb_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-services_device_usb_BUILD.gn')
-rw-r--r--devel/electron33/files/patch-services_device_usb_BUILD.gn34
1 files changed, 0 insertions, 34 deletions
diff --git a/devel/electron33/files/patch-services_device_usb_BUILD.gn b/devel/electron33/files/patch-services_device_usb_BUILD.gn
deleted file mode 100644
index 563c6877e300..000000000000
--- a/devel/electron33/files/patch-services_device_usb_BUILD.gn
+++ /dev/null
@@ -1,34 +0,0 @@
---- services/device/usb/BUILD.gn.orig 2024-08-14 20:55:10 UTC
-+++ services/device/usb/BUILD.gn
-@@ -91,7 +91,7 @@ static_library("usb") {
- deps += [ "//third_party/re2" ]
- }
-
-- if (is_mac) {
-+ if (is_mac || is_openbsd) {
- # These sources and deps are required for libusb.
- # TODO(crbug.com/40136337) Remove these sources.
- sources += [
-@@ -114,6 +114,13 @@ static_library("usb") {
- deps += [ "//third_party/libusb" ]
- }
-
-+ if (is_freebsd) {
-+ sources += [
-+ "usb_service_fake.cc",
-+ "usb_service_fake.h",
-+ ]
-+ }
-+
- if (is_linux || is_chromeos) {
- sources += [
- "usb_device_linux.cc",
-@@ -135,7 +142,7 @@ static_library("usb") {
- deps += [ "//device/udev_linux" ]
- }
-
-- 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",