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

Unified Diff: content/shell/BUILD.gn

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Fix some behaviors 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: content/shell/BUILD.gn
diff --git a/content/shell/BUILD.gn b/content/shell/BUILD.gn
index ccf24913d5831a0027bdd18914b57d6885d0136e..b28c1e65811a8a927fbf36cf99fad76672dedb6d 100644
--- a/content/shell/BUILD.gn
+++ b/content/shell/BUILD.gn
@@ -12,6 +12,7 @@ import("//mojo/public/tools/bindings/mojom.gni")
import("//ppapi/features/features.gni")
import("//tools/grit/repack.gni")
import("//tools/grit/grit_rule.gni")
+import("//v8/snapshot_toolchain.gni")
if (is_android) {
import("//build/config/android/config.gni")
} else if (is_mac) {
@@ -529,6 +530,14 @@ if (is_android) {
":pak",
]
+ public_deps = [
+ "//gin:run_gin_blink_snapshot($v8_snapshot_toolchain)",
+ ]
+
+ data = [
+ "$root_out_dir/context_blob.bin",
+ ]
+
if (is_win) {
deps += [ "//sandbox" ]
@@ -593,11 +602,13 @@ if (is_mac) {
bundle_data("content_shell_framework_resources") {
sources = [
"$root_out_dir/content_shell.pak",
+ "$root_out_dir/context_blob.bin",
"resources/missingImage.png",
]
public_deps = [
":pak",
+ "//gin:run_gin_blink_snapshot($v8_snapshot_toolchain)",
]
if (icu_use_data_file) {

Powered by Google App Engine
This is Rietveld 408576698