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

Method GetActiveArchs

tools/gyp/pylib/gyp/xcode_emulation.py:506–514  ·  view source on GitHub ↗

Returns the architectures this target should be built for.

(self, configname)

Source from the content-addressed store, hash-verified

504 return self._GetStandaloneBinaryPath()
505
506 def GetActiveArchs(self, configname):
507 """Returns the architectures this target should be built for."""
508 config_settings = self.xcode_settings[configname]
509 xcode_archs_default = GetXcodeArchsDefault()
510 return xcode_archs_default.ActiveArchs(
511 config_settings.get("ARCHS"),
512 config_settings.get("VALID_ARCHS"),
513 config_settings.get("SDKROOT"),
514 )
515
516 def _GetSdkVersionInfoItem(self, sdk, infoitem):
517 # xcodebuild requires Xcode and can't run on Command Line Tools-only

Callers 3

GetCflagsMethod · 0.95
GetLdflagsMethod · 0.95
WriteSpecMethod · 0.80

Calls 3

GetXcodeArchsDefaultFunction · 0.85
ActiveArchsMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected