Commit Graph
4530 Commits
Author SHA1 Message Date
Nick Alexander 2df8fdfe39 Bug 1496190 - Add |mach package-multi-locale|; produce multi-locale GeckoView archives. r=Callek,firefox-build-system-reviewers,ted
All that is really required for this ticket is to invoke |mach android
archive-geckoview| after |mach package| in the right place.

But it's actively unhelpful to have this magic in mozharness --
especially since the documentation in `locales.rst` is subtly
incorrect (the environment variables and Make variables don't quite
work as written).  So this commit adds a Mach command to do the actual
work and replaces most of the mozharness magic with that command.
Since the l10n Make targets check out the l10n HG repositories
locally, this basically Just Works without the mozharness checkout
steps when developing locally.

Differential Revision: https://phabricator.services.mozilla.com/D12455
2019-01-07 19:22:44 +00:00
arthur.iakab 5ccb27be44 Backed out changeset 5f6139ef7c2c (bug 1515261) for causing Windows build bustages CLOSED TREE 2019-01-04 18:29:53 +02:00
Andrew Halberstadt dcfd060126 Bug 1515261 - [mozversioncontrol] Fix unicode env string on Windows, r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15727
2019-01-04 15:31:56 +00:00
Chris Manchester e97baf9e74 Bug 1507344 - Add configure machinery for MOZ_PROFILE_USE and merging profile. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13863
2018-12-21 19:02:11 +00:00
Mike Hommey 287145772a Bug 1515901 - Avoid loading mozconfig multiple times from MozbuildObject. r=froydnj
When running `mach help`, mozconfig is loaded multiple times, and even
with an almost empty mozconfig, this makes mach help take close to 10
seconds on my Windows machine.

With some memoization, the time to run mach help gets down to 2s.

Differential Revision: https://phabricator.services.mozilla.com/D15186
2018-12-29 14:15:38 +00:00
Ted Mielczarek 1828251e6a bug 1517244 - Try to log more info during intermittent test_telemetry failure. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15578
2019-01-02 16:56:12 +00:00
Bogdan Tara d2a8b61ef9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-28 23:53:12 +02:00
Jared Wein 217f770838 Bug 1507595 - Test fixes. r=flod,Gijs
There are multiple fixes contained in this patch:
- fixes for Android/mobile support
- adding extra strings to the ftl file that were never defined before, and previously the ID was just printed to the page
- update test_l10n.py to not rely on about:support anymore
- changing Troubleshoot.jsm to return and ID and args for the strings that should be displayed, so it is compatible with the Fluent API
- misc. fixes so strings that are not localized don't go through the Fluent codepath

Differential Revision: https://phabricator.services.mozilla.com/D15437
2018-12-28 19:40:33 +00:00
Jared Wein ecc894a2b4 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing ([email protected]).

Differential Revision: https://phabricator.services.mozilla.com/D14905
2018-12-28 19:40:17 +00:00
Chris Manchester 9ba6d35ee0 Bug 1515512 - Require rustc 1.31. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15396
2018-12-27 02:22:54 +00:00
Cosmin Sabou a5d0471991 Backed out changeset f162598ad12c (bug 1515512) on the suspicion of causing Linux asan browser chrome exceptions. 2018-12-27 07:43:08 +02:00
Chris Manchester 6d4289e700 Bug 1515512 - Require rustc 1.31. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15396
2018-12-27 02:22:54 +00:00
Ciure Andrei b8f9396335 Backed out 2 changesets (bug 1507595) for Android build bustages, missing aboutSupport.dtd CLOSED TREE
Backed out changeset 485ea25a3b82 (bug 1507595)
Backed out changeset 28805dd1b97a (bug 1507595)
2018-12-24 18:44:38 +02:00
Jared Wein 376067b7f2 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing ([email protected]).

Differential Revision: https://phabricator.services.mozilla.com/D14905
2018-12-24 16:19:20 +00:00
Dorel Luca cde324f0da Backed out changeset e8700e52f777 (bug 1515901) for build bustage. CLOSED TREE 2018-12-22 01:17:42 +02:00
Mike Hommey d6ce000dc3 Bug 1515852 - Move --with-system-jpeg to python configure. r=froydnj
We remove --disable-libjpeg-turbo because that's only useful when Yasm
is too old, and the required version is now almost 8 years old, so we
can reasonably require people to upgrade rather than workaround with a
--disable option.

The valid_yasm_version function can seem overkill, but that's because
future moves of other things to python configure will pile up.

Differential Revision: https://phabricator.services.mozilla.com/D15184
2018-12-21 15:47:22 +00:00
Mike Hommey be7e1ab2a9 Bug 1515843 - Remove HOST_AR/HOST_RANLIB. r=ted
Now that we're not even building host static libraries, we don't need
variables for the tools used to build them.

Ironically, we weren't even running HOST_RANLIB.

Depends on D15172

Differential Revision: https://phabricator.services.mozilla.com/D15173
2018-12-21 23:00:17 +00:00
Mike Hommey fac43ba18f Bug 1515843 - Stop building host static libraries. r=ted
The build system has skipped creating target static libraries for very
long, except in very specific cases.

We can actually do the same for host static libraries, for which we
don't even need the escape hatch to still allow to create static
libraries.

Depends on D15171

Differential Revision: https://phabricator.services.mozilla.com/D15172
2018-12-21 23:00:00 +00:00
Mike Hommey 1dadfc23a4 Bug 1515526 - Remove need_help_dependency arguments in python configure code. r=chmanchester
It turns out all the changes related to --help linting in lint.py make
them unnecessary, and we still can detect missing --help arguments
without them, per test_lint.py. On the flip side, keeping those
need_help_dependency arguments makes some functions executed twice
because some memoized functions end up being called for both cases
need_help_dependency=True and need_help_dependency=False.

Differential Revision: https://phabricator.services.mozilla.com/D15054
2018-12-21 22:55:16 +00:00
Mike Hommey 05a40435d7 Bug 1515901 - Avoid loading mozconfig multiple times from MozbuildObject. r=froydnj
When running `mach help`, mozconfig is loaded multiple times, and even
with an almost empty mozconfig, this makes mach help take close to 10
seconds on my Windows machine.

With some memoization, the time to run mach help gets down to 2s.

Differential Revision: https://phabricator.services.mozilla.com/D15186
2018-12-21 15:43:03 +00:00
Mike Hommey fcc9d1bf29 Bug 1515808 - Compensate for older python's buggy inspect.getblock. r=nalexander
Fixing this unveils an issue in TestRecursiveMake::test_linkage that
was happening locally but not on automation, due to the Binary()
template never being invoked on automation.

Differential Revision: https://phabricator.services.mozilla.com/D15162
2018-12-21 00:47:29 +00:00
Mike Hommey 6334422f18 Bug 1515577 - Don't quote shell strings when they contain a ~, except in first position. r=ted
We only need to quote strings that would be treated specially by the
shell, and "foo~bar" doesn't get any sort of expansion, while "~foo"
gets a user expansion, and to avoid that expansion, those latter strings
need to be quoted, but not the former.

Differential Revision: https://phabricator.services.mozilla.com/D15065
2018-12-21 00:05:32 +00:00
Brindusan Cristian 48ad1bba39 Backed out changeset 6944bc1c900b (bug 1515577) for build bustages on test_checks_configure.py. 2018-12-21 00:45:51 +02:00
Mike Hommey 3210fc5aed Bug 1515577 - Don't quote shell strings when they contain a ~, except in first position. r=ted
We only need to quote strings that would be treated specially by the
shell, and "foo~bar" doesn't get any sort of expansion, while "~foo"
gets a user expansion, and to avoid that expansion, those latter strings
need to be quoted, but not the former.

Differential Revision: https://phabricator.services.mozilla.com/D15065
2018-12-20 21:51:01 +00:00
Sebastian Hengst e6609388b4 Backed out 21 changesets (bug 1492664) for breaking cron task for nightlies. a=backout
Backed out changeset a7d50dbb2c8e (bug 1492664)
Backed out changeset 2d876c4ece8b (bug 1492664)
Backed out changeset c82285d253de (bug 1492664)
Backed out changeset bf6d089640eb (bug 1492664)
Backed out changeset d9a7f2ce49c3 (bug 1492664)
Backed out changeset 06c466ab4323 (bug 1492664)
Backed out changeset c1ea4a10cc8d (bug 1492664)
Backed out changeset 4c63a04fdd47 (bug 1492664)
Backed out changeset 742b038bb1dd (bug 1492664)
Backed out changeset 911b4b0fb683 (bug 1492664)
Backed out changeset 870c8cec99e5 (bug 1492664)
Backed out changeset 77699b51336b (bug 1492664)
Backed out changeset 29f33f22fd8b (bug 1492664)
Backed out changeset e7f305408708 (bug 1492664)
Backed out changeset 335a92b1f424 (bug 1492664)
Backed out changeset c566f1c8dcdf (bug 1492664)
Backed out changeset c77ae59aba41 (bug 1492664)
Backed out changeset 9c35dd209c6b (bug 1492664)
Backed out changeset a972d6b4434e (bug 1492664)
Backed out changeset 5ea6f03f845e (bug 1492664)
Backed out changeset 0699d3873e44 (bug 1492664)
2018-12-20 12:43:22 +02:00
Razvan Maries 521c2bbb44 Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Tom Prince 9b0f7c3319 Bug 1514124: [win64-aarch64] Pass the architecture to mar generation, so that it can pass the appropriate arch flag to xz; r=aki,Callek
XZ supports rewritting addresses in executable code, which is architechture
specific. The updater is compiled with support for the target architecture
only, so we can't always compress updates passing `--x86` to XZ. This threads
the architecture through to the repackage steps, so we can pass the appropraite
flags to the update packaging scripts.

Differential Revision: https://phabricator.services.mozilla.com/D14601
2018-12-17 21:45:09 +00:00
Margareta Eliza Balazs 59340dfc86 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-19 18:02:55 +02:00
Ted Mielczarek 5cdd311b80 bug 1512499 - handle psutil returning None for physical_cores. r=froydnj
psutil has a bug on arm systems where it will return None for physical_cores:
https://github.com/giampaolo/psutil/issues/1359

This causes us to generate invalid telemetry data which raises an error. Fix
this by simply omitting the field in this case.

Differential Revision: https://phabricator.services.mozilla.com/D14969
2018-12-19 15:07:11 +00:00
Margareta Eliza Balazs c18ee639c6 Backed out 16 changesets (bug 1492664) for breaking developer artifact builds, requested by standard8 a=backout
Backed out changeset 31e500489665 (bug 1492664)
Backed out changeset f4945658d45f (bug 1492664)
Backed out changeset 6d17291b8b92 (bug 1492664)
Backed out changeset 90f3faa36137 (bug 1492664)
Backed out changeset 0b229b00818a (bug 1492664)
Backed out changeset 5eb2c77d70a9 (bug 1492664)
Backed out changeset e1ebad5d89c5 (bug 1492664)
Backed out changeset 3017e5890739 (bug 1492664)
Backed out changeset c8b7e620eabf (bug 1492664)
Backed out changeset d3dfbd848236 (bug 1492664)
Backed out changeset 5c92bb5ac895 (bug 1492664)
Backed out changeset fb7cfca6ebc3 (bug 1492664)
Backed out changeset 0c4101230d4d (bug 1492664)
Backed out changeset b93a0fcc86f3 (bug 1492664)
Backed out changeset 6dc9522ee0bf (bug 1492664)
Backed out changeset 85d7f8b330eb (bug 1492664)
2018-12-19 11:45:29 +02:00
Nick Alexander 42bcb25200 Bug 1509573 - Part 0: Only compile Java via Gradle in export tier. r=chmanchester.mielczarek
This was always an accident of history: we forced export tier without
avoiding it in the libs tier.

Differential Revision: https://phabricator.services.mozilla.com/D14893
2018-12-18 23:25:55 +00:00
Dustin J. Mitchell 9ebb32c996 Bug 1492664 - set TASKCLUSTER_ROOT_URL and TASKCLUSTER_PROXY_URL; r=tomprince,glandium
Eventually, workers will provide these variables directly
(https://bugzilla.mozilla.org/show_bug.cgi?id=1460015).  But for now, this
ensures that TASKCLUSTER_ROOT_URL is set everywhere, and TASKCLUSTER_PROXY_URL
is set wherever the proxy is active.

The setup for the mach commands defaults to https://taskcluster.net for user
convenience.  When the production instance's URL changes, we can simply change
that default.

This changes the docker build process to propagate TASKCLUSTER_ROOT_URL into
the docker images, and for good measure includes some code to use that value to
generate debian repo paths.

Differential Revision: https://phabricator.services.mozilla.com/D14196
2018-12-18 05:37:41 +00:00
Nick Alexander 95915f0347 Bug 1498406 - Part 1: Don't check for javac, javah, jar. r=froydnj
The build system no longer invokes these directly: they're all fetched
and invoked by Gradle and its plugins.

Differential Revision: https://phabricator.services.mozilla.com/D14287
2018-12-17 23:04:14 +00:00
Brindusan Cristian 7323aac9f3 Merge inbound to mozilla-central. a=merge 2018-12-15 23:41:35 +02:00
Noemi Erli 124eb68a13 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-15 11:42:56 +02:00
Andi-Bogdan Postelnicu b5b4734013 Bug 1514341 - mach clang-format - fix path on windows. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D14605
2018-12-15 07:24:18 +00:00
Gijs Kruitbosch 979c20e1c1 Bug 1514239 - use fluent for the certificate export code in the cert manager, r=flod,keeler
Differential Revision: https://phabricator.services.mozilla.com/D14598
2018-12-15 00:26:09 +00:00
Francesco Lodolo (:flod) ae2f466bc8 Bug 1514347 - Remove Fluent migration recipes for Firefox 64 r=stas
Differential Revision: https://phabricator.services.mozilla.com/D14608
2018-12-14 20:18:59 +00:00
Thomas Daede 94d3f16ae3 Bug 1512462 - Only use nasm when explicitly requested. r=firefox-build-system-reviewers,mshal
This is needed because ffvpx does not build with nasm on win64.

Differential Revision: https://phabricator.services.mozilla.com/D13966
2018-12-13 15:40:17 +00:00
Geoff Lankow 1942986335 Bug 1506715 - Adapt Mochitest so it can run on Thunderbird r=darktrojan 2018-12-14 10:43:22 +13:00
Coroiu Cristina 6ed41e4b93 Merge inbound to mozilla-central a=merge 2018-12-12 07:12:07 +02:00
Geoff Brown 0be9b6e10f Bug 1512427 - Use correct artifact jobs for android 64-bit artifact builds; r=nalexander 2018-12-11 15:34:41 -07:00
Mike Hommey ee1042955d Bug 1513134 - Lint python/mozbuild/mozbuild/test/configure/data/moz.configure. r=firefox-build-system-reviewers,gps
Depends on D14126

Differential Revision: https://phabricator.services.mozilla.com/D14127
2018-12-11 19:34:51 +00:00
Mike Hommey 970d571b33 Bug 1513134 - Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
Depends on D14125

Differential Revision: https://phabricator.services.mozilla.com/D14126
2018-12-11 19:34:28 +00:00
Mike Hommey 0e7a919c8f Bug 1513134 - Don't rely on ConfigureSandbox._imports for the lint. r=firefox-build-system-reviewers,gps
_imports is cleared of functions at runtime, and that can cause
the `func in self._imports` test to return False in cases where the
function *does* have imports.

Make the lint track which functions has imports on its own.

This fortunately didn't cause mistakes not being caught by the lint in
the current python configure code, but causes problems with upcoming
changes.

Depends on D14124

Differential Revision: https://phabricator.services.mozilla.com/D14125
2018-12-11 19:33:55 +00:00
Mike Hommey 34e82c5338 Bug 1513134 - Make ConfigureSandbox._apply_imports clear _imports itself. r=firefox-build-system-reviewers,gps
This is a not strictly necessary drive-by cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D14124
2018-12-11 19:33:17 +00:00
Mike Hommey ab8d8e3385 Bug 1512918 - Emit a warning instead of a hard error when an unknown option is used with configure --help. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D14114
2018-12-11 01:12:41 +00:00
Chris Manchester 957f49e321 Bug 1510714 - Use mozbuild instead of path heuristics to prioritize rust in the compile traversal. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13921
2018-12-06 22:48:11 +00:00
Sylvestre Ledru faddefb759 Bug 1510458 - Ride along: simplify the declaration (else after a return) r=ahal
Depends on D13709

Differential Revision: https://phabricator.services.mozilla.com/D13710
2018-12-06 18:51:22 +00:00
Sylvestre Ledru ae4d185918 Bug 1510458 - Ride along: declare import shutil once r=ahal
Depends on D13708

Differential Revision: https://phabricator.services.mozilla.com/D13709
2018-12-06 18:48:59 +00:00