summaryrefslogtreecommitdiffstats
path: root/device/serial/BUILD.gn
diff options
context:
space:
mode:
authormostynb <mostynb@opera.com>2015-08-18 15:07:59 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-18 22:08:34 +0000
commit233247d24ad193cecc6b8fd79b7f6d9d5e265edd (patch)
tree6667adf07192fac250f7f54247f5c2b1ecdb6210 /device/serial/BUILD.gn
parent364f6e69f92e17e46e0c93ac6d3f5ee4d038ffe6 (diff)
downloadchromium_src-233247d24ad193cecc6b8fd79b7f6d9d5e265edd.zip
chromium_src-233247d24ad193cecc6b8fd79b7f6d9d5e265edd.tar.gz
chromium_src-233247d24ad193cecc6b8fd79b7f6d9d5e265edd.tar.bz2
use_udev is more accurate than is_linux for udev gn deps
TBR=keybuk Review URL: https://codereview.chromium.org/1295353002 Cr-Commit-Position: refs/heads/master@{#344046}
Diffstat (limited to 'device/serial/BUILD.gn')
-rw-r--r--device/serial/BUILD.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/device/serial/BUILD.gn b/device/serial/BUILD.gn
index 099b7ad..d307910 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) {