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

Unified Diff: extensions/shell/BUILD.gn

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Work for most 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 1f9d50856c83b51bddd1b18c411f117fbb7aa74d..644d220883fff58aa2a94c95b209d35fdd385287 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")
@@ -253,6 +254,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" ]
@@ -324,11 +329,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