From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Ales Pergl Date: Mon, 22 Oct 2018 10:47:12 -0700 Subject: build_gn.patch diff --git a/BUILD.gn b/BUILD.gn index 3c039428271d6598fc4ad7137334176d80b92631..9fe1e8d67a25955fea69be89e0bcc27cf5d8529d 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -242,7 +242,7 @@ config("internal_config") { configs = [ "//build/config/compiler:wexit_time_destructors" ] - if (is_component_build) { + if (is_component_build || is_electron_build) { defines = [ "BUILDING_V8_SHARED" ] } } @@ -3481,6 +3481,8 @@ if (v8_use_snapshot && current_toolchain == v8_snapshot_toolchain) { configs = [ ":internal_config" ] + configs += [ "//electron/build/config:build_time_executable" ] + deps = [ ":v8_base", ":v8_init",