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

Side by Side Diff: build_gyp/mac_find_sdk.py

Issue 1900913003: Move build/ to build_gyp/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 PDFium Authors. All rights reserved. 2 # Copyright 2016 PDFium 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 """Prints the lowest locally available SDK version greater than or equal to a 6 """Prints the lowest locally available SDK version greater than or equal to a
7 given minimum sdk version to standard output. 7 given minimum sdk version to standard output.
8 8
9 Usage: 9 Usage:
10 python mac_find_sdk.py 10.6 # Ignores SDKs < 10.6 10 python mac_find_sdk.py 10.6 # Ignores SDKs < 10.6
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 'macosx' + best_sdk, 'Path']).strip() 84 'macosx' + best_sdk, 'Path']).strip()
85 85
86 return best_sdk 86 return best_sdk
87 87
88 88
89 if __name__ == '__main__': 89 if __name__ == '__main__':
90 if sys.platform != 'darwin': 90 if sys.platform != 'darwin':
91 raise Exception("This script only runs on Mac") 91 raise Exception("This script only runs on Mac")
92 print main() 92 print main()
93 sys.exit(0) 93 sys.exit(0)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698