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

Method _GetSdkVersionInfoItem

tools/gyp/pylib/gyp/xcode_emulation.py:516–524  ·  view source on GitHub ↗
(self, sdk, infoitem)

Source from the content-addressed store, hash-verified

514 )
515
516 def _GetSdkVersionInfoItem(self, sdk, infoitem):
517 # xcodebuild requires Xcode and can't run on Command Line Tools-only
518 # systems from 10.7 onward.
519 # Since the CLT has no SDK paths anyway, returning None is the
520 # most sensible route and should still do the right thing.
521 try:
522 return GetStdoutQuiet(["xcrun", "--sdk", sdk, infoitem])
523 except (GypError, OSError):
524 pass
525
526 def _SdkRoot(self, configname):
527 if configname is None:

Callers 3

_XcodePlatformPathMethod · 0.95
_XcodeSdkPathMethod · 0.95
GetExtraPlistItemsMethod · 0.95

Calls 1

GetStdoutQuietFunction · 0.85

Tested by

no test coverage detected