Index: Source/build/scripts/scripts.gni |
diff --git a/Source/build/scripts/scripts.gni b/Source/build/scripts/scripts.gni |
index ab0e1dedbaac4673fe538726583722fb4042ba46..ce4d65b207b1b88ebcad0e53593e9aedecbd44a9 100644 |
--- a/Source/build/scripts/scripts.gni |
+++ b/Source/build/scripts/scripts.gni |
@@ -116,12 +116,24 @@ template("process_in_files") { |
# Template to run the make_names script. This is a special case of |
# process_in_files. |
-# in_files: files to pass to the script |
# outputs: expected results |
-template("make_names") { |
+template("css_properties") { |
process_in_files(target_name) { |
script = "//third_party/WebKit/Source/build/scripts/make_names.py" |
in_files = invoker.in_files |
+ other_inputs = invoker.other_inputs |
+ outputs = invoker.outputs |
+ } |
+} |
+ |
+# Template to run the make_names script. This is a special case of |
+# process_in_files. |
+# in_files: files to pass to the script |
+# outputs: expected results |
+template("make_names") { |
+ process_in_files(target_name) { |
+ script = invoker.script |
+ in_files = ["CSSProperties.in"] |
other_inputs = make_names_files |
outputs = invoker.outputs |
other_args = [ "--defines", feature_defines_string ] |