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

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 9a7d0678f07d8b9b7e3e7877b360acb6d5fcbe5a..338f271f7bcf1a1f9d0e861d42c35a89ea5f1ad5 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")
@@ -256,6 +257,10 @@ if (is_mac) {
"//extensions:shell_and_test_pak",
]
+ public_deps = [
+ "//gin:blink_v8_snapshot",
+ ]
+
if (is_win) {
configs += [ "//build/config/win:windowed" ]
configs -= [ "//build/config/win:console" ]
@@ -327,11 +332,13 @@ if (is_mac) {
bundle_data("app_shell_framework_resources") {
sources = [
"$root_gen_dir/extensions/shell/app_shell_resources.pak",
+ "$root_out_dir/blink_v8_snapshot.bin",
"$root_out_dir/extensions_shell_and_test.pak",
]
public_deps = [
":resources_grit",
"//extensions:shell_and_test_pak",
+ "//gin:blink_v8_snapshot",
]
if (icu_use_data_file) {
sources += [ "$root_out_dir/icudtl.dat" ]

Powered by Google App Engine
This is Rietveld 408576698