Closed
Bug 1407374
Opened 7 years ago
Closed 7 years ago
Port the INSTALL_TARGET in extensions/spellcheck/locales/Makefile.in to moz.build
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: mshal, Assigned: ted)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This is made slightly tricky since it pulls files from LOCALE_SRCDIR, so we need to find a way to support this in moz.build and still work with l10n.
Assignee | ||
Comment 1•7 years ago
|
||
I have a patch that uses the `LOCALIZED_FILES` implementation from bug 1409721 to do this. This is what `mach build-backend --diff` shows for the patch:
https://gist.github.com/luser/ffd3210ec7d614cd9dfaf855eba9a92d
The Makefile vs. backend.mk changes show that it looks to be generating functionally the same rules. The root[-deps].mk changes are because I removed the Makefile.in, so that directory no longer gets forced into the export tier, which is a nice side benefit. The install manifest changes are because the fastermake backend treats `LOCALIZED_FILES` the same as `FINAL_TARGET_FILES`, which should be fine for the time being. It has the other nice side effect that that means `mach build faster` will work for these localized files.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8927991 -
Flags: review?(core-build-config-reviews)
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8927991 [details]
bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build.
https://reviewboard.mozilla.org/r/199212/#review205006
If the prerequisites get hammered out, this will be fine.
::: extensions/spellcheck/locales/moz.build:7
(Diff revision 1)
> # vim: set filetype=python:
> # This Source Code Form is subject to the terms of the Mozilla Public
> # License, v. 2.0. If a copy of the MPL was not distributed with this
> # file, You can obtain one at http://mozilla.org/MPL/2.0/.
>
> +LOCALIZED_FILES.dictionaries += [
Is this that one weird consumer? It would be nicer to bake the AB_CD into the .aff and .dic file names, but I'll take this.
Attachment #8927991 -
Flags: review+
Updated•7 years ago
|
Attachment #8927991 -
Flags: review?(core-build-config-reviews)
Assignee | ||
Comment 6•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8927991 [details]
bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build.
https://reviewboard.mozilla.org/r/199212/#review205006
> Is this that one weird consumer? It would be nicer to bake the AB_CD into the .aff and .dic file names, but I'll take this.
Yeah, it's the only thing using wildcards for localized content. Additionally, not every locale has hunspell dictionaries, so we really do need a special case to make it work.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ted
Assignee | ||
Comment 7•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d9110808927225f45a7667f5048e6b2dfd2f2242
bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build. r=nalexander
Backout by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/53047a13f6ea
Backed out changeset d91108089272
![]() |
||
Comment 9•7 years ago
|
||
Backed out because bug 1409721 had to be backed out and this bug depended on it:
https://hg.mozilla.org/integration/mozilla-inbound/rev/53047a13f6ea05e3c325b9fd94a18da0dbf80c9f
Flags: needinfo?(ted)
Assignee | ||
Comment 10•7 years ago
|
||
Per bug 1409721 comment 53, I think this was the actual source of the bustage. I'll do a try push with just the commits from the other bug (including artifact builds) and if that works I'll re-land just those until I fix this.
Flags: needinfo?(ted)
Assignee | ||
Comment 11•7 years ago
|
||
The fix for the bustage is in bug 1419055, it was a bug in the FasterMake backend. I verified that pushing rest of the patches from bug 1409721 to try doesn't break artifact builds, so I'll re-land those until I get review on that fix.
Assignee | ||
Comment 12•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0cfaf6902748f13a602ec69c5cd6f56b7713a4e5
bug 1407374 - move hunspell dictionary copying to LOCALIZED_FILES in moz.build. r=nalexander
Comment 13•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•