diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-09 17:29:31 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-09 17:29:31 +0000 |
commit | a901cc9a31b96f16796290262cf248abb6432980 (patch) | |
tree | 95d68e3478fe80cf39d300deeee0f79d2b7ae4fb /build/compiled_action.gni | |
parent | 8b223a402f963054a7879d5ffa05bad9295863f0 (diff) | |
download | chromium_src-a901cc9a31b96f16796290262cf248abb6432980.zip chromium_src-a901cc9a31b96f16796290262cf248abb6432980.tar.gz chromium_src-a901cc9a31b96f16796290262cf248abb6432980.tar.bz2 |
Rename source_prereqs to inputs in the GN build.
This variable changed name.
R=jamesr@chromium.org
Review URL: https://codereview.chromium.org/375873006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/compiled_action.gni')
-rw-r--r-- | build/compiled_action.gni | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build/compiled_action.gni b/build/compiled_action.gni index 7f4975f..9370691 100644 --- a/build/compiled_action.gni +++ b/build/compiled_action.gni @@ -24,7 +24,7 @@ # [list of strings] Same meaning as action/action_foreach. # # visibility -# source_prereqs +# inputs # deps # args (all optional) # Same meaning as action/action_foreach. @@ -40,7 +40,7 @@ # ] # # # The tool takes this input. -# source_prereqs = [ "my_input_file.idl" ] +# inputs = [ "my_input_file.idl" ] # # # In this case, the tool takes as arguments the input file and the output # # build dir (both relative to the "cd" that the script will be run in) @@ -74,8 +74,8 @@ template("compiled_action") { script = "//build/gn_run_binary.py" - if (defined(invoker.source_prereqs)) { - source_prereqs = invoker.source_prereqs + if (defined(invoker.inputs)) { + inputs = invoker.inputs } outputs = invoker.outputs @@ -118,8 +118,8 @@ template("compiled_action_foreach") { script = "//build/gn_run_binary.py" sources = invoker.sources - if (defined(invoker.source_prereqs)) { - source_prereqs = invoker.source_prereqs + if (defined(invoker.inputs)) { + inputs = invoker.inputs } outputs = invoker.outputs |