Closed Bug 1170285 Opened 11 years ago Closed 11 years ago

Define lint.xml config for "base" sub-project

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

Attachments

(2 files, 1 obsolete file)

This bug should define some lint.xml configuration files (e.g. [1]) to reduce the number of errors at this point and fix the remaining issues. There are currently 1134 outstanding issues. :) [1]: https://groups.google.com/forum/#!topic/adt-dev/xWSUOAq3RCM
Note to self: also audit use of @SuppressLint.
Assignee: nobody → michael.l.comella
Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander While it might seem like a good idea to disable all of the checks we don't currently pass, Intellij uses the same lint configuration file as the command-line invocation and so we'll be more likely to write in new errors by disabling some checks.
Attachment #8614469 - Flags: review?(nalexander)
(In reply to Michael Comella (:mcomella) from comment #0) > and fix the remaining issues. Simplified this - bug 1170884. (In reply to Michael Comella (:mcomella) from comment #2) > Note to self: also audit use of @SuppressLint. bug 1170886.
Attachment #8614469 - Flags: review?(nalexander) → review+
Comment on attachment 8614469 [details] MozReview Request: Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander https://reviewboard.mozilla.org/r/9969/#review8835 I feel like this won't actually be used, even by |mach gradle build|. I feel like we'd need a symlink from $OBJDIR/mobile/android/gradle/base/lint.xml -> $SRCDIR/mobile/android/gradle/base/lint.xml. Like at https://dxr.mozilla.org/mozilla-central/source/mobile/android/mach_commands.py?from=mobile/android/mach_commands.py#132 However, if this does work, do it.
While it might seem like a good idea to disable all of the checks we don't currently pass, Intellij uses the same lint configuration file as the command-line invocation and so we'll be more likely to write in new errors by disabling some checks.
Comment on attachment 8614469 [details] MozReview Request: Bug 1170285 - Add lint.xml config file to base sub-project. r?nalexander Added symlinking to the other config file.
Attachment #8614469 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: