From a901cc9a31b96f16796290262cf248abb6432980 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Wed, 9 Jul 2014 17:29:31 +0000 Subject: 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 --- build/compiled_action.gni | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'build/compiled_action.gni') 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 -- cgit v1.1