MCPcopy Index your code
hub / github.com/nodejs/node / XcodeArchsVariableMapping

Function XcodeArchsVariableMapping

tools/gyp/pylib/gyp/xcode_emulation.py:31–37  ·  view source on GitHub ↗

Constructs a dictionary with expansion for $(ARCHS_STANDARD) variable, and optionally for $(ARCHS_STANDARD_INCLUDING_64_BIT).

(archs, archs_including_64_bit=None)

Source from the content-addressed store, hash-verified

29
30
31def 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
40class XcodeArchsDefault:

Callers 1

GetXcodeArchsDefaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected