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

Unified Diff: device/core/BUILD.gn

Issue 2014933002: Move DeviceMonitorLinux to //device/core. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment for boolean parameter. Created 4 years, 7 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 | « components/pairing/bluetooth_host_pairing_controller.cc ('k') | device/core/core.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/core/BUILD.gn
diff --git a/device/core/BUILD.gn b/device/core/BUILD.gn
index 86bbb3b249332ed5c5aebf95fe2a02640044b7b7..f4c8e1837bdb79ed8953545b28b2c4037193d98a 100644
--- a/device/core/BUILD.gn
+++ b/device/core/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")
+
component("core") {
output_name = "device_core"
@@ -16,10 +18,21 @@ component("core") {
defines = [ "DEVICE_CORE_IMPLEMENTATION" ]
+ deps = []
+
public_deps = [
"//base",
]
+ if (use_udev) {
+ sources += [
+ "device_monitor_linux.cc",
+ "device_monitor_linux.h",
+ ]
+
+ deps += [ "//device/udev_linux" ]
+ }
+
if (is_win) {
libs = [ "setupapi.lib" ]
}
« no previous file with comments | « components/pairing/bluetooth_host_pairing_controller.cc ('k') | device/core/core.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698