Lines Matching refs:sdk
24 def GetSDKPath(sdk):
25 """Return SDKROOT if the SDK version |sdk| is installed or empty string."""
29 ['xcodebuild', '-version', '-sdk', 'macosx' + sdk, 'Path'],
36 """Select the oldest SDK installed (greater than 10.6)."""
37 for sdk in ['10.6', '10.7', '10.8', '10.9']:
38 path = GetSDKPath(sdk)
40 return True, sdk, path
43 # Make sure this works on the bots, which only have the 10.6 sdk, and on
44 # dev machines which usually don't have the 10.6 sdk.
45 sdk_found, sdk, sdk_path = SelectSDK()
49 test.write('sdkroot/test.gyp', test.read('sdkroot/test.gyp') % sdk)