12345678910111213141516171819202122232425262728 |
- From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
- From: Ales Pergl <[email protected]>
- Date: Thu, 20 Sep 2018 17:44:29 -0700
- Subject: build_gn.patch
- diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
- index 59ab7810e71916e8f0f2d69f06e3c2c3ebc99030..b144e800c94956429ca85fc0aefe6539a6246e4b 100644
- --- a/build/config/BUILDCONFIG.gn
- +++ b/build/config/BUILDCONFIG.gn
- @@ -123,6 +123,9 @@ if (current_os == "") {
- # 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
- @@ -437,6 +440,7 @@ default_compiler_configs = [
- "//build/config/compiler:thin_archive",
- "//build/config/coverage:default_coverage",
- "//build/config/sanitizers:default_sanitizer_flags",
- + "//electron/build/config:mas_build",
- ]
-
- if (is_win) {
|