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

Side by Side Diff: device/usb/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: spotted another couple of instances of the same thing 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
« device/serial/BUILD.gn ('K') | « device/serial/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 assert(!is_android && !is_ios) 5 assert(!is_android && !is_ios)
6 6
7 source_ids = "//third_party/usb_ids/usb.ids" 7 source_ids = "//third_party/usb_ids/usb.ids"
8 generated_ids = "$target_gen_dir/usb_ids_gen.cc" 8 generated_ids = "$target_gen_dir/usb_ids_gen.cc"
9 9
10 source_set("usb") { 10 source_set("usb") {
(...skipping 27 matching lines...) Expand all
38 deps = [ 38 deps = [
39 ":usb_device_ids", 39 ":usb_device_ids",
40 "//base", 40 "//base",
41 "//base/third_party/dynamic_annotations", 41 "//base/third_party/dynamic_annotations",
42 "//components/device_event_log", 42 "//components/device_event_log",
43 "//device/core", 43 "//device/core",
44 "//net", 44 "//net",
45 "//third_party/libusb", 45 "//third_party/libusb",
46 ] 46 ]
47 47
48 if (is_linux) { 48 if (use_udev) {
tfarina 2015/08/18 20:09:19 OK. https://chromium.googlesource.com/chromium/sr
49 deps += [ "//device/udev_linux" ] 49 deps += [ "//device/udev_linux" ]
50 } 50 }
51 if (is_chromeos) { 51 if (is_chromeos) {
52 deps += [ 52 deps += [
53 "//chromeos", 53 "//chromeos",
54 "//dbus", 54 "//dbus",
55 ] 55 ]
56 } 56 }
57 } 57 }
58 58
(...skipping 27 matching lines...) Expand all
86 args = [ 86 args = [
87 "-i", 87 "-i",
88 rebase_path(source_ids, root_build_dir), 88 rebase_path(source_ids, root_build_dir),
89 "-o", 89 "-o",
90 rebase_path(generated_ids, root_build_dir), 90 rebase_path(generated_ids, root_build_dir),
91 ] 91 ]
92 92
93 # Only the device_usb target can depend on us. 93 # Only the device_usb target can depend on us.
94 visibility = [ ":usb" ] 94 visibility = [ ":usb" ]
95 } 95 }
OLDNEW
« device/serial/BUILD.gn ('K') | « device/serial/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698