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

Method _XcodeSdkPath

tools/gyp/pylib/gyp/xcode_emulation.py:546–552  ·  view source on GitHub ↗
(self, sdk_root)

Source from the content-addressed store, hash-verified

544 return self._XcodeSdkPath(sdk_root)
545
546 def _XcodeSdkPath(self, sdk_root):
547 if sdk_root not in XcodeSettings._sdk_path_cache:
548 sdk_path = self._GetSdkVersionInfoItem(sdk_root, "--show-sdk-path")
549 XcodeSettings._sdk_path_cache[sdk_root] = sdk_path
550 if sdk_root:
551 XcodeSettings._sdk_root_cache[sdk_path] = sdk_root
552 return XcodeSettings._sdk_path_cache[sdk_root]
553
554 def _AppendPlatformVersionMinFlags(self, lst):
555 self._Appendf(lst, "MACOSX_DEPLOYMENT_TARGET", "-mmacosx-version-min=%s")

Callers 3

_SdkPathMethod · 0.95
_DefaultSdkRootMethod · 0.95
_GetXcodeEnvFunction · 0.80

Calls 1

Tested by

no test coverage detected