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'
|
return 'true'
|
||||||
else:
|
else:
|
||||||
return 'false'
|
return 'false'
|
||||||
|
elif isinstance(val, int):
|
||||||
|
return val
|
||||||
else:
|
else:
|
||||||
return '"%s"' % val
|
return '"%s"' % val
|
||||||
return val
|
return val
|
||||||
|
|
Loading…
Reference in New Issue