summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorskyostil <skyostil@chromium.org>2015-04-27 11:10:21 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-27 18:10:15 +0000
commit8365bb185bf7af6ad151b9d5e5931289d9e22b33 (patch)
treecd02f3727a2b6edc3d6616d75667fbf00cce04be /tools
parent15f5713c41825ea900cd6dc4f6de4a6d3fff538d (diff)
downloadchromium_src-8365bb185bf7af6ad151b9d5e5931289d9e22b33.zip
chromium_src-8365bb185bf7af6ad151b9d5e5931289d9e22b33.tar.gz
chromium_src-8365bb185bf7af6ad151b9d5e5931289d9e22b33.tar.bz2
cr: Fix gn argument generation in a release build
The condition was being misinterpreted because of missing braces. Review URL: https://codereview.chromium.org/1104263002 Cr-Commit-Position: refs/heads/master@{#327071}
Diffstat (limited to 'tools')
-rw-r--r--tools/cr/cr/actions/gn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cr/cr/actions/gn.py b/tools/cr/cr/actions/gn.py
index 7c3ca3a..e532d1d 100644
--- a/tools/cr/cr/actions/gn.py
+++ b/tools/cr/cr/actions/gn.py
@@ -35,7 +35,7 @@ class GnPrepareOut(cr.PrepareOut):
gn_args += ' %s=%s' % (key[len(GN_ARG_PREFIX):], value)
gn_args += (' is_debug=%s' %
- 'true' if cr.context['CR_BUILDTYPE'] == 'Debug' else 'false')
+ ('true' if cr.context['CR_BUILDTYPE'] == 'Debug' else 'false'))
# Detect goma.
goma_binaries = cr.Host.SearchPath('gomacc', [