mirror of
https://github.com/denoland/deno.git
synced 2025-01-04 13:28:47 -05:00
Enable jumbo build in release. (#1362)
This commit is contained in:
parent
91a41ca124
commit
0481d6c2c0
2 changed files with 5 additions and 3 deletions
4
.gn
4
.gn
|
@ -34,6 +34,10 @@ default_args = {
|
|||
# Works in other configurations.
|
||||
is_component_build = false
|
||||
|
||||
# Enable Jumbo build for a faster build.
|
||||
# https://chromium.googlesource.com/chromium/src/+/master/docs/jumbo.md
|
||||
use_jumbo_build = true
|
||||
|
||||
symbol_level = 1
|
||||
treat_warnings_as_errors = true
|
||||
rust_treat_warnings_as_errors = true
|
||||
|
|
|
@ -107,9 +107,7 @@ def generate_gn_args(mode):
|
|||
if mode == "release":
|
||||
out += ["is_official_build=true"]
|
||||
elif mode == "debug":
|
||||
# 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"]
|
||||
out += ["is_debug=true"]
|
||||
else:
|
||||
print "Bad mode {}. Use 'release' or 'debug' (default)" % mode
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue