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

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

Issue 375873006: Rename source_prereqs to inputs in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « content/gpu/BUILD.gn ('k') | extensions/generated_extensions_api.gni » ('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 source_ids = "//third_party/usb_ids/usb.ids" 5 source_ids = "//third_party/usb_ids/usb.ids"
6 generated_ids = "$target_gen_dir/usb_ids_gen.cc" 6 generated_ids = "$target_gen_dir/usb_ids_gen.cc"
7 7
8 source_set("usb") { 8 source_set("usb") {
9 sources = [ 9 sources = [
10 "usb_ids.cc", 10 "usb_ids.cc",
11 "usb_ids.h", 11 "usb_ids.h",
12 generated_ids, 12 generated_ids,
13 ] 13 ]
14 deps = [ 14 deps = [
15 ":usb_device_ids", 15 ":usb_device_ids",
16 "//base", 16 "//base",
17 ] 17 ]
18 } 18 }
19 19
20 action("usb_device_ids") { 20 action("usb_device_ids") {
21 script = "//device/usb/tools/usb_ids.py" 21 script = "//device/usb/tools/usb_ids.py"
22 source_prereqs = [ source_ids ] 22 inputs = [ source_ids ]
23 outputs = [ generated_ids ] 23 outputs = [ generated_ids ]
24 args = [ 24 args = [
25 "-i", rebase_path(source_ids, root_build_dir), 25 "-i", rebase_path(source_ids, root_build_dir),
26 "-o", rebase_path(generated_ids, root_build_dir), 26 "-o", rebase_path(generated_ids, root_build_dir),
27 ] 27 ]
28 28
29 # Only the device_usb target can depend on us. 29 # Only the device_usb target can depend on us.
30 visibility = [ ":usb" ] 30 visibility = [ ":usb" ]
31 } 31 }
OLDNEW
« no previous file with comments | « content/gpu/BUILD.gn ('k') | extensions/generated_extensions_api.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698