Closed Bug 1235151 Opened 8 years ago Closed 8 years ago

Stop using -I for defines.inc in toolkit/library/l10n.mk

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files)

      No description provided.
The only difference between all of them is the application id they target.
Interestingly, the Fennec one is still targetting the XUL appid, instead
of the Android one, which doesn't seem right.
Attachment #8701999 - Flags: review?(mshal)
Comment on attachment 8701999 [details] [diff] [review]
Factor all the install.rdfs used for langpacks

LGTM - nalexander, I assume fixing the appid for Android here won't break anything?
Flags: needinfo?(nalexander)
Attachment #8701999 - Flags: review?(mshal) → review+
Attachment #8702000 - Flags: review?(mshal) → review+
(In reply to Michael Shal [:mshal] from comment #3)
> Comment on attachment 8701999 [details] [diff] [review]
> Factor all the install.rdfs used for langpacks
> 
> LGTM - nalexander, I assume fixing the appid for Android here won't break
> anything?

I doubt it but I know little here.  Redirecting to mfinkle, who may know more.
Flags: needinfo?(nalexander) → needinfo?(mark.finkle)
https://hg.mozilla.org/mozilla-central/rev/b87f6584f8a0
https://hg.mozilla.org/mozilla-central/rev/4d454d2bb20e
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Due to android being android, we can't do language packs in their real sense. Not sure if there's any use case to have those for fennec at all these days?
Clearing mfinkle's NI, since this landed and nothing's borked.
Flags: needinfo?(mark.finkle)
(In reply to Axel Hecht [:Pike] from comment #7)
> Due to android being android, we can't do language packs in their real
> sense. Not sure if there's any use case to have those for fennec at all
> these days?

I think you're correct, this isn't really used.  The only references I see to defines.inc in mobile/ are in scripts working around mobile/android -- https://dxr.mozilla.org/mozilla-central/search?q=path%3Amobile+%22defines.inc%22&redirect=true&case=false

After that, the references are in https://dxr.mozilla.org/mozilla-central/source/toolkit/locales/l10n.mk in the langpack-* targets, which probably don't get invoked for Android.  So we should be able to cull some of these work-arounds.  I think that's a separate ticket that removes work-arounds and ensures that langpack-* targets fail for Fennec and b2gdroid.
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: