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

Unified Diff: build/mac/find_sdk.py

Issue 2218773004: Fail with a clear error if the required SDK is not installed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/mac/find_sdk.py
diff --git a/build/mac/find_sdk.py b/build/mac/find_sdk.py
index 618c0f57487e78aaccd294e525309909a167dbb8..f06fd15c1687da556d7c1702f682129f669b99f0 100755
--- a/build/mac/find_sdk.py
+++ b/build/mac/find_sdk.py
@@ -75,7 +75,7 @@ def main():
print >> sys.stderr, ''
print >> sys.stderr, ' ^^^^^^^'
print >> sys.stderr, ''
- return min_sdk_version
+ sys.exit(1)
if options.print_sdk_path:
print subprocess.check_output(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698