Home | History | Annotate | Download | only in mac

Lines Matching refs:sdk

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