Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Side by Side Diff: build/config/ios/ios_sdk.py

Issue 141433015: GN build fixes, mostly for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: put back sha1 file Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698