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

Side by Side Diff: device/usb/BUILD.gn

Issue 941063003: Log device/usb messages to chrome://device-log. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 10 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 | « device/DEPS ('k') | device/usb/usb.gyp » ('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 (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 18 matching lines...) Expand all
29 "usb_service.h", 29 "usb_service.h",
30 "usb_service_impl.cc", 30 "usb_service_impl.cc",
31 "usb_service_impl.h", 31 "usb_service_impl.h",
32 generated_ids, 32 generated_ids,
33 ] 33 ]
34 34
35 deps = [ 35 deps = [
36 ":usb_device_ids", 36 ":usb_device_ids",
37 "//base", 37 "//base",
38 "//base/third_party/dynamic_annotations", 38 "//base/third_party/dynamic_annotations",
39 "//components/device_event_log",
39 "//device/core", 40 "//device/core",
40 "//net", 41 "//net",
41 "//third_party/libusb", 42 "//third_party/libusb",
42 ] 43 ]
43 44
44 if (is_linux) { 45 if (is_linux) {
45 deps += [ "//device/udev_linux" ] 46 deps += [ "//device/udev_linux" ]
46 } 47 }
47 if (is_chromeos) { 48 if (is_chromeos) {
48 deps += [ "//chromeos" ] 49 deps += [ "//chromeos" ]
(...skipping 11 matching lines...) Expand all
60 args = [ 61 args = [
61 "-i", 62 "-i",
62 rebase_path(source_ids, root_build_dir), 63 rebase_path(source_ids, root_build_dir),
63 "-o", 64 "-o",
64 rebase_path(generated_ids, root_build_dir), 65 rebase_path(generated_ids, root_build_dir),
65 ] 66 ]
66 67
67 # Only the device_usb target can depend on us. 68 # Only the device_usb target can depend on us.
68 visibility = [ ":usb" ] 69 visibility = [ ":usb" ]
69 } 70 }
OLDNEW
« no previous file with comments | « device/DEPS ('k') | device/usb/usb.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698