Constructs a dictionary with expansion for $(ARCHS_STANDARD) variable, and optionally for $(ARCHS_STANDARD_INCLUDING_64_BIT).
(archs, archs_including_64_bit=None)
| 29 | |
| 30 | |
| 31 | def XcodeArchsVariableMapping(archs, archs_including_64_bit=None): |
| 32 | """Constructs a dictionary with expansion for $(ARCHS_STANDARD) variable, |
| 33 | and optionally for $(ARCHS_STANDARD_INCLUDING_64_BIT).""" |
| 34 | mapping = {"$(ARCHS_STANDARD)": archs} |
| 35 | if archs_including_64_bit: |
| 36 | mapping["$(ARCHS_STANDARD_INCLUDING_64_BIT)"] = archs_including_64_bit |
| 37 | return mapping |
| 38 | |
| 39 | |
| 40 | class XcodeArchsDefault: |
no outgoing calls
no test coverage detected