| 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 ] | 49 ] |
| 50 | 50 |
| 51 make_element_type_helpers_files = make_qualified_names_files + [ | 51 make_element_type_helpers_files = make_qualified_names_files + [ |
| 52 "$_scripts_dir/make_element_type_helpers.py", | 52 "$_scripts_dir/make_element_type_helpers.py", |
| 53 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl", | 53 "$_scripts_dir/templates/ElementTypeHelpers.h.tmpl", |
| 54 ] | 54 ] |
| 55 | 55 |
| 56 # The executables are relative to the build directory. Don't rebase it because | 56 # The executables are relative to the build directory. Don't rebase it because |
| 57 # on Posix we want to run the system one on the path. | 57 # on Posix we want to run the system one on the path. |
| 58 if (is_win) { | 58 if (is_win) { |
| 59 perl_exe = rebase_path("//third_party/perl/perl/bin/perl.exe", root_build_dir) | |
| 60 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir) | 59 gperf_exe = rebase_path("//third_party/gperf/bin/gperf.exe", root_build_dir) |
| 61 bison_exe = rebase_path("//third_party/bison/bin/bison.exe", root_build_dir) | 60 bison_exe = rebase_path("//third_party/bison/bin/bison.exe", root_build_dir) |
| 62 } else { | 61 } else { |
| 63 perl_exe = "perl" | |
| 64 gperf_exe = "gperf" | 62 gperf_exe = "gperf" |
| 65 bison_exe = "bison" | 63 bison_exe = "bison" |
| 66 } | 64 } |
| 67 | 65 |
| 68 # Templates -------------------------------------------------------------------- | 66 # Templates -------------------------------------------------------------------- |
| 69 | 67 |
| 70 _blink_gen_dir = "$root_gen_dir/blink" | 68 _blink_gen_dir = "$root_gen_dir/blink" |
| 71 | 69 |
| 72 # The GYP target make_core_generated has some deps and a bunch of actions on | 70 # The GYP target make_core_generated has some deps and a bunch of actions on |
| 73 # it, which means that the deps will be resolved before the actions run. Here | 71 # it, which means that the deps will be resolved before the actions run. Here |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 167 |
| 170 args = [ | 168 args = [ |
| 171 rebase_path(invoker.input_file, root_build_dir), | 169 rebase_path(invoker.input_file, root_build_dir), |
| 172 rebase_path(invoker.output_file, root_build_dir), | 170 rebase_path(invoker.output_file, root_build_dir), |
| 173 ] | 171 ] |
| 174 | 172 |
| 175 deps = make_core_generated_deps | 173 deps = make_core_generated_deps |
| 176 } | 174 } |
| 177 } | 175 } |
| 178 | 176 |
| OLD | NEW |