@staticmethod
def _gen_defines(defines):
    output = io.StringIO()
    for define in sorted(defines.keys()):
        output.write(('<listOptionValue builtIn="false" value="%s=%s"/>\n' % (define, escape(defines[define], {'"': '&quot;'}))))
    return output.getvalue()
@staticmethod
def _gen_defines(defines):
    output = io.StringIO()
    for define in sorted(defines.keys()):
        output.write(('<listOptionValue builtIn="false" value="%s=%s"/>\n' % (define, escape(defines[define], {'"': '&quot;'}))))
    return output.getvalue()