| 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/bindings/modules/idl.gni") | 5 import("//third_party/WebKit/Source/core/core_idl_files.gni") |
| 6 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 6 import("//third_party/WebKit/Source/modules/modules_idl_files.gni") |
| 7 | 7 |
| 8 bindings_scripts_dir = get_path_info(".", "abspath") | 8 bindings_scripts_dir = get_path_info(".", "abspath") |
| 9 bindings_scripts_output_dir = "$root_gen_dir/blink/bindings/scripts" | 9 bindings_scripts_output_dir = "$root_gen_dir/blink/bindings/scripts" |
| 10 | 10 |
| 11 jinja_module_files = [ | 11 jinja_module_files = [ |
| 12 "//third_party/jinja2/__init__.py", | 12 "//third_party/jinja2/__init__.py", |
| 13 "//third_party/markupsafe/__init__.py", # jinja2 dep | 13 "//third_party/markupsafe/__init__.py", # jinja2 dep |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 idl_lexer_parser_files = get_path_info([ | 16 idl_lexer_parser_files = get_path_info([ |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 "$bindings_modules_output_dir/InterfacesInfoOverall.pickle", | 176 "$bindings_modules_output_dir/InterfacesInfoOverall.pickle", |
| 177 ] | 177 ] |
| 178 | 178 |
| 179 # Further, if any dependency (partial interface or implemented | 179 # Further, if any dependency (partial interface or implemented |
| 180 # interface) changes, rebuild everything, since every IDL potentially | 180 # interface) changes, rebuild everything, since every IDL potentially |
| 181 # depends on them, because we're not computing dependencies | 181 # depends on them, because we're not computing dependencies |
| 182 # file-by-file. | 182 # file-by-file. |
| 183 # FIXME: This is too conservative, and causes excess rebuilds: | 183 # FIXME: This is too conservative, and causes excess rebuilds: |
| 184 # compute this file-by-file. http://crbug.com/341748 | 184 # compute this file-by-file. http://crbug.com/341748 |
| 185 # This should theoretically just be the IDL files passed in. | 185 # This should theoretically just be the IDL files passed in. |
| 186 inputs += all_dependency_idl_files | 186 inputs += core_all_dependency_idl_files + modules_all_dependency_idl_files |
| 187 | 187 |
| 188 sources = invoker.sources | 188 sources = invoker.sources |
| 189 outputs = [ | 189 outputs = [ |
| 190 "$output_dir/V8{{source_name_part}}${output_name_suffix}.cpp", | 190 "$output_dir/V8{{source_name_part}}${output_name_suffix}.cpp", |
| 191 "$output_dir/V8{{source_name_part}}${output_name_suffix}.h", | 191 "$output_dir/V8{{source_name_part}}${output_name_suffix}.h", |
| 192 ] | 192 ] |
| 193 | 193 |
| 194 args = [ | 194 args = [ |
| 195 "--cache-dir", | 195 "--cache-dir", |
| 196 rebase_path(bindings_scripts_output_dir, root_build_dir), | 196 rebase_path(bindings_scripts_output_dir, root_build_dir), |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 args += [ rebase_path(output_idl_file, root_build_dir) ] | 388 args += [ rebase_path(output_idl_file, root_build_dir) ] |
| 389 output_idl_files += [ output_idl_file ] | 389 output_idl_files += [ output_idl_file ] |
| 390 output_header_files += | 390 output_header_files += |
| 391 [ "$output_dir/${interface}${component}Constructors.h" ] | 391 [ "$output_dir/${interface}${component}Constructors.h" ] |
| 392 } | 392 } |
| 393 | 393 |
| 394 outputs = output_idl_files + output_header_files | 394 outputs = output_idl_files + output_header_files |
| 395 deps = invoker.deps | 395 deps = invoker.deps |
| 396 } | 396 } |
| 397 } | 397 } |
| OLD | NEW |