gn_args: Fix representation of int-type GN_DEFINES values (see issue #2856)

This commit is contained in:
Marshall Greenblatt 2020-01-13 16:50:00 +01:00
parent 08f6cbb675
commit 06a5a5bb36

View File

@ -146,6 +146,8 @@ def GetValueString(val):
return 'true'
else:
return 'false'
elif isinstance(val, int):
return val
else:
return '"%s"' % val
return val