Index: build/android/gyp/lint.py |
diff --git a/build/android/gyp/lint.py b/build/android/gyp/lint.py |
index 631ceaff5374dae91b514c1e3c4c10f41a2d2b79..fb3c488e894dcd2d80041cc5b3aa81d522f22096 100755 |
--- a/build/android/gyp/lint.py |
+++ b/build/android/gyp/lint.py |
@@ -76,7 +76,7 @@ def _RunLint(lint_path, config_path, processed_config_path, manifest_path, |
_ProcessConfigFile() |
cmd = [ |
- lint_path, '-Werror', '--exitcode', '--showall', |
+ lint_path, '--nowarn', '--exitcode', '--showall', |
'--config', _RelativizePath(processed_config_path), |
'--classpath', _RelativizePath(classes_dir), |
'--xml', _RelativizePath(result_path), |
@@ -110,7 +110,8 @@ def _RunLint(lint_path, config_path, processed_config_path, manifest_path, |
'lint', 'suppress.py')), |
_RelativizePath(result_path))) |
print >> sys.stderr, msg |
- return 1 |
+ # Lint errors do not fail the build. |
+ return 0 |
return 0 |