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

Unified Diff: device/serial/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 | « device/hid/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/BUILD.gn
diff --git a/device/serial/BUILD.gn b/device/serial/BUILD.gn
index 099b7ade2aacd13e20f4982e28d2eea3d9f7e91f..d3079102383431833a03251d3da03249a16ffff0 100644
--- a/device/serial/BUILD.gn
+++ b/device/serial/BUILD.gn
@@ -2,6 +2,7 @@
# 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")
import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
# GYP version: device/serial/serial.gyp:device_serial
@@ -49,7 +50,7 @@ static_library("serial") {
"//third_party/mojo/src/mojo/public/cpp/system",
]
- if (is_linux) {
+ if (use_udev) {
deps += [ "//device/udev_linux" ]
}
if (is_chromeos) {
« no previous file with comments | « device/hid/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698