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" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 make_element_factory_files = | 47 make_element_factory_files = |
48 make_qualified_names_files + [ | 48 make_qualified_names_files + [ |
49 "$_scripts_dir/make_element_factory.py", | 49 "$_scripts_dir/make_element_factory.py", |
50 "$_scripts_dir/templates/ElementFactory.cpp.tmpl", | 50 "$_scripts_dir/templates/ElementFactory.cpp.tmpl", |
51 "$_scripts_dir/templates/ElementFactory.h.tmpl", | 51 "$_scripts_dir/templates/ElementFactory.h.tmpl", |
52 ] | 52 ] |
53 | 53 |
54 make_element_type_helpers_files = | 54 make_element_type_helpers_files = |
55 make_qualified_names_files + [ | 55 make_qualified_names_files + [ |
56 "$_scripts_dir/make_element_type_helpers.py", | 56 "$_scripts_dir/make_element_type_helpers.py", |
| 57 "$_scripts_dir/templates/ElementTypeHelpers.cpp.tmpl", |
57 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl", | 58 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl", |
58 ] | 59 ] |
59 | 60 |
60 make_trie_helpers_files = | 61 make_trie_helpers_files = |
61 scripts_for_in_files + [ "$_scripts_dir/trie_builder.py" ] | 62 scripts_for_in_files + [ "$_scripts_dir/trie_builder.py" ] |
62 | 63 |
63 # The executables are relative to the build directory. Don't rebase it because | 64 # The executables are relative to the build directory. Don't rebase it because |
64 # on Posix we want to run the system one on the path. | 65 # on Posix we want to run the system one on the path. |
65 if (host_os == "win") { | 66 if (host_os == "win") { |
66 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir) | 67 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir) |
(...skipping 127 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 |