Index: third_party/WebKit/Source/bindings/scripts/scripts.gni |
diff --git a/third_party/WebKit/Source/bindings/scripts/scripts.gni b/third_party/WebKit/Source/bindings/scripts/scripts.gni |
index fc7b26c7520276ce4dfef881285737bb4f3f4e80..0b051eeab57eb887a1404841e39b4c3f6a299ca6 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/scripts.gni |
+++ b/third_party/WebKit/Source/bindings/scripts/scripts.gni |
@@ -297,6 +297,37 @@ template("idl_impl") { |
} |
} |
+template("idl_reference_table") { |
haraken
2017/05/20 19:10:02
v8_snapshot_reference_table
peria
2017/06/01 08:33:32
removed.
|
+ action(target_name) { |
+ script = "//third_party/WebKit/Source/bindings/scripts/generate_reference_table.py" |
haraken
2017/05/20 19:10:02
Rename it to generate_v8_snapshot_reference_table.
peria
2017/06/01 08:33:32
Done.
|
+ |
+ inputs = invoker.sources + [ script ] |
+ outputs = invoker.outputs |
+ |
+ response_file_contents = rebase_path(invoker.sources, root_build_dir) |
+ args = [ |
+ "--cache-dir", |
+ rebase_path(bindings_scripts_output_dir, root_build_dir), |
+ "--output-dir", |
+ rebase_path(invoker.output_dir, root_build_dir), |
+ "--idl-files-list", |
+ "{{response_file_name}}", |
+ "--info-dir", |
+ rebase_path("$bindings_output_dir", root_build_dir), |
+ "--target-component", |
+ invoker.target_component, |
+ ] |
+ |
+ deps = [ |
+ "//third_party/WebKit/Source/bindings/core:interfaces_info_individual_core", |
+ "//third_party/WebKit/Source/bindings/modules:interfaces_info", |
+ "//third_party/WebKit/Source/bindings/modules:interfaces_info_individual_modules", |
+ "//third_party/WebKit/Source/bindings/scripts:cached_jinja_templates", |
+ "//third_party/WebKit/Source/bindings/scripts:cached_lex_yacc_tables", |
+ ] |
+ } |
+} |
+ |
# Calls the aggregate_generated_bindings script. |
# |
# Parameters: |