| Index: third_party/WebKit/Source/build/scripts/scripts.gni
|
| diff --git a/third_party/WebKit/Source/build/scripts/scripts.gni b/third_party/WebKit/Source/build/scripts/scripts.gni
|
| index edb1937a579ccd241fd10b0488a646fe2072bd20..33ba38f4462f76d8e70013a05d32788f777a2c66 100644
|
| --- a/third_party/WebKit/Source/build/scripts/scripts.gni
|
| +++ b/third_party/WebKit/Source/build/scripts/scripts.gni
|
| @@ -94,7 +94,8 @@ make_core_generated_deps = [
|
| # outputs: expected results. Note that the directory of the 0th item in this
|
| # list will be taken to be the output path.
|
| # other_args: (optional) other arguments to pass to the script.
|
| -# deps [optional]: additional depenendencies
|
| +# deps [optional]:
|
| +# Depenendencies. If unspecified defaults to make_core_generated_deps.
|
| template("process_in_files") {
|
| action(target_name) {
|
| script = invoker.script
|
| @@ -118,10 +119,12 @@ template("process_in_files") {
|
| args += invoker.other_args
|
| }
|
|
|
| - deps = make_core_generated_deps
|
| if (defined(invoker.deps)) {
|
| - deps += invoker.deps
|
| + deps = invoker.deps
|
| + } else {
|
| + deps = make_core_generated_deps
|
| }
|
| + forward_variables_from(invoker, [ "visibility" ])
|
| }
|
| }
|
|
|
| @@ -148,16 +151,20 @@ template("css_properties") {
|
| # process_in_files.
|
| # in_files: files to pass to the script
|
| # outputs: expected results
|
| -# deps [optional]: additional dependencies
|
| +# deps [optional]:
|
| +# Dependencies. See process_in_files for definition.
|
| template("make_names") {
|
| process_in_files(target_name) {
|
| script = "//third_party/WebKit/Source/build/scripts/make_names.py"
|
| - in_files = invoker.in_files
|
| other_inputs = make_names_files
|
| - outputs = invoker.outputs
|
| - if (defined(invoker.deps)) {
|
| - deps = invoker.deps
|
| - }
|
| + forward_variables_from(invoker,
|
| + [
|
| + "deps",
|
| + "in_files",
|
| + "outputs",
|
| + "public_deps",
|
| + "visibility",
|
| + ])
|
| }
|
| }
|
|
|
| @@ -178,16 +185,19 @@ template("make_qualified_names") {
|
| # process_in_files.
|
| # in_files: list of ".in" files to process.
|
| # outputs: list of output files
|
| -# deps [optional]: additional depenendencies
|
| +# deps [optional]
|
| +# Dependencies. See process_in_files for definition.
|
| template("make_event_factory") {
|
| process_in_files(target_name) {
|
| script = "//third_party/WebKit/Source/build/scripts/make_event_factory.py"
|
| - in_files = invoker.in_files
|
| other_inputs = make_event_factory_files
|
| - outputs = invoker.outputs
|
| - if (defined(invoker.deps)) {
|
| - deps = invoker.deps
|
| - }
|
| + forward_variables_from(invoker,
|
| + [
|
| + "deps",
|
| + "in_files",
|
| + "outputs",
|
| + "visibility",
|
| + ])
|
| }
|
| }
|
|
|
|
|