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

Unified Diff: device/serial/BUILD.gn

Issue 674703002: Linux: Dynamically load libudev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scoped_udev
Patch Set: rebase to head, which includes third_party/libudev already Created 6 years, 1 month 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/input_service_linux.cc ('k') | device/serial/serial.gyp » ('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 7ac28a55053cba5f1a27697ca9ac44a0026f13e9..eed42cba94e78233cf0187e946d8153056656221 100644
--- a/device/serial/BUILD.gn
+++ b/device/serial/BUILD.gn
@@ -41,13 +41,14 @@ static_library("serial") {
"serial_service_impl.h",
]
- if (is_linux) {
- configs += [ "//build/config/linux:udev" ]
- }
-
public_deps = [
":serial_mojo",
]
+ deps = []
+
+ if (is_linux) {
+ deps += [ "//device/udev_linux" ]
+ }
}
# GYP version: device/serial/serial.gyp:device_serial_test_util
« no previous file with comments | « device/hid/input_service_linux.cc ('k') | device/serial/serial.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698