| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 
|  | 2 # Use of this source code is governed by a BSD-style license that can be | 
|  | 3 # found in the LICENSE file. | 
|  | 4 | 
|  | 5 import subprocess | 
|  | 6 import sys | 
|  | 7 | 
|  | 8 # This script returns the path to the SDK of the given type. Pass the type of | 
|  | 9 # SDK you want, which is typically "iphone" or "iphonesimulator". | 
|  | 10 # | 
|  | 11 # In the GYP build, this is done inside GYP itself based on the SDKROOT | 
|  | 12 # variable. | 
|  | 13 | 
|  | 14 if len(sys.argv) != 2: | 
|  | 15   print "Takes one arg (SDK to find)" | 
|  | 16   sys.exit(1) | 
|  | 17 | 
|  | 18 print subprocess.check_output(['xcodebuild', '-version', '-sdk', | 
|  | 19                                sys.argv[1], 'Path']).strip() | 
| OLD | NEW | 
|---|