Closed Bug 1047674 Opened 11 years ago Closed 11 years ago

Move AppConstants into mozglue (or an earlier build stage)

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 34

People

(Reporter: rnewman, Assigned: rnewman, Mentored)

References

Details

Attachments

(1 file)

We'd like to use it from GeckoLoader, utils, etc. Right now those places either redefine constants, or don't take advantage of features (e.g., AppConstants.Versions).
This is the most minimal patch: we don't move the file, just build the same file at a different point. This has the advantages of not having to change a-s import scripts or file imports elsewhere in the tree. The only disadvantage is that we have a file being built into the intermediate mozglue jar that isn't in the mozglue directory. That doesn't bother me; if it bothers you, say so! Tested that this makes AppConstants available to utils, so as a follow-up we can use AppConstants in more places.
Attachment #8466728 - Flags: review?(blassey.bugs)
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Attachment #8466728 - Flags: review?(blassey.bugs) → review+
Blocks: 1048421
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
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: