| 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/core/v8/generated.gni") | 5 import("//third_party/WebKit/Source/bindings/core/v8/generated.gni") |
| 6 import("//third_party/WebKit/Source/bindings/modules/idl.gni") | 6 import("//third_party/WebKit/Source/bindings/modules/idl.gni") |
| 7 import("//third_party/WebKit/Source/bindings/modules/modules.gni") | 7 import("//third_party/WebKit/Source/bindings/modules/modules.gni") |
| 8 | 8 |
| 9 bindings_scripts_dir = get_path_info(".", "abspath") | 9 bindings_scripts_dir = get_path_info(".", "abspath") |
| 10 bindings_scripts_output_dir = "$root_gen_dir/blink/bindings/scripts" | 10 bindings_scripts_output_dir = "$root_gen_dir/blink/bindings/scripts" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 inputs = [ | 48 inputs = [ |
| 49 "$bindings_scripts_dir/utilities.py", | 49 "$bindings_scripts_dir/utilities.py", |
| 50 file_list, | 50 file_list, |
| 51 ] + invoker.sources_static + invoker.sources_generated | 51 ] + invoker.sources_static + invoker.sources_generated |
| 52 | 52 |
| 53 outputs = [ | 53 outputs = [ |
| 54 invoker.output_file | 54 invoker.output_file |
| 55 ] | 55 ] |
| 56 | 56 |
| 57 args = [ | 57 args = [ |
| 58 "--cache-directory", |
| 59 rebase_path(bindings_scripts_output_dir, root_build_dir), |
| 58 "--idl-files-list", rebase_path(file_list, root_build_dir), | 60 "--idl-files-list", rebase_path(file_list, root_build_dir), |
| 59 "--interfaces-info-file", | 61 "--interfaces-info-file", |
| 60 rebase_path(invoker.output_file, root_build_dir), | 62 rebase_path(invoker.output_file, root_build_dir), |
| 61 "--write-file-only-if-changed=1", | 63 "--write-file-only-if-changed=1", |
| 62 "--", | 64 "--", |
| 63 ] + rebase_path(invoker.sources_generated, root_build_dir) | 65 ] + rebase_path(invoker.sources_generated, root_build_dir) |
| 64 | 66 |
| 65 deps = invoker.deps | 67 deps = [ |
| 68 "//third_party/WebKit/Source/bindings/scripts:cached_lex_yacc_tables", |
| 69 ] + invoker.deps |
| 66 } | 70 } |
| 67 } | 71 } |
| 68 | 72 |
| 69 # Calls generate_event_interfaces | 73 # Calls generate_event_interfaces |
| 70 # | 74 # |
| 71 # Parameters: | 75 # Parameters: |
| 72 # sources = A list of IDL files to process. | 76 # sources = A list of IDL files to process. |
| 73 # output_file = The .in file to write, relative to the blink_gen_dir. | 77 # output_file = The .in file to write, relative to the blink_gen_dir. |
| 74 # suffix = (Optional) String to be passed to script via --suffix | 78 # suffix = (Optional) String to be passed to script via --suffix |
| 75 template("generate_event_interfaces") { | 79 template("generate_event_interfaces") { |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 output_header_files += [ | 331 output_header_files += [ |
| 328 "$output_dir/${interface}${component}Constructors.h" | 332 "$output_dir/${interface}${component}Constructors.h" |
| 329 ] | 333 ] |
| 330 } | 334 } |
| 331 | 335 |
| 332 outputs = output_idl_files + output_header_files | 336 outputs = output_idl_files + output_header_files |
| 333 deps = invoker.deps | 337 deps = invoker.deps |
| 334 } | 338 } |
| 335 } | 339 } |
| 336 | 340 |
| OLD | NEW |