mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 21:50:00 -05:00
Fix a binary size regression
This patch changes Jumbo build to use only in debug mode.
This commit is contained in:
parent
25c97962f4
commit
28682a1d2c
2 changed files with 3 additions and 5 deletions
4
.gn
4
.gn
|
@ -32,10 +32,6 @@ default_args = {
|
|||
treat_warnings_as_errors = false
|
||||
rust_treat_warnings_as_errors = true
|
||||
|
||||
# Enable Jumbo build by default
|
||||
# https://chromium.googlesource.com/chromium/src/+/master/docs/jumbo.md
|
||||
use_jumbo_build = true
|
||||
|
||||
# https://cs.chromium.org/chromium/src/docs/ccache_mac.md
|
||||
clang_use_chrome_plugins = false
|
||||
|
||||
|
|
|
@ -104,7 +104,9 @@ def generate_gn_args(mode):
|
|||
if mode == "release":
|
||||
out += ["is_official_build=true"]
|
||||
elif mode == "debug":
|
||||
pass
|
||||
# Enable Jumbo build by default in debug mode for faster build.
|
||||
# https://chromium.googlesource.com/chromium/src/+/master/docs/jumbo.md
|
||||
out += ["use_jumbo_build=true"]
|
||||
else:
|
||||
print "Bad mode {}. Use 'release' or 'debug' (default)" % mode
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue