From 0481d6c2c05eedbab289a85d8bfe4b909013491d Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 18 Dec 2018 09:16:49 -0500 Subject: [PATCH] Enable jumbo build in release. (#1362) --- .gn | 4 ++++ tools/setup.py | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gn b/.gn index 8688703491..72cd84f47e 100644 --- a/.gn +++ b/.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 diff --git a/tools/setup.py b/tools/setup.py index 8660ee6d7b..31350c374e 100755 --- a/tools/setup.py +++ b/tools/setup.py @@ -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)