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', [ |