1
0
Fork 0
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:
Jinho Bang 2018-10-16 02:28:35 +09:00 committed by Ryan Dahl
parent 25c97962f4
commit 28682a1d2c
2 changed files with 3 additions and 5 deletions

4
.gn
View file

@ -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

View file

@ -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)