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

Unified Diff: content/shell/BUILD.gn

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Disable on ChromeOS and reduce size of table Created 3 years, 5 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 785bd7ac9cae3b370a12bf3df0cb1da98a5e4f98..d1945a93a67d5da64cec62b6edc556d84c522c96 100644
--- a/content/shell/BUILD.gn
+++ b/content/shell/BUILD.gn
@@ -538,6 +538,14 @@ if (is_android) {
":pak",
]
+ public_deps = [
+ "//tools/blink_v8_snapshot:blink_v8_snapshot",
+ ]
+
+ data = [
+ "$root_out_dir/blink_v8_snapshot.bin",
+ ]
+
if (is_win) {
deps += [ "//sandbox" ]
@@ -601,12 +609,14 @@ if (is_mac) {
bundle_data("content_shell_framework_resources") {
sources = [
+ "$root_out_dir/blink_v8_snapshot.bin",
"$root_out_dir/content_shell.pak",
"resources/missingImage.png",
]
public_deps = [
":pak",
+ "//tools/blink_v8_snapshot:blink_v8_snapshot",
]
if (icu_use_data_file) {

Powered by Google App Engine
This is Rietveld 408576698