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

Unified Diff: extensions/shell/BUILD.gn

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: extensions/shell/BUILD.gn
diff --git a/extensions/shell/BUILD.gn b/extensions/shell/BUILD.gn
index b25f58b4d7f29ba4e310516d002b66376c17df94..4886ee746673b8898819f69daa26d3602e7a51a7 100644
--- a/extensions/shell/BUILD.gn
+++ b/extensions/shell/BUILD.gn
@@ -8,6 +8,7 @@ import("//build/util/process_version.gni")
import("//extensions/features/features.gni")
import("//testing/test.gni")
import("//tools/grit/grit_rule.gni")
+import("//v8/snapshot_toolchain.gni")
if (is_mac) {
import("//build/config/mac/rules.gni")
import("//third_party/icu/config.gni")
@@ -255,6 +256,10 @@ if (is_mac) {
"//extensions:shell_and_test_pak",
]
+ public_deps = [
+ "//gin:v8_context_snapshot_for_blink",
+ ]
+
if (is_win) {
configs += [ "//build/config/win:windowed" ]
configs -= [ "//build/config/win:console" ]
@@ -326,11 +331,13 @@ if (is_mac) {
bundle_data("app_shell_framework_resources") {
sources = [
"$root_gen_dir/extensions/shell/app_shell_resources.pak",
+ "$root_out_dir/context_blob.bin",
"$root_out_dir/extensions_shell_and_test.pak",
]
public_deps = [
":resources_grit",
"//extensions:shell_and_test_pak",
+ "//gin:v8_context_snapshot_for_blink",
]
if (icu_use_data_file) {
sources += [ "$root_out_dir/icudtl.dat" ]

Powered by Google App Engine
This is Rietveld 408576698