Apilint shows lots of warning because it cannot find org.mozilla.geckoview.BuildConfig

RESOLVED FIXED in Firefox 66

Status

defect
RESOLVED FIXED
4 months ago
4 months ago

People

(Reporter: JanH, Unassigned)

Tracking

unspecified
mozilla66
All
Android

Firefox Tracking Flags

(firefox66 fixed)

Details

Attachments

(1 attachment)

Like below, only repeated 15 times (currently):

> /home/jan/Mozilla/mozilla-central/mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoHlsAudioRenderer.java:13: error: cannot find symbol
> import org.mozilla.geckoview.BuildConfig;
>                             ^
>   symbol:   class BuildConfig
>   location: package org.mozilla.geckoview

Those warnings aren't fatal, but they're still annoying and detract from whether the apilint run itself was successful or not.

Thanks for the report JanH! This is because we don't want BuildConfig to be part of the api and we skip it in here. I guess we can just not generate the api outline for that class instead.

Comment 3

4 months ago
Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c997411e8d31
Fix apilint warnings about BuildConfig. r=geckoview-reviewers,snorp

Comment 4

4 months ago
bugherder
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.