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

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

Issue 774353003: gn format // (the rest) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase net Created 6 years 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/nfc/BUILD.gn ('k') | google_apis/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 (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 "//third_party/libusb", 38 "//third_party/libusb",
39 ] 39 ]
40 40
41 if (is_linux) { 41 if (is_linux) {
42 deps += [ "//device/udev_linux" ] 42 deps += [ "//device/udev_linux" ]
43 } 43 }
44 } 44 }
45 45
46 action("usb_device_ids") { 46 action("usb_device_ids") {
47 script = "//device/usb/tools/usb_ids.py" 47 script = "//device/usb/tools/usb_ids.py"
48 inputs = [ source_ids ] 48 inputs = [
49 outputs = [ generated_ids ] 49 source_ids,
50 ]
51 outputs = [
52 generated_ids,
53 ]
50 args = [ 54 args = [
51 "-i", rebase_path(source_ids, root_build_dir), 55 "-i",
52 "-o", rebase_path(generated_ids, root_build_dir), 56 rebase_path(source_ids, root_build_dir),
57 "-o",
58 rebase_path(generated_ids, root_build_dir),
53 ] 59 ]
54 60
55 # Only the device_usb target can depend on us. 61 # Only the device_usb target can depend on us.
56 visibility = [ ":usb" ] 62 visibility = [ ":usb" ]
57 } 63 }
OLDNEW
« no previous file with comments | « device/nfc/BUILD.gn ('k') | google_apis/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698