Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Unified Diff: tools/cr/cr/actions/gn.py

Issue 1104263002: cr: Fix gn argument generation in a release build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cr/cr/actions/gn.py
diff --git a/tools/cr/cr/actions/gn.py b/tools/cr/cr/actions/gn.py
index 7c3ca3a269bdabfb486032f648fdd34020f8e0cc..e532d1d77c18e77a3ddd61313440ac6bcdfe8b3f 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'))
petrcermak 2015/04/27 17:57:23 Another option would be to do: str(cr.context['CR
Sami 2015/04/27 17:58:57 Heh, neat idea. I think there's too much magic goi
# Detect goma.
goma_binaries = cr.Host.SearchPath('gomacc', [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698