Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: third_party/WebKit/Source/bindings/scripts/scripts.gni

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for some comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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:

Powered by Google App Engine
This is Rietveld 408576698