Closed Bug 1541609 Opened 5 years ago Closed 5 years ago

Enforce list of whitelisted packages in API

Categories

(GeckoView :: General, enhancement)

Unspecified
All
enhancement
Not set
normal

Tracking

(firefox66 wontfix, firefox67 wontfix, firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fixed

People

(Reporter: agi, Assigned: agi)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

We should enforce that no org.mozilla.gecko classes end up in the API, or otherwise any class from other packages that we don't want our API to depend on.

Apilint 0.1.9 offer this feature, see https://github.com/mozilla-mobile/gradle-apilint/commit/e92729047798aa12c0d0186d3fbed67e3aa747d9

Type: defect → enhancement

apilint 0.1.9 fixes a bug that was causing us to miss some annotation lints.
This commit fixes all of them before we can upgrade.

Depends on D26028

Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ac53565c0c69
[geckoview] Add missing nullability annotations. r=esawin
https://hg.mozilla.org/integration/autoland/rev/f9a157cbe246
[geckoview] Enforce packages in API. r=snorp,esawin
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: