| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/toolchain/toolchain.gni") | 5 import("//build/toolchain/toolchain.gni") |
| 6 import("//third_party/WebKit/Source/config.gni") | 6 import("//third_party/WebKit/Source/config.gni") |
| 7 | 7 |
| 8 # All paths in this file should be absolute so targets in any directory can use | 8 # All paths in this file should be absolute so targets in any directory can use |
| 9 # them without worrying about the current directory. | 9 # them without worrying about the current directory. |
| 10 _scripts_dir = "//third_party/WebKit/Source/build/scripts" | 10 _scripts_dir = "//third_party/WebKit/Source/build/scripts" |
| 11 | 11 |
| 12 scripts_for_in_files = [ | 12 scripts_for_in_files = [ |
| 13 # jinja2/__init__.py contains version string, so sufficient as | 13 # jinja2/__init__.py contains version string, so sufficient as |
| 14 # dependency for whole jinja2 package | 14 # dependency for whole jinja2 package |
| 15 "//third_party/jinja2/__init__.py", | 15 "//third_party/jinja2/__init__.py", |
| 16 "//third_party/markupsafe/__init__.py", # jinja2 dep | 16 "//third_party/markupsafe/__init__.py", # jinja2 dep |
| 17 "$_scripts_dir/hasher.py", | 17 "$_scripts_dir/hasher.py", |
| 18 "$_scripts_dir/json5_generator.py", | 18 "$_scripts_dir/in_file.py", |
| 19 "$_scripts_dir/in_generator.py", |
| 19 "$_scripts_dir/license.py", | 20 "$_scripts_dir/license.py", |
| 20 "$_scripts_dir/name_utilities.py", | 21 "$_scripts_dir/name_utilities.py", |
| 21 "$_scripts_dir/template_expander.py", | 22 "$_scripts_dir/template_expander.py", |
| 22 "$_scripts_dir/templates/macros.tmpl", | 23 "$_scripts_dir/templates/macros.tmpl", |
| 23 ] | 24 ] |
| 24 | 25 |
| 25 css_properties_files = | 26 css_properties_files = |
| 26 scripts_for_in_files + [ "$_scripts_dir/css_properties.py" ] | 27 scripts_for_in_files + [ "$_scripts_dir/css_properties.py" ] |
| 27 | 28 |
| 28 make_event_factory_files = scripts_for_in_files + [ | 29 make_event_factory_files = scripts_for_in_files + [ |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 other_inputs = make_event_factory_files | 195 other_inputs = make_event_factory_files |
| 195 forward_variables_from(invoker, | 196 forward_variables_from(invoker, |
| 196 [ | 197 [ |
| 197 "deps", | 198 "deps", |
| 198 "in_files", | 199 "in_files", |
| 199 "outputs", | 200 "outputs", |
| 200 "visibility", | 201 "visibility", |
| 201 ]) | 202 ]) |
| 202 } | 203 } |
| 203 } | 204 } |
| OLD | NEW |