2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Ales Pergl <alpergl@microsoft.com>
|
|
|
|
Date: Mon, 22 Oct 2018 10:47:12 -0700
|
|
|
|
Subject: build_gn.patch
|
|
|
|
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/BUILD.gn b/BUILD.gn
|
2018-10-25 02:27:11 +00:00
|
|
|
index c6a58776cd6a81cf5653b94a8db1a04dd7e54045..ac74cdec115b6cc54d05817f063153628cf5e9fe 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/BUILD.gn
|
|
|
|
+++ b/BUILD.gn
|
2018-10-25 02:27:11 +00:00
|
|
|
@@ -221,7 +221,7 @@ config("internal_config") {
|
2018-09-21 00:30:26 +00:00
|
|
|
|
|
|
|
defines = []
|
2018-09-14 05:02:16 +00:00
|
|
|
|
|
|
|
- if (is_component_build) {
|
|
|
|
+ if (is_component_build || is_electron_build) {
|
2018-09-21 00:30:26 +00:00
|
|
|
defines += [ "BUILDING_V8_SHARED" ]
|
2018-09-14 05:02:16 +00:00
|
|
|
}
|
|
|
|
}
|
2018-10-25 02:27:11 +00:00
|
|
|
@@ -3245,6 +3245,8 @@ if (v8_use_snapshot && current_toolchain == v8_snapshot_toolchain) {
|
2018-09-14 05:02:16 +00:00
|
|
|
|
|
|
|
configs = [ ":internal_config" ]
|
|
|
|
|
|
|
|
+ configs += [ "//electron/build/config:build_time_executable" ]
|
|
|
|
+
|
|
|
|
deps = [
|
|
|
|
":v8_base",
|
|
|
|
":v8_init",
|