1
0
Fork 0
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:
Ryan Dahl 2018-12-18 09:16:49 -05:00 committed by GitHub
parent 91a41ca124
commit 0481d6c2c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

4
.gn
View file

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

View file

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