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/in_file.py", | 18 "$_scripts_dir/in_file.py", |
19 "$_scripts_dir/in_generator.py", | 19 "$_scripts_dir/in_generator.py", |
20 "$_scripts_dir/license.py", | 20 "$_scripts_dir/license.py", |
21 "$_scripts_dir/name_utilities.py", | 21 "$_scripts_dir/name_utilities.py", |
22 "$_scripts_dir/template_expander.py", | 22 "$_scripts_dir/template_expander.py", |
23 "$_scripts_dir/templates/macros.tmpl", | 23 "$_scripts_dir/templates/macros.tmpl", |
24 ] | 24 ] |
25 | 25 |
26 css_properties_files = | 26 css_properties_files = |
27 scripts_for_in_files + [ "$_scripts_dir/css_properties.py" ] | 27 scripts_for_in_files + [ "$_scripts_dir/css_properties.py" ] |
28 | 28 |
29 make_css_property_api_files = [ | 29 make_css_property_api_files = [ |
| 30 "$_scripts_dir/templates/CSSPropertyAPI.h.tmpl", |
30 "$_scripts_dir/templates/CSSPropertyAPIFiles.h.tmpl", | 31 "$_scripts_dir/templates/CSSPropertyAPIFiles.h.tmpl", |
31 "$_scripts_dir/templates/CSSPropertyDescriptor.cpp.tmpl", | 32 "$_scripts_dir/templates/CSSPropertyDescriptor.cpp.tmpl", |
32 ] | 33 ] |
33 | 34 |
34 make_event_factory_files = scripts_for_in_files + [ | 35 make_event_factory_files = scripts_for_in_files + [ |
35 "$_scripts_dir/make_event_factory.py", | 36 "$_scripts_dir/make_event_factory.py", |
36 "$_scripts_dir/templates/EventFactory.cpp.tmpl", | 37 "$_scripts_dir/templates/EventFactory.cpp.tmpl", |
37 ] | 38 ] |
38 | 39 |
39 make_names_files = scripts_for_in_files + [ | 40 make_names_files = scripts_for_in_files + [ |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 other_inputs = make_event_factory_files | 215 other_inputs = make_event_factory_files |
215 forward_variables_from(invoker, | 216 forward_variables_from(invoker, |
216 [ | 217 [ |
217 "deps", | 218 "deps", |
218 "in_files", | 219 "in_files", |
219 "outputs", | 220 "outputs", |
220 "visibility", | 221 "visibility", |
221 ]) | 222 ]) |
222 } | 223 } |
223 } | 224 } |
OLD | NEW |