Граф коммитов

4529 Коммитов

Автор SHA1 Сообщение Дата
arthur.iakab 9830caa477 Backed out changeset 5f6139ef7c2c (bug 1515261) for causing Windows build bustages CLOSED TREE 2019-01-04 18:29:53 +02:00
Andrew Halberstadt ca42ae34eb Bug 1515261 - [mozversioncontrol] Fix unicode env string on Windows, r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15727

--HG--
extra : moz-landing-system : lando
2019-01-04 15:31:56 +00:00
Chris Manchester 0851ff9f4a Bug 1507344 - Add configure machinery for MOZ_PROFILE_USE and merging profile. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13863

--HG--
extra : moz-landing-system : lando
2018-12-21 19:02:11 +00:00
Mike Hommey 012ea52a90 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

--HG--
extra : moz-landing-system : lando
2018-12-29 14:15:38 +00:00
Ted Mielczarek 5def08dbfb bug 1517244 - Try to log more info during intermittent test_telemetry failure. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15578

--HG--
extra : moz-landing-system : lando
2019-01-02 16:56:12 +00:00
Bogdan Tara d2a41cb853 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-28 23:53:12 +02:00
Jared Wein acfe9c8baf 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

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:33 +00:00
Jared Wein 4f86678a71 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing (masterkrombi@gmail.com).

Differential Revision: https://phabricator.services.mozilla.com/D14905

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:17 +00:00
Chris Manchester ccddf2ca6c Bug 1515512 - Require rustc 1.31. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15396

--HG--
extra : source : f162598ad12cd59e1f653c541e6786b715b144fd
2018-12-27 02:22:54 +00:00
Cosmin Sabou c3c97ee7de 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 ac40054b22 Bug 1515512 - Require rustc 1.31. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15396

--HG--
extra : moz-landing-system : lando
2018-12-27 02:22:54 +00:00
Ciure Andrei 1923fc319e 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 db47c666d9 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing (masterkrombi@gmail.com).

Differential Revision: https://phabricator.services.mozilla.com/D14905

--HG--
extra : moz-landing-system : lando
2018-12-24 16:19:20 +00:00
Dorel Luca af4a060def Backed out changeset e8700e52f777 (bug 1515901) for build bustage. CLOSED TREE 2018-12-22 01:17:42 +02:00
Mike Hommey c683c549a5 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

--HG--
extra : moz-landing-system : lando
2018-12-21 15:47:22 +00:00
Mike Hommey eb8e6cb9c3 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

--HG--
extra : moz-landing-system : lando
2018-12-21 23:00:17 +00:00
Mike Hommey d3856a0bf1 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

--HG--
extra : moz-landing-system : lando
2018-12-21 23:00:00 +00:00
Mike Hommey 5bd8a6be34 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

--HG--
extra : moz-landing-system : lando
2018-12-21 22:55:16 +00:00
Mike Hommey 94a4048c0f 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

--HG--
extra : moz-landing-system : lando
2018-12-21 15:43:03 +00:00
Mike Hommey 73f192f7fd 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

--HG--
extra : moz-landing-system : lando
2018-12-21 00:47:29 +00:00
Mike Hommey 67f412262c 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

--HG--
extra : moz-landing-system : lando
2018-12-21 00:05:32 +00:00
Brindusan Cristian c292cb5988 Backed out changeset 6944bc1c900b (bug 1515577) for build bustages on test_checks_configure.py. 2018-12-21 00:45:51 +02:00
Mike Hommey 7fe4875fe9 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

--HG--
extra : moz-landing-system : lando
2018-12-20 21:51:01 +00:00
Sebastian Hengst 767c971623 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)

--HG--
extra : histedit_source : 5cb1f7e50f25d4a875c1a58c86b7dce902e1a89c%2C20f1ab1a843b612cfcc67cf5c6ff745d65abf076
2018-12-20 12:43:22 +02:00
Razvan Maries f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Tom Prince afa141b26c 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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:45:09 +00:00
Margareta Eliza Balazs da52cd7623 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-19 18:02:55 +02:00
Ted Mielczarek ca6f7a626f 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

--HG--
extra : moz-landing-system : lando
2018-12-19 15:07:11 +00:00
Margareta Eliza Balazs 2e5e28f518 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 b1f817c8c9 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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:25:55 +00:00
Dustin J. Mitchell 211a6cf5e3 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

--HG--
extra : moz-landing-system : lando
2018-12-18 05:37:41 +00:00
Nick Alexander a79bace97e 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

--HG--
extra : moz-landing-system : lando
2018-12-17 23:04:14 +00:00
Brindusan Cristian 64199f841e Merge inbound to mozilla-central. a=merge 2018-12-15 23:41:35 +02:00
Noemi Erli 6f12c62b7e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-15 11:42:56 +02:00
Andi-Bogdan Postelnicu d471aefa7d Bug 1514341 - mach clang-format - fix path on windows. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D14605

--HG--
extra : moz-landing-system : lando
2018-12-15 07:24:18 +00:00
Gijs Kruitbosch 3fc45446f6 Bug 1514239 - use fluent for the certificate export code in the cert manager, r=flod,keeler
Differential Revision: https://phabricator.services.mozilla.com/D14598

--HG--
extra : moz-landing-system : lando
2018-12-15 00:26:09 +00:00
Francesco Lodolo (:flod) 4b6b62961c Bug 1514347 - Remove Fluent migration recipes for Firefox 64 r=stas
Differential Revision: https://phabricator.services.mozilla.com/D14608

--HG--
extra : moz-landing-system : lando
2018-12-14 20:18:59 +00:00
Thomas Daede 427d23f3d7 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

--HG--
extra : moz-landing-system : lando
2018-12-13 15:40:17 +00:00
Geoff Lankow cc6b70c96c Bug 1506715 - Adapt Mochitest so it can run on Thunderbird r=darktrojan 2018-12-14 10:43:22 +13:00
Coroiu Cristina 3160ddc1f0 Merge inbound to mozilla-central a=merge 2018-12-12 07:12:07 +02:00
Geoff Brown 079ed326fd Bug 1512427 - Use correct artifact jobs for android 64-bit artifact builds; r=nalexander 2018-12-11 15:34:41 -07:00
Mike Hommey 69c1294a3a 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

--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:51 +00:00
Mike Hommey ab48d17e1a Bug 1513134 - Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
Depends on D14125

Differential Revision: https://phabricator.services.mozilla.com/D14126

--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:28 +00:00
Mike Hommey 893e2bb5b1 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

--HG--
extra : moz-landing-system : lando
2018-12-11 19:33:55 +00:00
Mike Hommey 3ab0bd82c9 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

--HG--
extra : moz-landing-system : lando
2018-12-11 19:33:17 +00:00
Mike Hommey 3dec5bb706 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

--HG--
extra : moz-landing-system : lando
2018-12-11 01:12:41 +00:00
Chris Manchester 49528bb9e6 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

--HG--
extra : moz-landing-system : lando
2018-12-06 22:48:11 +00:00
Sylvestre Ledru d2ca9ab951 Bug 1510458 - Ride along: simplify the declaration (else after a return) r=ahal
Depends on D13709

Differential Revision: https://phabricator.services.mozilla.com/D13710

--HG--
extra : moz-landing-system : lando
2018-12-06 18:51:22 +00:00
Sylvestre Ledru 1d186ac794 Bug 1510458 - Ride along: declare import shutil once r=ahal
Depends on D13708

Differential Revision: https://phabricator.services.mozilla.com/D13709

--HG--
extra : moz-landing-system : lando
2018-12-06 18:48:59 +00:00
Sylvestre Ledru 5234aab2bf Bug 1510458 - Show the diff without doing the change r=Ehsan
1) Creates a temp directory
2) Copy the files
3) Run clang-format on then
4) Diff the files

Differential Revision: https://phabricator.services.mozilla.com/D13708

--HG--
extra : moz-landing-system : lando
2018-12-05 20:08:22 +00:00