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

Side by Side Diff: dart/tools/gyp/find_mac_sdk.py

Issue 119673004: Version 1.1.0-dev.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: 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
« no previous file with comments | « dart/tools/gyp/find_mac_gcc_version.py ('k') | dart/tools/gyp/source_filter.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 6 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
7 # for details. All rights reserved. Use of this source code is governed by a 7 # for details. All rights reserved. Use of this source code is governed by a
8 # BSD-style license that can be found in the LICENSE file. 8 # BSD-style license that can be found in the LICENSE file.
9 9
10 # This file is a copy of Chromium's src/build/mac/find_sdk.py. 10 # This file is a copy of Chromium's src/build/mac/find_sdk.py.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 print >>sys.stderr, '' 78 print >>sys.stderr, ''
79 print >>sys.stderr, ' ^^^^^^^' 79 print >>sys.stderr, ' ^^^^^^^'
80 print >>sys.stderr, '' 80 print >>sys.stderr, ''
81 return min_sdk_version 81 return min_sdk_version
82 82
83 return best_sdk 83 return best_sdk
84 84
85 85
86 if __name__ == '__main__': 86 if __name__ == '__main__':
87 if sys.platform != 'darwin': 87 if sys.platform != 'darwin':
88 raise Exception("This script only runs on Mac") 88 # raise Exception("This script only runs on Mac")
89 print main() 89 # If we aren't on Mac, print out a dummy version string; it won't be used.
90 print 'X.X'
91 else:
92 print main()
OLDNEW
« no previous file with comments | « dart/tools/gyp/find_mac_gcc_version.py ('k') | dart/tools/gyp/source_filter.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698