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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | device/serial/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni")
6
5 source_set("hid") { 7 source_set("hid") {
6 sources = [ 8 sources = [
7 "device_monitor_linux.cc", 9 "device_monitor_linux.cc",
8 "device_monitor_linux.h", 10 "device_monitor_linux.h",
9 "fake_input_service_linux.cc", 11 "fake_input_service_linux.cc",
10 "fake_input_service_linux.h", 12 "fake_input_service_linux.h",
11 "hid_collection_info.cc", 13 "hid_collection_info.cc",
12 "hid_collection_info.h", 14 "hid_collection_info.h",
13 "hid_connection.cc", 15 "hid_connection.cc",
14 "hid_connection.h", 16 "hid_connection.h",
(...skipping 27 matching lines...) Expand all
42 "input_service_linux.h", 44 "input_service_linux.h",
43 ] 45 ]
44 46
45 deps = [ 47 deps = [
46 "//base", 48 "//base",
47 "//components/device_event_log", 49 "//components/device_event_log",
48 "//device/core", 50 "//device/core",
49 "//net", 51 "//net",
50 ] 52 ]
51 53
52 if (is_linux) { 54 if (use_udev) {
53 deps += [ "//device/udev_linux" ] 55 deps += [ "//device/udev_linux" ]
54 } 56 }
55 if (is_chromeos) { 57 if (is_chromeos) {
56 deps += [ "//chromeos" ] 58 deps += [ "//chromeos" ]
57 } 59 }
58 } 60 }
OLDNEW
« 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