Closed Bug 1541609 Opened 5 months ago Closed 5 months ago

Enforce list of whitelisted packages in API

Categories

(GeckoView :: General, enhancement)

Unspecified
All
enhancement
Not set

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

Depends on D26029

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 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.