(self, sdk, infoitem)
| 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: |
no test coverage detected