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

5426 Коммитов

Автор SHA1 Сообщение Дата
Chris Manchester b98761748c Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828

--HG--
extra : moz-landing-system : lando
2019-12-12 01:42:38 +00:00
Coroiu Cristina 37bd29f93c Backed out changeset 5b1c7a3bd4b2 (bug 1603300) for flake failure at mozbuild/test/configure/test_toolchain_helpers.py
--HG--
extra : amend_source : 97d3600c2c14d18b21d9ac45ac98d3bc3a872e88
2019-12-12 03:31:15 +02:00
Chris Manchester 8f2f5c50d4 Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828

--HG--
extra : moz-landing-system : lando
2019-12-12 01:17:01 +00:00
Ricky Stewart 8125df23f2 Bug 1603181 - mozbuild/preprocessor.py and test_preprocessor.py support Python3 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56808

--HG--
extra : moz-landing-system : lando
2019-12-12 00:13:25 +00:00
Ricky Stewart e642c8a1b2 Bug 1602961 - ./mach clobber gradle should clean up $topobjdir/gradle r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D56638

--HG--
extra : moz-landing-system : lando
2019-12-11 21:23:22 +00:00
Māris Fogels 030fc0897c Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 18:49:06 +00:00
Ricky Stewart d43df94c5e Bug 1601753 - `./mach build` does not build WASM_LIBRARY by default r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56092

--HG--
extra : moz-landing-system : lando
2019-12-10 15:48:38 +00:00
Ricky Stewart 2a74ae61fc Bug 1602525 - mozpack/archive.py and mozpack/test_archive.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56419

--HG--
extra : moz-landing-system : lando
2019-12-09 22:09:54 +00:00
Dorel Luca 682cfaa718 Backed out 3 changesets (bug 1594344) for Decision task failure on taskcluster/ci/toolchain/rust-size.yml. CLOSED TREE
Backed out changeset 3208e2b16458 (bug 1594344)
Backed out changeset 57b641bb4d4b (bug 1594344)
Backed out changeset 36458762149d (bug 1594344)

--HG--
rename : taskcluster/ci/toolchain/dump-syms.yml => taskcluster/ci/toolchain/rust-size.yml
rename : taskcluster/scripts/misc/build-dump-syms.sh => taskcluster/scripts/misc/build-rust-size.sh
2019-12-10 15:59:12 +02:00
Eric Rahm cb21b61e01 Bug 1594344 - Part 3: Use new dump_syms in automation. r=froydnj
This optionally uses the rust-based `dump_syms` toolchain if it has been
installed, otherwise it uses the locally built version.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 13:37:45 +00:00
Mike Shal 580f0c293f Bug 1557788 - Remove OBJS_VAR_SUFFIX & .i_o suffix for instrumented builds; r=firefox-build-system-reviewers,chmanchester
In 1-tier PGO builds that shared the objdir between the instrumented and
profile-use builds, the instrumented build objects used a different
suffix (.i_o) to separate them from the profile-use build (which uses
the default .o suffix). These builds are now always in separate objdirs,
and don't need special suffix rules anymore.

As a bonus, this helps fix an issue with buildid.cpp continually
rebuilding because libxul_so.list always lists the inputs as *.o, which
don't exist if we're using a .i_o suffix. Make would always re-create
buildid.cpp and therefore libxul.so in the instrumented build even when
nothing has changed.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:49 +00:00
Andrew Halberstadt 4cd0658446 Bug 1464038 - Update virtualenv to version 16.7.8 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D56229

--HG--
rename : third_party/python/virtualenv/tests/__init__.py => third_party/python/virtualenv/docs/changelog/.gitkeep
rename : third_party/python/virtualenv/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl => third_party/python/virtualenv/tests/old-wheels/pip-9.0.1-py2.py3-none-any.whl
rename : third_party/python/virtualenv/virtualenv_support/setuptools-36.8.0-py2.py3-none-any.whl => third_party/python/virtualenv/tests/old-wheels/setuptools-30.4.0-py2.py3-none-any.whl
rename : third_party/python/virtualenv/virtualenv_support/setuptools-39.0.1-py2.py3-none-any.whl => third_party/python/virtualenv/virtualenv_support/setuptools-41.6.0-py2.py3-none-any.whl
extra : moz-landing-system : lando
2019-12-09 15:45:24 +00:00
Ted Campbell 04d3467fd8 Bug 1602228 - Support ./mach run for application=js builds r=froydnj
Allow running the jsshell using ./mach run. This copies the debugger
parameter handling from desktop configurations.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 14:55:35 +00:00
David Major b5204ec2a8 Bug 1601872 - Handle the case when the mozconfig has no configure_args r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D56207

--HG--
extra : moz-landing-system : lando
2019-12-06 17:41:10 +00:00
Mike Shal 25308d30a2 Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester
Local PGO builds now use 3-tier machinery under the hood. Instead of a
single object directory that gets cleaned in between the instrumented
and profile-use builds, now the instrumented build uses a separate
'${objdir}/instrumented' directory. This makes it easier to handle
within mach since we can drive the two builds with environment variables
and keep all build artifacts separate, without needing to do manual
cleanup in between.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 01:07:32 +00:00
Chris Manchester 5a33be02e2 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:11 +00:00
Chris Manchester 7caa07b115 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:09 +00:00
Molly Howell c4a4ebd403 Bug 1599142 - Fix several Windows compatibility issues in documentation generation. r=ahal,froydnj
This patch addresses the following issues which prevent building the
documentation on a Windows system:

1. check_jsdoc attempts to launch a file by the name of jsdoc using
   subprocess.check_output(). But, the file jsdoc is a Bash script,
   so it can't be launched this way on Windows. We should find the
   correct file name to use instead (likely jsdoc.cmd).
2. The Windows CopyFile API will fail if the destination directory does
   not exist. The procedure that creates the staging directory for Sphinx
   attempts to use this API before any directories are created, so most calls
   to it fail and most files don't get staged. These errors are ignored, so
   the result is that Sphinx succeeds in generating a set of documentation
   that is mostly empty.
3. Several instances where manually constructed paths that contain both back
   and forward slashes are compared to or otherwise used with normalized paths,
   resulting in incorrect behaviors.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:04:17 +00:00
Florin Strugariu cc65231541 Bug 1593674 - remove marionette VideoStream YouTube test as it's duplicated in raptor r=tarek,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D52820

--HG--
extra : moz-landing-system : lando
2019-12-05 14:06:38 +00:00
Razvan Maries c9cf973dbf Backed out 3 changesets (bug 1595218) for build bustages. CLOSED TREE
Backed out changeset 499b0c27da4f (bug 1595218)
Backed out changeset f2f230a3028d (bug 1595218)
Backed out changeset 93ec75efbf41 (bug 1595218)
2019-12-05 02:53:04 +02:00
Chris Manchester a85167cf6b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:16 +00:00
Chris Manchester adb6750333 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:14 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Gurzau Raul 87ac4a3719 Backed out 3 changesets (bug 1595218) for Windows wrench failures.
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Chris Manchester be8da63e8e Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:47 +00:00
Chris Manchester 3d90cadcda Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:40 +00:00
Ricky Stewart 64c581817a Bug 1600664 - Download the wasi sysroot during bootstrap for Linux r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55481

--HG--
extra : moz-landing-system : lando
2019-12-03 20:38:35 +00:00
Ricky Stewart 8bc5f7c9dd Bug 1600520 - Build flags order regression: OS include paths used before local paths r=froydnj
Remove the "clever" logic from patch D53070, which was meant to reduce code duplication, and replace with easier-to-understand logic. Copy-and-paste the previous version of the CompileFlags class before patch D53070 to ensure that we stamp out the regression.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 18:14:39 +00:00
Nathan Froyd f47aaef62d Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 06:50:13 +00:00
Sebastian Hengst a47186d18f Merge mozilla-central to autoland. CLOSED TREE 2019-12-03 19:33:56 +01:00
Sebastian Hengst 4d554f0a10 Backed out changeset 3034ec8681ac (bug 1590745) for breaking local macOS 10.15 builds (bug 1600720). a=backout 2019-12-03 19:06:29 +01:00
shindli 4562fd4c3b Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Alexander Kuleshov e0ecbc0991 Bug 1513775: fix mach bootstrap on Fedora when mercurial is not installed r=froydnj
If Mercurial (hg) is not installed on a Centos/Fedora system, execution
of:

  $ ./mach bootstrap

will be failed as the bootstrap script tries to execute:

  # dnf update mercurial

This commit adds 'dnf install' command if the mercurial wasn't
installed on the system. This command will try to execute installation
of mercurial.

In other case there will be a try to upgrade to the latest possibly version
of mercurial.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 16:43:10 +00:00
Chris Manchester 9eb1bdb17b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-11-22 00:02:18 +00:00
Chris Manchester 30f788ec38 Bug 1595218 - Update bootstrap to upgrade to stable rust. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53900

--HG--
extra : moz-landing-system : lando
2019-11-26 13:30:58 +00:00
Chris Manchester f54bb90db2 Bug 1594903 - Remove reference to gecko-dev in bootstrap instructions. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D52770

--HG--
extra : moz-landing-system : lando
2019-11-13 14:31:28 +00:00
Ricky Stewart 149113d525 Bug 1599235 - Download lucetc during bootstrap for Linux r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54835

--HG--
extra : moz-landing-system : lando
2019-11-28 12:27:22 +00:00
Mihai Alexandru Michis d12cf9f2ad Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE
--HG--
extra : rebase_source : 60fba62a9241bec3aadc84260c2b9dacb89cf1ff
2019-12-02 16:59:55 +02:00
Andi-Bogdan Postelnicu 4204dba075 Bug 1600558 - for `static-analysis` mutate the proper wildcards from clang-tidy to python. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55423

--HG--
extra : moz-landing-system : lando
2019-12-02 14:25:03 +00:00
Andi-Bogdan Postelnicu dd9aed5465 Bug 1600226 - Optimize the way how we follow symlinks for static-analysis check. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55237

--HG--
extra : moz-landing-system : lando
2019-12-02 14:24:16 +00:00
Nathan Froyd 945c7515d6 Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 21:19:53 +00:00
Francesco Lodolo (:flod) bc6ecf6708 Bug 1600560 - Remove Fluent migration recipes for Firefox 71 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D55416

--HG--
extra : moz-landing-system : lando
2019-12-02 10:12:39 +00:00
Francesco Lodolo (:flod) c611e515a2 Bug 1600421 - Style attribute for bookmark-panel should include min-width r=Pike,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D55344

--HG--
extra : moz-landing-system : lando
2019-11-30 07:54:33 +00:00
Mark Striemer 415e677b84 Bug 1593649 - Part 1: Fix a11y issues with about:addons header/recommendations r=robwu,rpl,fluent-reviewers,flod
Add a proper title and popup attributes to page-options button.
Make recommended card's add-on names headings.
Give the HTML pane a title so it reads better in screen readers.
Always include a label for the search box.
Clarify the label on the extension enable checkbox.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 19:36:57 +00:00
Zibi Braniecki 15b552dc41 Bug 1599303 - Migrate bookmark panel to Fluent. r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54647

--HG--
extra : moz-landing-system : lando
2019-11-29 07:18:04 +00:00
Andi-Bogdan Postelnicu 5fe516cd88 Bug 1600048 - fix the call to `map_file_to_source` that prevented the json export for `clang-tidy` to work. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55110

--HG--
extra : moz-landing-system : lando
2019-11-28 15:20:22 +00:00
Ricky Stewart 6f304a37d1 Bug 1599648 - Add a py3_action build action r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D55031

--HG--
extra : moz-landing-system : lando
2019-11-27 23:38:49 +00:00
Māris Fogels dc0f691706 Bug 1599744 - Ensure unicode env vars are handled by virtualenv r=ahal
Ensure that environment variables with unicode values are handled correctly
when setting up a virtualenv.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:50:32 +00:00
Ricky Stewart d5eb7d0ea5 Bug 1594867 - Add moz.build/backend bits to specify files that should be built as a sandboxed wasm library r=firefox-build-system-reviewers,mshal
Add backend stuff to build sandboxed wasm libraries. (Don't actually update any moz.build files to consume this yet.)

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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:11:59 +00:00
Māris Fogels 75d85af992 Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:03 +00:00