def XcodeArchsVariableMapping(archs, archs_including_64_bit=None):
 mapping = {'$(ARCHS_STANDARD)': archs}
 if archs_including_64_bit:
  mapping['$(ARCHS_STANDARD_INCLUDING_64_BIT)'] = archs_including_64_bit
 return mapping

def XcodeArchsVariableMapping ( archs , archs_including_64_bit = None ) : mapping = { '$(ARCHS_STANDARD)' : archs } if archs_including_64_bit : mapping [ '$(ARCHS_STANDARD_INCLUDING_64_BIT)' ] = archs_including_64_bit return mapping
constructs a dictionary with expansion for $ variable .