Index: build/android/gyp/lint.py |
diff --git a/build/android/gyp/lint.py b/build/android/gyp/lint.py |
index 9402780b094d3637943779fa0a61b9a4fe2b0192..70d931b9e63ae83753a3d005f857b12a59b32ecb 100755 |
--- a/build/android/gyp/lint.py |
+++ b/build/android/gyp/lint.py |
@@ -122,7 +122,7 @@ def _RunLint(lint_path, config_path, processed_config_path, manifest_path, |
if not os.path.exists(result_path): |
print 'Something is wrong:' |
print e |
- return 0 |
+ return 1 |
newt (away)
2015/06/17 21:00:47
shouldn't we check the value of can_fail_build her
aurimas (slooooooooow)
2015/06/17 21:50:24
Done
|
# There are actual lint issues |
else: |
@@ -133,7 +133,7 @@ def _RunLint(lint_path, config_path, processed_config_path, manifest_path, |
print 'File contents:' |
with open(result_path) as f: |
print f.read() |
- return 0 |
+ return 1 |
_ProcessResultFile() |
msg = ('\nLint found %d new issues.\n' |