| 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("//third_party/WebKit/Source/config.gni") | 5 import("//third_party/WebKit/Source/config.gni") |
| 6 | 6 |
| 7 # All paths in this file should be absolute so targets in any directory can use | 7 # All paths in this file should be absolute so targets in any directory can use |
| 8 # them without worrying about the current directory. | 8 # them without worrying about the current directory. |
| 9 _scripts_dir = "//third_party/WebKit/Source/build/scripts" | 9 _scripts_dir = "//third_party/WebKit/Source/build/scripts" |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 "$_scripts_dir/templates/ElementFactory.cpp.tmpl", | 49 "$_scripts_dir/templates/ElementFactory.cpp.tmpl", |
| 50 "$_scripts_dir/templates/ElementFactory.h.tmpl", | 50 "$_scripts_dir/templates/ElementFactory.h.tmpl", |
| 51 ] | 51 ] |
| 52 | 52 |
| 53 make_element_type_helpers_files = | 53 make_element_type_helpers_files = |
| 54 make_qualified_names_files + [ | 54 make_qualified_names_files + [ |
| 55 "$_scripts_dir/make_element_type_helpers.py", | 55 "$_scripts_dir/make_element_type_helpers.py", |
| 56 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl", | 56 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl", |
| 57 ] | 57 ] |
| 58 | 58 |
| 59 make_trie_helpers_files = |
| 60 scripts_for_in_files + [ "$_scripts_dir/trie_builder.py" ] |
| 61 |
| 59 # The executables are relative to the build directory. Don't rebase it because | 62 # The executables are relative to the build directory. Don't rebase it because |
| 60 # on Posix we want to run the system one on the path. | 63 # on Posix we want to run the system one on the path. |
| 61 if (host_os == "win") { | 64 if (host_os == "win") { |
| 62 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir) | 65 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir) |
| 63 bison_exe = rebase_path("//third_party/bison/bin/bison.exe", root_build_dir) | 66 bison_exe = rebase_path("//third_party/bison/bin/bison.exe", root_build_dir) |
| 64 } else { | 67 } else { |
| 65 gperf_exe = "gperf" | 68 gperf_exe = "gperf" |
| 66 bison_exe = "bison" | 69 bison_exe = "bison" |
| 67 } | 70 } |
| 68 | 71 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 ] | 204 ] |
| 202 | 205 |
| 203 args = [ | 206 args = [ |
| 204 rebase_path(invoker.input_file, root_build_dir), | 207 rebase_path(invoker.input_file, root_build_dir), |
| 205 rebase_path(invoker.output_file, root_build_dir), | 208 rebase_path(invoker.output_file, root_build_dir), |
| 206 ] | 209 ] |
| 207 | 210 |
| 208 deps = make_core_generated_deps | 211 deps = make_core_generated_deps |
| 209 } | 212 } |
| 210 } | 213 } |
| OLD | NEW |