| Index: Source/build/scripts/scripts.gni
|
| diff --git a/Source/build/scripts/scripts.gni b/Source/build/scripts/scripts.gni
|
| index a5561ccf9ad65debaaaad6f2a83cc9b07f30b959..296c8f605223947bcd465f949f6b307e7ae23257 100644
|
| --- a/Source/build/scripts/scripts.gni
|
| +++ b/Source/build/scripts/scripts.gni
|
| @@ -23,6 +23,10 @@ scripts_for_in_files = [
|
| "$_scripts_dir/templates/macros.tmpl",
|
| ]
|
|
|
| +css_properties_files = scripts_for_in_files + [
|
| + "$_scripts_dir/css_properties.py",
|
| +]
|
| +
|
| make_event_factory_files = scripts_for_in_files + [
|
| "$_scripts_dir/make_event_factory.py",
|
| "$_scripts_dir/templates/EventFactory.cpp.tmpl",
|
| @@ -114,6 +118,21 @@ template("process_in_files") {
|
| }
|
| }
|
|
|
| +# Template for scripts using css_properties.py. This is a special case of
|
| +# process_in_files.
|
| +# outputs: expected results
|
| +template("css_properties") {
|
| + process_in_files(target_name) {
|
| + script = invoker.script
|
| + in_files = ["css/CSSProperties.in"]
|
| + other_inputs = css_properties_files
|
| + if (defined(invoker.other_inputs)) {
|
| + 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
|
|
|