Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1688)

Unified Diff: device/hid/BUILD.gn

Issue 1295353002: use_udev is more accurate than is_linux for udev gn deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: import features.gni Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | device/serial/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/BUILD.gn
diff --git a/device/hid/BUILD.gn b/device/hid/BUILD.gn
index 4a6a1b29f7189644643e36b3bd804301e3f0d8a9..f57fe86c204a07f9af55787e8ad6a57ade6e4f0d 100644
--- a/device/hid/BUILD.gn
+++ b/device/hid/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")
+
source_set("hid") {
sources = [
"device_monitor_linux.cc",
@@ -49,7 +51,7 @@ source_set("hid") {
"//net",
]
- if (is_linux) {
+ if (use_udev) {
deps += [ "//device/udev_linux" ]
}
if (is_chromeos) {
« no previous file with comments | « no previous file | device/serial/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698