gn_args: Fix representation of int-type GN_DEFINES values (see issue #2856)
This commit is contained in:
parent
08f6cbb675
commit
06a5a5bb36
|
@ -146,6 +146,8 @@ def GetValueString(val):
|
|||
return 'true'
|
||||
else:
|
||||
return 'false'
|
||||
elif isinstance(val, int):
|
||||
return val
|
||||
else:
|
||||
return '"%s"' % val
|
||||
return val
|
||||
|
|
Loading…
Reference in New Issue