2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-21 00:30:26 +00:00
|
|
|
From: Ales Pergl <alpergl@microsoft.com>
|
|
|
|
Date: Thu, 20 Sep 2018 17:44:29 -0700
|
|
|
|
Subject: build_gn.patch
|
|
|
|
|
2019-12-13 17:18:45 +00:00
|
|
|
These are variables we add to the root BUILDCONFIG so that they're available
|
|
|
|
everywhere, without having to import("//electron/.../flags.gni").
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
|
2023-11-28 21:40:12 +00:00
|
|
|
index 8b8cf6bc8f8a449cf70b66d37fa74f8599b9abda..31b28d852fe229e1d9cb8d71abe589d2b49e6d44 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/build/config/BUILDCONFIG.gn
|
|
|
|
+++ b/build/config/BUILDCONFIG.gn
|
2018-09-15 11:40:18 +00:00
|
|
|
@@ -123,6 +123,9 @@ if (current_os == "") {
|
2018-09-14 05:02:16 +00:00
|
|
|
# even if the value is overridden, which is wasteful. See first bullet.
|
|
|
|
|
|
|
|
declare_args() {
|
|
|
|
+ is_electron_build = false
|
|
|
|
+ is_mas_build = false
|
|
|
|
+
|
|
|
|
# Set to enable the official build level of optimization. This has nothing
|
|
|
|
# to do with branding, but enables an additional level of optimization above
|
|
|
|
# release (!is_debug). This might be better expressed as a tri-state
|