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

Unified Diff: chrome/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: chrome/BUILD.gn
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index 6279c3d65737f3744f68a255511a2d2f932cfd82..1393be58c7af85815bd282fcbc69fbdd70063b7b 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -114,10 +114,14 @@ if (!is_android && !is_mac) {
group("chrome") {
public_deps = [
":chrome_initial",
+ "//gin:v8_context_snapshot_for_blink",
]
data_deps = [
":chrome_initial",
]
+ data = [
+ "$root_out_dir/context_blob.bin",
Yuki 2017/05/30 14:35:55 super nit: s/context_blob/v8_context_blob/ I thin
peria 2017/06/01 08:33:32 Renamed it blink_snapshot_blob.bin.
+ ]
if (is_win) {
public_deps += [ ":reorder_imports" ]
}
@@ -792,6 +796,7 @@ if (is_win) {
bundle_data("chrome_framework_resources") {
sources = [
"$root_out_dir/app_mode_loader.app",
+ "$root_out_dir/context_blob.bin",
# This image is used to badge the lock icon in the
# authentication dialogs, such as those used for installation
@@ -811,6 +816,7 @@ if (is_win) {
public_deps = [
":packed_resources",
"//chrome/app_shim:app_mode_loader",
+ "//gin:v8_context_snapshot_for_blink",
]
if (is_chrome_branded) {

Powered by Google App Engine
This is Rietveld 408576698