2018-09-21 00:30:26 +00:00
|
|
|
From e51d8c2a477d55c279c5935c02dab83ef34f3392 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Nitish Sakhawalkar <nitsakh@icloud.com>
|
|
|
|
Date: Thu, 20 Sep 2018 17:47:58 -0700
|
|
|
|
Subject: v8_context_snapshot_generator.patch
|
|
|
|
|
|
|
|
v8_context_snapshot_generator is a build time executable.
|
|
|
|
The patch adds the config.
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/tools/v8_context_snapshot/BUILD.gn b/tools/v8_context_snapshot/BUILD.gn
|
2018-09-21 00:30:26 +00:00
|
|
|
index b119ec095c7b..47df8af5ef68 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/tools/v8_context_snapshot/BUILD.gn
|
|
|
|
+++ b/tools/v8_context_snapshot/BUILD.gn
|
2018-09-21 00:30:26 +00:00
|
|
|
@@ -114,6 +114,7 @@ if (use_v8_context_snapshot) {
|
2018-09-14 05:02:16 +00:00
|
|
|
configs += [
|
|
|
|
"//v8:external_startup_data",
|
|
|
|
":disable_icf",
|
|
|
|
+ "//electron/build/config:build_time_executable"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-09-21 00:30:26 +00:00
|
|
|
--
|
|
|
|
2.17.0
|
|
|
|
|