[Android] Do not fail the build due to lint issues.

- Treat lint issues as warnings not errors
- Also, disable Recycle rule

BUG=None
NOTRY=True

Review URL: https://codereview.chromium.org/132473003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@244078 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
frankf@chromium.org 2014-01-10 03:50:32 +00:00
Родитель 2005dccbd0
Коммит c1c58562d3
2 изменённых файлов: 5 добавлений и 9 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -75,6 +75,7 @@ Still reading?
</issue>
<issue id="NewApi">
<ignore path="PRODUCT_DIR/chromium_testshell_test_apk/classes/org/chromium/printing/PrintingControllerTest$6.class"/>
<ignore path="PRODUCT_DIR/chromium_testshell_test_apk/classes/org/chromium/printing/PrintingControllerTest$7.class"/>
<ignore path="PRODUCT_DIR/chromium_testshell_test_apk/classes/org/chromium/printing/PrintingControllerTest.class"/>
<ignore path="PRODUCT_DIR/content_shell_test_apk/classes/org/chromium/content/browser/ClipboardTest.class"/>
<ignore path="android_webview/java/src/org/chromium/android_webview/AwPdfExporter.java"/>
@ -109,19 +110,13 @@ Still reading?
<ignore path="ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java"/>
<ignore path="ui/android/java/src/org/chromium/ui/base/Clipboard.java"/>
<ignore path="ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java"/>
<ignore path="ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java"/>
<ignore path="ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java"/>
</issue>
<issue id="OldTargetApi">
<ignore path="AndroidManifest.xml"/>
</issue>
<issue id="Recycle" severity="Error">
<ignore path="PRODUCT_DIR/content_shell_test_apk/classes/org/chromium/content/browser/ContentViewGestureHandlerTest.class"/>
<ignore path="android_webview/javatests/src/org/chromium/android_webview/test/WebKitHitTestTest.java"/>
<ignore path="android_webview/javatests/src/org/chromium/android_webview/test/util/AwTestTouchUtils.java"/>
<ignore path="chrome/android/javatests/src/org/chromium/chrome/browser/test/ProviderBookmarkNodeTest.java"/>
<ignore path="content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestTouchUtils.java"/>
<ignore path="content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TouchCommon.java"/>
</issue>
<issue id="Recycle" severity="ignore"/>
<issue id="Registered" severity="ignore"/>
<issue id="SdCardPath">
<ignore path="content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java"/>