This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.
MozReview-Commit-ID: 2vEHp0QogXQ
--HG--
extra : rebase_source : c14f0b17904f8f9e0e3f004384c2a292ceeafe4f
extra : source : e95f8bd7b5190bf1d3fae75a88a15ebbe6613809
This is a fairly straightforward application of LOCALIZED_PP_FILES.
The extra layer of PREF_DIR can be removed because all of browser
has DIST_SUBDIR set due to it being exported in browser/moz.build, and
that means that PREF_DIR is always defaults/preferences here:
https://dxr.mozilla.org/mozilla-central/rev/f41930a869a84af81df1a88d8e82323ff3a6509a/config/rules.mk#1205
Additionally, it turns out that PREF_PPFLAGS is not set anywhere in the tree,
so I simply left it out of the translation.
MozReview-Commit-ID: 874EeTZRdLI
--HG--
extra : rebase_source : e6950c3528cdc655d290189641e2d54adc0422ae
extra : source : baa2f0ec9b1d2bb0e8c2e55ad38039a364637439
The additional `ifndef IS_LANGPACK` Makefile bits turned out to be unnecessary,
as langpack packaging excludes ini files:
https://dxr.mozilla.org/mozilla-central/rev/20d57b9c4183973af4af5e078dff2aec0b74f928/toolkit/locales/l10n.mk#220
We already don't have this wrapping around updater.ini so it doesn't seem
harmful.
MozReview-Commit-ID: 7kmg1AIVLcl
--HG--
extra : rebase_source : d0ea61865ad0b07054b894335f9266f19c1495f5
extra : source : 0e485a8fdc3f45ae4cdad75e010765fb48aa20c4
The hyphenation dictionaries we ship as part of the build don't depend
on the UI locale, let's stop treating them as localizable content during
repacks.
MozReview-Commit-ID: FTrw4KDtops
--HG--
extra : rebase_source : f6ddb22154fc66da0a7cdc56a4cecb58c9e3d54b
This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.
MozReview-Commit-ID: 2vEHp0QogXQ
--HG--
extra : rebase_source : fad397c5061fa1a613a4f4484c0d0be172116c1d
This drops the abuse of make dependencies to factor our steps
in l10n repacks and language packs.
It's replaced with clobbers, libs, and the packaging, which
can be shared between installers and the language pack.
MozReview-Commit-ID: 2vEHp0QogXQ
--HG--
extra : rebase_source : 3cfad08c20a100a50306fc44f955589c0568e29a
This is just for Nightly, and only for Desktop. Beta and beyond don't have
a canonical directory, and Fennec needs the platform in the directory.
MozReview-Commit-ID: 9dvJLVlWiQv
--HG--
extra : rebase_source : d8030eaf53954bdce6582c3024bfb199bb3ca873
To not merge the en-US language pack, the merge-% steps are in
a conditional function that disables that for en-US. Using a function
here as that's easier than a shell if in the merge rule, and
Makefile conditionals don't get evaluated late enough.
To liberate the l10n builds from settings in the automation,
we move the patch logic from LOCALE_MERGEDIR to REAL_LOCALE_MERGEDIR.
To determine strongly when we're in a repack or building a langpack,
the trick here is to
export IS_LANGUAGE_REPACK
in l10n.mk, and only set that to true in the entry-point rules.
Now, we can use that value in config.mk to define the l10n-specific
rules.
I did the same thing for langpack-%, which allows us to disable
the crashreporter files for language packs, for example.
With that,
make installers-de
just works, if you have localizations checked out.
For a while, we might run l10n-merge twice in automation, but it's really not
optional, so let's just make sure we run it.
MozReview-Commit-ID: 3nr33CKxkBQ
--HG--
extra : rebase_source : 0605a4adba018fa4b85d563cdafba80b0533bc91
This makes l10n-merge more consistent in how it works, and thus the following
changes that change that behavior easier.
MozReview-Commit-ID: IsKm9rBO4Dg
--HG--
extra : rebase_source : 73529e72a0aff2ca024584518548ff4aa519f47b
Set AB_CD on per-locale entry point pattern rules.
Not setting this on the repackaging top-level pattern rules, as they
need AB_CD to be en-US to find the original package to unpack.
MozReview-Commit-ID: JqrLYyEyvvb
--HG--
extra : rebase_source : 82c840f16e131fe8f340e21ff86a34c70e3f7f97
In order to be able to produce multi-locale Firefox Desktop, we need make chrome-% to work
for browser/locales the same way as it works for mobile/android/locales.
MozReview-Commit-ID: 9dm7YGZhr9C
--HG--
extra : rebase_source : 1bc514da6287b68e5cbd9d161944436d2ff38412
This allows us to do l10n-check with a windows installer, with a simple named package as output by the build, without also overriding the en-US build with the x-test locale, while we're at it
MozReview-Commit-ID: CIxlOQA2oFu
--HG--
extra : rebase_source : dfa2428ffbf6d6f62fd3039fa8a55801f6b3dd43
extra : source : 4b1ee31522f48497bf1eb6f5fa51106bde42ef05
This removes the UNIFY_DIST and UNIFIED_BUILD variables, as well as the
--unify flag from the packager and UnifiedBuildFinder from mozpack. As a
result the STAGEPATH variable is never defined anymore, so its uses can
be removed as well.
test_unify.py is currently the only mozbuild/mozpack test that fails
without running configure first, and there isn't much point in fixing
tests for things that we don't actually use anymore.
MozReview-Commit-ID: F5q1FPW3Did
--HG--
extra : rebase_source : cadbd237f51c23ea1983135294521d628d16f0df
This is no longer relevant now that we use release promotion instead of
a separate release build with MOZ_PKG_PRETTYNAMES=1.
MozReview-Commit-ID: 11mgGJ7IDaK
--HG--
extra : rebase_source : da8fde3ae36779549b2097fc95d754f558cb88c8
While here, fix abuses of GRE_MILESTONE in moz.build and use
RELEASE_OR_BETA instead.
--HG--
extra : rebase_source : 2a8c6501b0fe3bb603a65d52dda13c609a75b033