| Index: device/usb/BUILD.gn
|
| diff --git a/device/usb/BUILD.gn b/device/usb/BUILD.gn
|
| index edb8c93cbb1cc85598cc83464fef07ae101a9073..9f4b19f67d6c9371e0918e4b1fee7a20c876c64b 100644
|
| --- a/device/usb/BUILD.gn
|
| +++ b/device/usb/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//build/config/features.gni")
|
| +
|
| assert(!is_android && !is_ios)
|
|
|
| source_ids = "//third_party/usb_ids/usb.ids"
|
| @@ -45,7 +47,7 @@ source_set("usb") {
|
| "//third_party/libusb",
|
| ]
|
|
|
| - if (is_linux) {
|
| + if (use_udev) {
|
| deps += [ "//device/udev_linux" ]
|
| }
|
| if (is_chromeos) {
|
|
|