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

Unified Diff: Source/build/scripts/scripts.gni

Issue 371443003: Merge .in files for css/svg properties into a single file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cascade
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 side-by-side diff with in-line comments
Download patch
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 ]

Powered by Google App Engine
This is Rietveld 408576698