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

5427 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 91294276b6 Bug 1579775 - Extend testing of `#filter slashslash`. r=glandium
Depends on D45152

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:44:32 +00:00
Nicholas Nethercote d2520b74ee Bug 1579775 - Improve some comments in preprocessor.py. r=glandium
In particular, there was some weird use of blank lines.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 02:43:48 +00:00
Erica Wright b575a6d9a1 Bug 1581428 - Show tooltips for links in Protection Report. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D46215

--HG--
extra : moz-landing-system : lando
2019-09-18 21:39:43 +00:00
Andrew Halberstadt 0ff26e43bb Bug 1579455 - [mozbuild] Create distinct 'init' virtualenvs for Python 2 vs 3 r=nalexander,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D45419

--HG--
extra : moz-landing-system : lando
2019-09-18 17:13:47 +00:00
Andrew Halberstadt 274c70df70 Bug 1579455 - [mozbuild] Fix output issues with Python 3 in virtualenv.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45418

--HG--
extra : moz-landing-system : lando
2019-09-16 16:52:55 +00:00
Zibi Braniecki f421461cc8 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881

--HG--
extra : moz-landing-system : lando
2019-09-18 16:53:54 +00:00
Zibi Braniecki ccb7771759 Bug 1581185 - Fix relative paths in migration script generation. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45880

--HG--
extra : moz-landing-system : lando
2019-09-18 16:55:02 +00:00
Andreea Pavel aa63cb5bb5 Backed out 2 changesets (bug 1581185) for linting failure at xul.py on a CLOSED TREE
Backed out changeset 86f77b5cc705 (bug 1581185)
Backed out changeset 5bb71874a9f3 (bug 1581185)
2019-09-18 19:43:45 +03:00
Zibi Braniecki 92b3a465b8 Bug 1581185 - Migrate pageActionContextMenu in browser.xhtml to Fluent. r=fluent-reviewers,bgrins,flod
Differential Revision: https://phabricator.services.mozilla.com/D45881

--HG--
extra : moz-landing-system : lando
2019-09-18 16:25:27 +00:00
Zibi Braniecki 24d44bff69 Bug 1581185 - Fix relative paths in migration script generation. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45880

--HG--
extra : moz-landing-system : lando
2019-09-18 16:25:17 +00:00
Andreea Pavel f09273c694 Backed out changeset 8c4399f3a332 (bug 1581428) for failing browser_protections_report_ui.js on a CLOSED TREE 2019-09-18 19:17:52 +03:00
Dzmitry Malyshau ee04e8a14a Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190

--HG--
extra : moz-landing-system : lando
2019-09-18 15:12:37 +00:00
Erica Wright 049e9d1b0b Bug 1581428 - Show tooltips for links in Protection Report. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D46215

--HG--
extra : moz-landing-system : lando
2019-09-18 12:33:08 +00:00
Nathan Froyd 94691b7a75 Bug 1582114 - add the Zlib license to permitted licenses for Rust crates; r=mhoye
New releases of the `adler32-rs` crate have this license, and we already
incorporate zlib into Firefox, so crates using this license should be allowed.

..and since `adler32-rs` now has an obviously acceptable license, we can
remove it from the list of build-time exceptions.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 14:02:18 +00:00
Ciure Andrei f16f5c928d Backed out changeset 7cf84cb03658 (bug 1581921) for causing a lint issue in bootstrap.py CLOSED TREE 2019-09-18 16:55:49 +03:00
Dzmitry Malyshau e9b3f1eaec Bug 1581921 - Support Solus Linux by mach bootstrap r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46190

--HG--
extra : moz-landing-system : lando
2019-09-18 13:38:30 +00:00
Kevin Jacobs 671a4b685e Bug 1562773 - Add delegated credentials tests r=keeler,jcj
Add xpcshell tests for Delegated Credentials

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

--HG--
extra : moz-landing-system : lando
2019-09-17 23:31:36 +00:00
Nick Alexander b28d70119a Bug 1580996 - Make artifact builds fetch Android artifacts from `geckoview_example.apk`. r=froydnj
The underlying native libraries are identical between Fennec and
GeckoView example.  This paves the way for removing Fennec entirely.

At the same, remove the `.ini` extraction, which is no longer required.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 22:37:34 +00:00
Andrew Halberstadt eaa4c05610 Bug 1567642 - [mozbuild] Fix flake8 under Python 3 lint issues r=firefox-build-system-reviewers,chmanchester
Depends on D45412

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

--HG--
extra : moz-landing-system : lando
2019-09-17 18:51:43 +00:00
Andrew Halberstadt 3b6e9c57e2 Bug 1567642 - [mach] Fix flake8 under Python 3 lint issues r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D45412

--HG--
extra : moz-landing-system : lando
2019-09-17 18:52:28 +00:00
Erica Wright 8b7d823b40 Bug 1561184 - Show tooltip text for protection report in app menu r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D45583

--HG--
extra : moz-landing-system : lando
2019-09-17 12:56:43 +00:00
prathiksha 474ef9a0f2 Bug 1561443 - Move _getErrorMessageFromCode from NetErrorChild.jsm to aboutNetError.js. r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D36542

--HG--
extra : moz-landing-system : lando
2019-09-17 09:49:59 +00:00
Andrew Halberstadt 6fc4da9266 Bug 1580280 - [mozbuild] Fix Python 3 issues in nodeutil.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45437

--HG--
extra : moz-landing-system : lando
2019-09-10 22:15:36 +00:00
Andrew Halberstadt 5b5dc5542a Bug 1580280 - [lint] Support Python 3 in the flake8 integration r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D45436

--HG--
extra : moz-landing-system : lando
2019-09-11 10:00:58 +00:00
Andrew Halberstadt e6e5e7b6fa Bug 1580280 - [mozlint] Support Python 3 in the mozlint library r=egao
Differential Revision: https://phabricator.services.mozilla.com/D45435

--HG--
extra : moz-landing-system : lando
2019-09-11 15:07:29 +00:00
Tarek Ziadé 5dd9d5bcd0 Bug 1562870 - generate conditioned profiles r=gbrown,bc,aerickson
Generates "conditioned" profiles.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 19:44:35 +00:00
Andi-Bogdan Postelnicu 1b886ecee7 Bug 1576659 - Update infer to 0.17.0. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D43471

--HG--
extra : moz-landing-system : lando
2019-09-13 14:25:32 +00:00
Brian Grinstead e765d4cd04 Bug 1580978 - Rename browser-urlbar-identity-button to urlbar-identity-button r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45831

--HG--
extra : moz-landing-system : lando
2019-09-13 12:14:37 +00:00
Brian Grinstead 29a25895f3 Bug 1580978 - Migrate the notification-popup-box element to ftl r=fluent-reviewers,flod,johannh
Differential Revision: https://phabricator.services.mozilla.com/D45758

--HG--
extra : moz-landing-system : lando
2019-09-13 12:14:26 +00:00
Bastien Abadie 0a3932b284 Bug 1550516 - Export clang-tidy check configuration in static-analysis json output, r=sylvestre.
Differential Revision: https://phabricator.services.mozilla.com/D45652

--HG--
extra : moz-landing-system : lando
2019-09-13 07:50:23 +00:00
championshuttler a19f899a6f Bug 1580492 - Run mach 'core' commands with Python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45694

--HG--
extra : moz-landing-system : lando
2019-09-12 20:26:45 +00:00
Bastien Abadie 0725033ef3 Bug 1550517 - Exclude 3rd party files on static-analysis check, r=sylvestre.
Differential Revision: https://phabricator.services.mozilla.com/D45630

--HG--
extra : moz-landing-system : lando
2019-09-12 08:49:40 +00:00
Erica Wright a9430a3f1d Bug 1579705 - Update level labels for Enhanced Tracking Protection. r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D45384

--HG--
extra : moz-landing-system : lando
2019-09-11 18:14:25 +00:00
Brian Grinstead 9ccf6b264c Bug 1579540 - Migrate urlbar.viewSiteInfo.label from dtd to ftl r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45467

--HG--
extra : moz-landing-system : lando
2019-09-11 16:36:14 +00:00
Razvan Maries 2fb41871a9 Backed out 2 changesets (bug 1562773) for build bustages. CLOSED TREE
Backed out changeset 154b23d4a214 (bug 1562773)
Backed out changeset f32f7a644981 (bug 1562773)
2019-09-11 04:40:29 +03:00
Kevin Jacobs c2dfc6480d Bug 1562773 - Add delegated credentials tests r=keeler,jcj
Add xpcshell tests for Delegated Credentials

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

--HG--
extra : moz-landing-system : lando
2019-09-10 20:15:12 +00:00
Mike Shal d3b795e0d2 Bug 1575680 - Move node invocations to misc tier; r=firefox-build-system-reviewers,chmanchester
These were originally in exports because having it in the same tier as
the install rule interacted poorly with VPATH. Now that we no longer
have a generic VPATH rule, make can handle the rules properly with
everything in misc.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 17:44:56 +00:00
Brian Grinstead 8144335fd7 Bug 1579550 - Fix fluent conversion script imports;r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D45090

--HG--
extra : moz-landing-system : lando
2019-09-10 18:17:06 +00:00
Mike Hommey e4076e2b2f Bug 1579156 - Fix binding tests after bug 1573566. r=chmanchester
The build system has no clue that there is something to build in
dom/bindings/test. It's currently all handled via make rules generated
by the backend, but ideally, this would all be handled by the frontend
emitting appropriate GeneratedFiles and Sources objects.

In the meanwhile, we just force the make backend to recurse through
dom/bindings/test.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 02:55:03 +00:00
Csoregi Natalia 453f8b162f Backed out changeset 8b5aa1f7d1f3 (bug 1579156) for bustage due to missing dom/bindings/test. CLOSED TREE 2019-09-10 02:18:51 +03:00
Mike Hommey 73e529409a Bug 1579156 - Fix binding tests after bug 1573566. r=nalexander
The build system has no clue that there is something to build in
dom/bindings/test. It's currently all handled via make rules generated
by the backend, but ideally, this would all be handled by the frontend
emitting appropriate GeneratedFiles and Sources objects.

In the meanwhile, we just force the make backend to recurse through
dom/bindings/test.

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

--HG--
extra : moz-landing-system : lando
2019-09-07 22:45:47 +00:00
Andrew Halberstadt e1a687b64f Bug 1579455 - [mozbuild] Fix some Python 3 incompatibilities in virtualenv.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D45072

--HG--
extra : moz-landing-system : lando
2019-09-09 20:38:41 +00:00
Mike Shal f8f5fce637 Bug 1496746 - Remove VPATH; r=glandium
Having a full VPATH for the srcdir sometimes causes make to grab the
wrong prerequisite for a rule, in particular if we have a file in the
srcdir and also generate a file of the same name in the objdir. We don't
really need VPATH anymore though, since most of the information comes
from mozbuild, where we can explicitly list the path to the srcdir or
objdir as necessary.

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

--HG--
extra : moz-landing-system : lando
2019-09-09 17:44:47 +00:00
Sylvestre Ledru 20b343675a Bug 1577726 - Move generated directories into a dedicated file (Generated.txt) from ThirdPartyPaths.txt r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D44147

--HG--
extra : moz-landing-system : lando
2019-09-05 14:24:21 +00:00
Andrew Halberstadt 07e4b56faa Bug 1577826 - [mozbuild] Create an 'ensure_subprocess_env' utility function, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D44667

--HG--
extra : moz-landing-system : lando
2019-09-04 23:49:33 +00:00
Chris Manchester 0bb09fc35d Bug 1578596 - Require rustc 1.37. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D44699

--HG--
extra : moz-landing-system : lando
2019-09-04 19:08:28 +00:00
Andrew Halberstadt b491b45f70 Bug 1577517 - [mozbuild] Fix bug in error handling case when 'terminal-notifier' is not installed, r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D44156

--HG--
extra : moz-landing-system : lando
2019-09-04 17:50:56 +00:00
Andrew Halberstadt 41d9e6e547 Bug 1578198 - [configure] Ensure wrapped_subprocess uses text env with Python 3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D44483

--HG--
extra : moz-landing-system : lando
2019-09-04 02:37:48 +00:00
Francesco Lodolo (:flod) 1c3c190bfe Bug 1578163 - Remove Fluent migration recipes for Firefox 69 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D44357

--HG--
extra : moz-landing-system : lando
2019-09-03 07:24:32 +00:00
Andrew Halberstadt 8c97bc7a17 Bug 1577908 - [mach] Disable suggested command execution until Python 3 migration is finished, r=glandium
The mach driver will now run all misspelled commands with Python 3. That means
we can't automatically execute the suggested command anymore, as it may need to
run against Python 2.

Ideally we could figure out a way to check the command against the 'mach'
whitelist, but until then, let's just disable automatic execution. Worst case
scenario we can turn it back on after the migration has finished.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 03:46:16 +00:00
Andrew Halberstadt 23aca97aa6 Bug 1577501 - [mach] Make sure ./mach help <command> uses the correct Python, r=glandium
Some commands use external argument parsers, so invoking |mach help <command>| will import
external modules (which may only be Python 2 compatible).

This makes sure that we detect the actual subcommand we're generating help for
and use the proper Python.

A much simpler solution would have been to run |mach help| with Python 2 all
the time. However, as we convert things to Python 3 this would have meant that
Python 3 only code would blow up. This would have forced us to continue
supporting Python 2, even for Python 3-only commands.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 00:39:22 +00:00
Andrew Halberstadt f2210ba1ed Bug 1568638 - [build] Create objdir in test_manifest backend if it doesn't exist r=mshal
This fixes an edge case where a task needs to invoke the TestManifest backend from a source dir that doesn't have an objdir created yet.

Depends on D43513

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

--HG--
extra : moz-landing-system : lando
2019-08-30 17:01:12 +00:00
Edwin Gao a0497df342 Bug 1577603 - convert mach clobber to run with python 3.5 r=nalexander
Changes:
- remove binary encoding when the subdirectories are being collected
- do not open file in binary mode when reading from `telemetry_client_id.json`

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

--HG--
extra : moz-landing-system : lando
2019-08-30 17:25:47 +00:00
Nick Thomas f03bae30af Bug 1577664 - pass product version to the complete mar generation script, r=Callek
MOZ_FULL_PRODUCT_VERSION is only used here, while tools/update-packaging/make_full_update.sh expects MOZ_PRODUCT_VERSION.

Depends on D44089

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

--HG--
extra : moz-landing-system : lando
2019-08-30 01:35:08 +00:00
Mark Striemer 9aff921500 Bug 1533863 - Use icons instead of text for buttons in about:config r=fluent-reviewers,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D43627

--HG--
rename : browser/components/aboutlogins/content/icons/edit.svg => browser/themes/shared/icons/edit.svg
extra : moz-landing-system : lando
2019-08-29 21:03:13 +00:00
Dan Minor 8d11bb48b4 Bug 1554976 - Allow network functions needed by Rust mDNS responder; r=tjr
This removes these functions: bind, getaddrinfo, recvfrom, sendto, setsockopt,
socket from the check_networking test to allow for their use by the Rust mDNS
responder.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 19:48:38 +00:00
Tom Ritter 004d9a25d7 Bug 1570597 - Pass the -delayload flag to lld correctly for MinGW builds r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D43455

--HG--
extra : moz-landing-system : lando
2019-08-28 14:18:29 +00:00
Chris Manchester 1dcf500d9c Bug 1577049 - Provide sccache and dist-toolchains during bootstrap on Windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43700

--HG--
extra : moz-landing-system : lando
2019-08-28 18:31:23 +00:00
Gurzau Raul a6c5c5e3ac Backed out 14 changesets (bug 1554976) for Windows build bustages on a CLOSED TREE.
Backed out changeset a9b209d9d880 (bug 1554976)
Backed out changeset 27b4dddf9597 (bug 1554976)
Backed out changeset 3e16c10bb966 (bug 1554976)
Backed out changeset 6a404fca61dc (bug 1554976)
Backed out changeset 77c4e76c8130 (bug 1554976)
Backed out changeset 24f146b86cc4 (bug 1554976)
Backed out changeset b49b4326dcfd (bug 1554976)
Backed out changeset e2c837d1e0a0 (bug 1554976)
Backed out changeset 24728144c263 (bug 1554976)
Backed out changeset a099e69241a0 (bug 1554976)
Backed out changeset 0e34595c2680 (bug 1554976)
Backed out changeset a506bb40047e (bug 1554976)
Backed out changeset 513026415092 (bug 1554976)
Backed out changeset e0fc6a1d4332 (bug 1554976)
2019-08-28 18:10:11 +03:00
Dan Minor 023252b4a9 Bug 1554976 - Allow network functions needed by Rust mDNS responder; r=tjr
This removes these functions: bind, getaddrinfo, recvfrom, sendto, setsockopt,
socket from the check_networking test to allow for their use by the Rust mDNS
responder.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:09:50 +00:00
Māris Fogels a445a87248 Bug 1210157 - Fix Python 3 issues in mozboot.gentoo and mozboot.archlinux r=firefox-build-system-reviewers,mshal
Fix some library calls and syntax that are required to support Python 3.

Depends on D39364

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:18 +00:00
Māris Fogels 9e273f1008 Bug 1210157 - Make bootstrap.py work with Python 3.5+ and Python 2.7 r=firefox-build-system-reviewers,mshal
Make bootstrap.py compatible with both Python 3.5+ and Python 2.7. Remove
Python 2.6 support as Python 2.6 is no longer supported in the Firefox source
tree.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:18 +00:00
Māris Fogels 6aec656a0f Bug 1210157 - Add a --debug option to bootstrap.py r=nalexander
Add an option to run bootstrap.py with '--debug'. This will print full
tracebacks if the bootstrap process encounters an uncaught exception. It should
be useful for developers who are working on the bootstrap code as well as users
when writing bug reports.

Depends on D39362

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels bc36ca8edd Bug 1569046 - Add Python 3 support to mozboot.osx r=firefox-build-system-reviewers,mshal
Make the mozboot.osx module work with Python 3 in addition to
Python 2.7.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:48 +00:00
Māris Fogels 9399eb1a1a Bug 1210157 - Add Python 3 support to mozboot Android toolchain bootstrap r=nalexander
Support installing the android development toolchain with Python 3 as well as
Python 2.7.

Depends on D39361

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels 6cc808b85a Bug 1210157 - Add Python 3 support to the mozboot Debian bootstrapper r=firefox-build-system-reviewers,mshal
Add support for Python 3 and Python 2.7 to the Debian-based linux distro
bootstrap routines.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:17 +00:00
Māris Fogels fef8423731 Bug 1210157 - Add Python 3 support to mozboot.base and mozboot.bootstrap r=firefox-build-system-reviewers,mshal
Add support for both Python 3 and Python 2.7 to the mozboot.base and
mozboot.bootstrap modules.  Remove legacy Python 2.6 code or mark it for later
removal.

Depends on D39359

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

--HG--
extra : moz-landing-system : lando
2019-08-22 22:42:50 +00:00
Māris Fogels 15db7ec0c8 Bug 1210157 - Use unicode_literals in all mozboot modules r=firefox-build-system-reviewers,mshal
Add unicode_literals to all mozboot module __future__ statements to support
running the modules under Python 3.  Remove comments about unicode_literals and
Python 2.6 support as Python 2.6 is no longer supported in tree.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:19:16 +00:00
Andrew Halberstadt 333ffc4bcf Bug 1473498 - [mach] Support running mach commands with python 3 r=glandium,mars
Credit: mars for making the shell POSIX compliant

This embeds a blacklist of every mach command that needs to run with Python 2
directly in the mach driver itself. Initially this is every mach command. We
then use a bit of shell to determine whether the command being run needs Python
2 or 3.

While this approach may seem a bit hacky, it has several benefits:

1. No need to add complex machinery in mach's registration code.
2. No need to spawn two separate Python interpreters in the event a different
   Python from the original interpreter is needed.
3. Perf impact is negligible.
4. New commands are Python 3 by default.

It is also only a temporary hack. Once all commands are running with Python 3,
we can revert back to the original mach driver.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 03:08:08 +00:00
Andrew Halberstadt ec79d89147 Bug 1473498 - [mozbuild.util] Don't use 'patch_main' hack with Python 3.4+ r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D42016

--HG--
extra : moz-landing-system : lando
2019-08-27 02:55:18 +00:00
Andrew Halberstadt 8710cf7cfc Bug 1473498 - [mozbuild.base] Fix Python 3 incompatibilities in mozconfig error handling, r=glandium
Use of 'BaseException.message` was deprecated in Python 2.6 (and removed in
Python 3). We should rely on the exception's '__str__' instead.

We also need to ensure the mozconfig subprocess' output is text when formatting
it into the message with Py3.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 03:05:59 +00:00
Andrew Halberstadt 9ec9b5b7ab Bug 1473498 - [mozbuild.mozconfig] Improve error message in MozconfigLoadException r=glandium
Without the output, this exception wasn't being very helpful.

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

--HG--
extra : moz-landing-system : lando
2019-08-27 03:03:49 +00:00
Mike Hommey 8afaba2056 Bug 1575760 - Make `mach vendor rust` create a .cargo/config and check it in the tree. r=nalexander
Maybe back when .cargo/config.in was added, the directory indicated for
vendored crates needed to be absolute. That is at least not the case
with the current supported versions of rust.

The current setup has a few caveats:
- .cargo/config.in has shown to become stale (it currently contains
  multiple unused entries)
- non-gecko build tasks have to generate a .cargo/config on their own if
  they want to use vendored crates
- in turn, non-gecko build tasks that don't, may unknowingly get their
  dependencies from crates.io (see the recent attempt at moving
  geckodriver builds to a separate task).

By checking in a .cargo/config file, we can alleviate the last two, but
that comes at the price of `cargo update` not wanting to act when
.cargo/config exists, because of the source replacement configuration.

But rust vendor gently generates a suitable configuration on its own, so
we can use that to generate a .cargo/config automatically. Which
addresses the first caveat of the current setup. That leaves us with
`cargo update` not working out of the box, but that just requires people
running it to manually remove .cargo/config first. Which is arguably
what rust wants you to do in the first place. It's kind of incidental
that we started with a .cargo/config.in rather than .cargo/config.

Now, while a simple .cargo/config works, that's not enough for the case
where the objdir doesn't live inside the source directory. In that case
cargo looks for the configuration from the objdir, and fails to find it.
So we still need a .cargo/config.in, which we generate with a little
trick.

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

--HG--
rename : .cargo/config.in => .cargo/config
extra : moz-landing-system : lando
2019-08-26 22:20:32 +00:00
Mike Hommey 2c49da7d67 Bug 1575760 - Generate .cargo/config as part of the build rather than as a configure subst file. r=firefox-build-system-reviewers,chmanchester
We'll require preprocessing that configure subst files don't allow in
the next change, so prepare for that.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 21:27:24 +00:00
Geoff Brown 7ba1b41441 Bug 1575667 - Add --no-install option for android mach reftest and gtest; r=bc
Straight-forward addition of the --no-install option for reftest, just like
the existing option for mochitest. For gtest, I alos noticed the mach command
help needed some cleanup.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 13:45:10 +00:00
Andi-Bogdan Postelnicu 7b5552dee0 Bug 1575659 - Fixed crashing of `mach static-analisys` when no arguments where passed. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D43393

--HG--
extra : moz-landing-system : lando
2019-08-26 08:57:49 +00:00
Mike Hommey aff45da04a Bug 1576097 - Remove mozbuild.util.encode again. r=nalexander
This time, existing config.status trying to import it will throw an exception
that will trigger a re-configure.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 16:43:58 +00:00
Mike Hommey 9f1da4f63d Bug 1576097 - Deal with config.status breakage more gracefully. r=nalexander
As seen in bug 1575774/1575959, things can go badly when config.status
doesn't match expectations, especially when most mach commands try to
read it, starting with mach clobber, which is supposed to be the one
commant to get away from most problems.

The idea here is to throw a recognizable exception so that callers can
react accordingly. While not obvious from the patch, the result is that
running e.g. mach build with a broken config.status will automatically
run configure (because the relevant caller actually handles the rethrown
exception that way).

There are other calls to from_config_status in the mozbuild reader, but
that can't be reached before MozbuildObject.config_environment.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 22:26:02 +00:00
Dustin J. Mitchell 23d547abce Bug 1562686 - revert remaining unnecessary bit of bug 1187245; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D42644

--HG--
extra : moz-landing-system : lando
2019-08-23 12:32:02 +00:00
Mihai Alexandru Michis aeeeb2bb05 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : rebase_source : b8f2ddf1c4cafdaa69093d306f4f3922bfd2acbd
extra : amend_source : e1568da3f97fd327d91a646913a3d7ab5241638a
2019-08-23 01:14:01 +03:00
Mike Hommey 720d497cc2 Bug 1575959 - Restore the mozbuild.util.encode function. a=glandium
Older config.status laying around in old trees are read by mach whenever
it runs, including when running mach clobber. Those files still try to
include mozbuild.util.encode, which is not here anymore. So we restore
the function for now to unbreak those.

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

--HG--
extra : histedit_source : 3eb10cc8e18cc9094887061b00705afb6e705b54
2019-08-22 23:58:00 +03:00
Mike Hommey f7da81f01b Bug 1574056 - Make `mach vendor rust` use now native `cargo vendor`. r=chmanchester
Note that cargo vendor always uses the native version even when
cargo-vendor was already installed, so there is no concern wrt that.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 21:46:40 +00:00
Mike Hommey 20f01277a6 Bug 1575375 - Pull mozbuild tests out of make check. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42759

--HG--
extra : moz-landing-system : lando
2019-08-21 05:00:50 +00:00
Mike Hommey bfa5918bf6 Bug 1575375 - Always include mozbuild/mozpack tests. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42757

--HG--
extra : moz-landing-system : lando
2019-08-21 03:05:09 +00:00
Mike Hommey 6b7c48eb98 Bug 1575375 - Allow nodeutil to find node on its own on automation. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42756

--HG--
extra : moz-landing-system : lando
2019-08-21 03:18:55 +00:00
Mike Hommey ab23d101a0 Bug 1575375 - Use MozbuildObject.resolve_config_guess instead of invoking config.guess manually in test_base. r=nalexander
Bug 1522788 changed how MozbuildObject gets a value for @CONFIG_GUESS@
in mozconfigs, and it's not entirely reliable to manually call
config.guess in test_base. As a matter of fact, in some cases,
config.guess is not even invoked by MozbuildObject (like, on Windows).

Plus, the config.guess invocation in the test currently doesn't work on
Windows on automation, for some reason.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 03:02:29 +00:00
Mike Hommey 7af747540d Bug 1575375 - Make test_config_environment work without an objdir. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42754

--HG--
extra : moz-landing-system : lando
2019-08-21 03:00:11 +00:00
Mike Hommey 843c5016d9 Bug 1575375 - Make mozpack.path.normsep work with both bytes and unicode strings in python 3. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42753

--HG--
extra : moz-landing-system : lando
2019-08-21 03:03:53 +00:00
Mike Hommey 86dcd49bdf Bug 1575375 - Make test_lcov_rewrite use default values for e.g. MOZ_APP_NAME when not running from an objdir. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42752

--HG--
extra : moz-landing-system : lando
2019-08-21 02:57:32 +00:00
Mike Hommey e408798c4c Bug 1575375 - Make node test find node on its own when not running in an objdir. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42751

--HG--
extra : moz-landing-system : lando
2019-08-21 02:56:33 +00:00
Mike Hommey ade6505592 Bug 1575375 - Fix mozpath.match with python 3.7. r=nalexander
Python 3.7 changed what it escapes with re.escape. Adapt mozpath.match
to account for this.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 03:12:36 +00:00
Mike Hommey 04e3b11dcf Bug 844509 - Don't create a separate unicode version of the build config. r=nalexander
Now that the configuration comes in without bytes strings, there is no
need to convert it anymore.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:05:24 +00:00
Mike Hommey 621ee253e1 Bug 844509 - Don't encode the configuration that configure passes to config_status. r=nalexander
With bug 1575135, we ensure nothing gets out of the configure sandbox
as a bytes string. We can thus now avoid the encode() pass in
configure.py. We still need, however, to normalize the configuration
so that it doesn't contain unexpected types, and conformning to what
indented_repr does to the configuration in config.status.

While here, convert some obj.iteritems() to six.iteritems(obj).
And remove the now unused encode function.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:22:14 +00:00
Mike Hommey 250c3cbc9a Bug 844509 - Don't encode environment in get_cmd_output and old_configure. r=nalexander
The configure sandbox has wrapped subprocess methods to add its own
encoded environment if none is provided, since bug 1520394. It only
makes sense that it normalizes the environment that comes in too,
avoiding caller in the configure sandbox to have to do it themselves.

OTOH, and while we're here, none of get_cmd_output, old_configure or the
sandbox were actually using the right encoding for this conversion, so
fix the configure sandbox to use the right one, and make it stop using
encode(), which does deep recursion that is not necessary here, and that
I'm trying to remove entirely.

Also while here, remove an unused import of encode().

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

--HG--
extra : moz-landing-system : lando
2019-08-20 22:12:23 +00:00
Razvan Maries 3d74e341f9 Backed out 2 changesets (bug 1562686) as per glandium's request. CLOSED TREE
Backed out changeset 0ce37eda652a (bug 1562686)
Backed out changeset fe7b9445e1d3 (bug 1562686)
2019-08-22 02:43:16 +03:00
Mike Hommey b444ca8929 Bug 1560700 - Change how the rust target is derived from the build system target. r=froydnj
There are a few problems with the strategy currently used to find the
rust target. For example, we don't find a target for arm freebsd, and we
pick the wrong target for armel linux. Both are related to how things
currently work when multiple targets have the same (cpu, endianness,
os).

So, to derive the rust target, we now use a more fine-grained approach.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 23:22:24 +00:00
Mike Shal 33e9702dac Bug 1575678 - Emit sorted PerSourceFlags; r=nalexander
The order that PerSourceFlags are emitted can vary if the srcdir is
changed. By sorting them we can make sure that the backend.mk files are
consistent regardless of srcdir.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 22:21:52 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Dustin J. Mitchell be3fd44f98 Bug 1562686 - revert remaining unnecessary bit of bug 1187245; r=glandium
Depends on D41454

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

--HG--
extra : moz-landing-system : lando
2019-08-21 03:32:05 +00:00
Sylvestre Ledru 7759b614e2 Bug 1575249 - Ride along: remove +x permissions on source files r=Ehsan
Depends on D42672

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

--HG--
extra : moz-landing-system : lando
2019-08-21 09:57:03 +00:00
Mike Hommey d097494bcc Bug 1575135 - Make configure complain on non-unicode strings. r=nalexander
Make it a hard error when the sandbox returns non-unicode strings.
This should help quickly catch any remaining non-unicode string that
are not caught by automation.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:31:34 +00:00
Mike Hommey 00256d3837 Bug 1575135 - Make configure sandbox open() look more like python 3's. r=nalexander
As a consequence, we can replace the encoded_open function that did the
same in an opt-in manner.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 04:44:43 +00:00
Mike Hommey cce0006157 Bug 1575135 - Use functions from util.configure instead of subprocess.*. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42603

--HG--
extra : moz-landing-system : lando
2019-08-20 16:42:16 +00:00
Mike Hommey 8db488eb24 Bug 1575135 - Fix mock_pkg_config failure case. r=nalexander
It only happens when things go badly, which is why it doesn't cause
problems, but when moving things around, triggering the error, we
currently get a formatting error rather than the actual error.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 16:42:06 +00:00
Mike Hommey cc52fc2e1a Bug 1575135 - Define whether the system encoding is mbcs or utf-8 once. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D42601

--HG--
extra : moz-landing-system : lando
2019-08-20 16:40:24 +00:00
Bogdan Tara 4ab1c12e2b Backed out 8 changesets (bug 1569046, bug 1210157) for flake8 failure on base.py CLOSED TREE
Backed out changeset eec9458e553d (bug 1210157)
Backed out changeset 06d452ac1d16 (bug 1210157)
Backed out changeset 0f5311bbd75b (bug 1210157)
Backed out changeset 975727f55b82 (bug 1569046)
Backed out changeset a65032b442bc (bug 1210157)
Backed out changeset 25aef37f3556 (bug 1210157)
Backed out changeset 5d26b3d7d4a0 (bug 1210157)
Backed out changeset f044d6116869 (bug 1210157)
2019-08-21 00:14:49 +03:00
Māris Fogels 884b0c4743 Bug 1210157 - Fix Python 3 issues in mozboot.gentoo and mozboot.archlinux r=firefox-build-system-reviewers,mshal
Fix some library calls and syntax that are required to support Python 3.

Depends on D39364

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

--HG--
extra : moz-landing-system : lando
2019-07-30 20:14:18 +00:00
Māris Fogels 7ae2487ecb Bug 1210157 - Make bootstrap.py work with Python 3.5+ and Python 2.7 r=firefox-build-system-reviewers,mshal
Make bootstrap.py compatible with both Python 3.5+ and Python 2.7. Remove
Python 2.6 support as Python 2.6 is no longer supported in the Firefox source
tree.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 17:08:14 +00:00
Māris Fogels f68bcfb04f Bug 1210157 - Add a --debug option to bootstrap.py r=nalexander
Add an option to run bootstrap.py with '--debug'. This will print full
tracebacks if the bootstrap process encounters an uncaught exception. It should
be useful for developers who are working on the bootstrap code as well as users
when writing bug reports.

Depends on D39362

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

--HG--
extra : moz-landing-system : lando
2019-08-13 20:41:30 +00:00
Māris Fogels 93c5796cc2 Bug 1569046 - Add Python 3 support to mozboot.osx r=firefox-build-system-reviewers,mshal
Make the mozboot.osx module work with Python 3 in addition to
Python 2.7.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 20:41:30 +00:00
Māris Fogels c9d4b16c3e Bug 1210157 - Add Python 3 support to mozboot Android toolchain bootstrap r=nalexander
Support installing the android development toolchain with Python 3 as well as
Python 2.7.

Depends on D39361

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

--HG--
extra : moz-landing-system : lando
2019-08-13 20:41:30 +00:00
Māris Fogels 83a5585bff Bug 1210157 - Add Python 3 support to the mozboot Debian bootstrapper r=firefox-build-system-reviewers,mshal
Add support for Python 3 and Python 2.7 to the Debian-based linux distro
bootstrap routines.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 21:20:36 +00:00
Māris Fogels 444be44db6 Bug 1210157 - Add Python 3 support to mozboot.base and mozboot.bootstrap r=firefox-build-system-reviewers,mshal
Add support for both Python 3 and Python 2.7 to the mozboot.base and
mozboot.bootstrap modules.  Remove legacy Python 2.6 code or mark it for later
removal.

Depends on D39359

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

--HG--
extra : moz-landing-system : lando
2019-07-30 21:07:50 +00:00
Māris Fogels bcf547955c Bug 1210157 - Use unicode_literals in all mozboot modules r=firefox-build-system-reviewers,mshal
Add unicode_literals to all mozboot module __future__ statements to support
running the modules under Python 3.  Remove comments about unicode_literals and
Python 2.6 support as Python 2.6 is no longer supported in tree.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 20:16:31 +00:00
Mike Hommey da7cbbe652 Bug 1574402 - Avoid repeated OS_LIBS and USE_LIBS from gyp_reader. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42275

--HG--
extra : moz-landing-system : lando
2019-08-16 21:23:47 +00:00
Mike Hommey c8dc824814 Bug 1573566 - Add target/host-objects targets to build objects. r=froydnj
Make the target and host targets depend on those, and flatten the
dependencies.

That is, instead of chains like:
  browser/app/target: mozglue/build/target
  mozglue/build/target: memory/build/target

we now have:
  browser/app/target: browser/app/target-objects \
                      mozglue/build/target-objects \
                      memory/build/target-objects

Which means Make can feel free to build the object files in browser/app
before building other dependencies.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 17:25:05 +00:00
Mike Hommey c15df41c2f Bug 1573566 - Undo bug 1573314 and bug 1572046. r=froydnj
With the addition of toolkit/library/build because of the rust
shenanigans, bug 1573314 and bug 1572046 don't do anything useful
anymore. We're going to do something better anyways.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:39:54 +00:00
Mike Hommey eff4ccba27 Bug 1573566 - Make host libraries more like static libraries. r=froydnj
HostLibrary is always an expand lib. HostRustLibrary is always a
non-expand lib. But we currently rely on type checking to figure that
out, rather than an attribute, like for StaticLibrary. Doing that
simplifies existing and upcoming code.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:39:20 +00:00
Mike Hommey 8c8ec786b2 Bug 1573566 - Make rust libraries more like normal libraries. r=froydnj
Apart from the need to link them last, they don't actually need to be
treated any different from normal static libraries.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:39:02 +00:00
Mike Hommey e8b5c21263 Bug 1573566 - Don't make HostRustLibrary indirectly inherit from StaticLibrary. r=froydnj
So that isinstance(foo, StaticLibrary) doesn't end up being true for
HostRustLibrary. Instead, it now inherits from HostLibrary.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 14:35:36 +00:00
Mike Hommey ac7a210250 Bug 1573566 - Fully check that two Rust libraries aren't being linked to the same binary. r=froydnj
The existing check is no thorough enough: it only checks that multiple
Rust libraries are not directly linked to the same binary, but that's
not enough. In fact, until the change prior to this one, this was
happening to xul-gtest, and without that change, this is what configure
would now have to say:

  Cannot link the following Rust libraries into the "xul-gtest" library:
    - gkrust-gtest
    - gkrust
  Only one is allowed.

This only ended up not being a problem because the backend somehow works
around the problem, which it shouldn't have to do.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 21:47:56 +00:00
Andrew Halberstadt 91d4452d2e Bug 1568277 - [taskgraph] Split optimize strategies out into a separate file r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40203

--HG--
rename : taskcluster/taskgraph/optimize.py => taskcluster/taskgraph/optimize/__init__.py
extra : moz-landing-system : lando
2019-08-16 14:25:47 +00:00
Andreas Tolfsen c65d20cca3 bug 1540655: mozbuild: add puppeteer test flavor; r=firefox-build-system-reviewers,chmanchester
The Puppeteer test flavour are functional tests for the CDP-based
Puppeteer library from Google, that we want to run against our
implementation of CDP for Firefox.

They are distinct from the Firefox Puppeteer tests based on Marionette.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 12:58:19 +00:00
Mike Hommey 57a88cbf46 Bug 1573435 - Use toolchain fetches for source-test builds. r=nalexander
While here, use GECKO_PATH instead of $HOME/checkouts/gecko.

Differential Revision: https://phabricator.services.mozilla.com/D41889
2019-08-15 11:21:51 +09:00
Ciure Andrei 8a1785a6cc Backed out 11 changesets (bug 1540655) for test_resolve.py perma failures CLOSED TREE
Backed out changeset 1a23d770d8a1 (bug 1540655)
Backed out changeset 641a7cb25298 (bug 1540655)
Backed out changeset 73236f81da44 (bug 1540655)
Backed out changeset 8d7bad30be46 (bug 1540655)
Backed out changeset bb012df3018b (bug 1540655)
Backed out changeset 8c67b494e207 (bug 1540655)
Backed out changeset c0a80d37576d (bug 1540655)
Backed out changeset 939ce2afcf0b (bug 1540655)
Backed out changeset 3b3a2a9fbc8b (bug 1540655)
Backed out changeset b96dede008ad (bug 1540655)
Backed out changeset 997d1568d944 (bug 1540655)
2019-08-14 18:53:36 +03:00
Andreas Tolfsen 22c1d3b01b bug 1540655: mozbuild: add puppeteer test flavor; r=firefox-build-system-reviewers,chmanchester
The Puppeteer test flavour are functional tests for the CDP-based
Puppeteer library from Google, that we want to run against our
implementation of CDP for Firefox.

They are distinct from the Firefox Puppeteer tests based on Marionette.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 14:58:04 +00:00
Henrik Skupin 0529daadd3 Bug 1573406 - Remove every trace of Firefox UI update tests. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D41834

--HG--
extra : moz-landing-system : lando
2019-08-14 11:08:45 +00:00
Nicholas Nethercote 13a7295574 Bug 1573080 - Supporting indenting of directives in preprocessor.py. r=glandium
Depends on D41494

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:18:55 +00:00
J.C. Jones 32759c8ed5 Bug 1573662 - Rename sanctions test routines to make it easier to add new ones r=keeler
1) Multipurpose-ing the TLSServer specialization to `SanctionsTestServer`
2) Renaming the `security/manager/ssl/tests/unit/test_symantec_apple_google` folder of certs to `test_sanctions`
3) Prepend a `symantec-` to the start of all relevant certs in the new `test_sanctions` folder
4) Renaming the existing xpcshell test to `test_sanctions_symantec_apple_google.js`

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

--HG--
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key => security/manager/ssl/tests/unit/test_sanctions/default-ee.key
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key.keyspec => security/manager/ssl/tests/unit/test_sanctions/default-ee.key.keyspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem => security/manager/ssl/tests/unit/test_sanctions/default-ee.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/default-ee.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/moz.build => security/manager/ssl/tests/unit/test_sanctions/moz.build
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-after-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-after-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-after-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-after-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-before-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-before-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-before-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-before-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-after-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-after-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-after-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-after-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-before-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-before-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-before-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-before-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other-crossigned.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other-crossigned.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other-crossigned.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other-crossigned.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-whitelisted.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-whitelisted.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-whitelisted.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-whitelisted.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/real-google-g2-intermediate.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-real-google-g2-intermediate.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/real-googlecom.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-real-googlecom.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/test-ca.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-test-ca.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/test-ca.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-test-ca.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google.js => security/manager/ssl/tests/unit/test_sanctions_symantec_apple_google.js
rename : security/manager/ssl/tests/unit/tlsserver/cmd/SymantecSanctionsServer.cpp => security/manager/ssl/tests/unit/tlsserver/cmd/SanctionsTestServer.cpp
extra : moz-landing-system : lando
2019-08-13 20:59:17 +00:00
Mike Hommey dff4165f31 Bug 1573314 - Add a dependency between 'target-shared' and 'target' targets in the same directory. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D41685

--HG--
extra : moz-landing-system : lando
2019-08-13 03:00:43 +00:00
Axel Hecht c3a71a9957 Bug 1321281, add test framework for Fluent migration recipes, r=flod,ahal
Basic test infrastructure for Fluent migration recipes, automate creating
a reference from recipe data, and running the recipe dry and wet.

There are no hard failures for diffs, as it might just be OK.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 11:54:30 +00:00
Mike Hommey 0637bfef3e Bug 1572046 - Build shared libraries in a separate target. r=nalexander
When a directory, like toolkit/library, builds both a static and a
shared library, and another, like toolkit/library/gtest, depends on the
static part, it currently needs to wait for the shared library to be
finished building, preventing both libraries being built in parallel.

By separating shared libraries to a different target, we allow more
parallelism to the build.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:50:14 +00:00
Justin Wood 605aa0fa02 Bug 1473498 - More support for py3. r=firefox-build-system-reviewers,mshal
This patch makes BuildEnvironmentNotFoundException a subclass of AttributeError as well, because hasattr in
python3 no longer catches all tracebacks but only AttributeError, and we use both hasattr and
BuildEnvironmentNotFoundException to guard against a handful of buildconfig variables in a few places
where it is OK to not have a buildenvironment.

We also use universal_newlines in real_host in init.configure (since I found
that fix while working on the AttributeError one) so that we get the right string type back from the process call

Lastly this patch also uses BytesIO for calling into a ReducedConfigureSandbox as its stdout and stderr pipes,
This ensures that related code handling the sandbox doesn't complain about getbuffer() missing in StringIO in py3.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 21:26:54 +00:00
rdalal 43acd674ea Bug 1569330 - Disable telemetry check in Normandy recipe runner r=mythmon,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39576

--HG--
extra : moz-landing-system : lando
2019-08-06 23:54:34 +00:00
Mike Hommey 612b8abba4 Bug 1571636 - Expose build resources data from automation builds as artifacts. r=nalexander
The build docker images need python-dev installed to build psutil, used
by the build resources monitor.

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

--HG--
rename : python/mozbuild/mozbuild/resources/html-build-viewer/index.html => python/mozbuild/mozbuild/resources/html-build-viewer/build_resources.html
extra : moz-landing-system : lando
2019-08-06 21:26:47 +00:00
Mike Hommey 941ce05c0b Bug 1571636 - Rename the build resources list file and allow it not to be a list. r=nalexander
The longer version is that this changes how the HTML viewer looks up
files. Instead of looking at a list file that contains a list of
build resources data, it now looks at a build_resources.json file that
either contains data directly, or a list of files containing data.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 18:34:21 +00:00
Mike Hommey 2557f65a18 Bug 1571636 - Make the build resources list file contain the full relative path to all resource files. r=nalexander
Rather than imply they should all be in the resources subdirectory.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 21:20:29 +00:00
Mike Hommey f031ffbf76 Bug 1571636 - Get d3.js from https. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40778

--HG--
extra : moz-landing-system : lando
2019-08-06 18:26:53 +00:00
Nick Alexander f049bde942 Bug 1512487 - Part 2: Add "global" lint type. r=ahal
This patch adds a global lint that only runs when a file or directory
that matches their configuration (via `extensions` and `exclude`) has
been modified or specified.

Global lints never shard into chunks; they are, by definition global
(i.e., across the entire source tree) and act on all inputs in a
single invocation.  It's up to the global lint to manage command line
sizes, etc.  Since batching is handled by the lint type but sharding
is handled by the lint roller, there's a little abstraction leak so
that the lint type can control how its invocation is sharded: the
existing `batch` member is generalized from the existing `True` and
`False` to add a new `"global"` value which disables sharding.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:34:09 +00:00
Nick Alexander fd38e457ec Bug 1512487 - Part 1: Allow lints to inspect part of the build environment. r=ahal
This allows lints to "condition" themselves on having a build
environment or a specific build application.  It also adds the "name"
parameter, so that setup functions can be shared across lints.

`MozbuildObject` cannot be used as parameters to functions distributed
via multiprocessing, since they cannot be pickled (due, currently, to
internal terminal handles).  Therefore we extract just a few key
parts of the environment to expose.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:30:02 +00:00
Zibi Braniecki b87d8246a9 Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379

--HG--
extra : moz-landing-system : lando
2019-08-02 16:07:44 +00:00
Andreea Pavel 3b500e9fdd Backed out changeset 7a06c08bf267 (bug 1501886) for bc failures e.g. browser_window_menu_list.js on a CLOSED TREE 2019-08-02 05:44:47 +03:00
Zibi Braniecki 2a1b1da4ee Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379

--HG--
extra : moz-landing-system : lando
2019-08-01 14:21:13 +00:00
Moritz Birghan 31f729e8c4 Bug 1004308 - rename BadCertServer to BadCertAndPinningServer r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39748

--HG--
rename : security/manager/ssl/tests/unit/tlsserver/cmd/BadCertServer.cpp => security/manager/ssl/tests/unit/tlsserver/cmd/BadCertAndPinningServer.cpp
extra : moz-landing-system : lando
2019-07-31 17:06:07 +00:00
Bryce Seager van Dyk 3acd2d8056 Bug 1570352 - Make sure ensure_java correctly passes extra search dirs to which. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40065

--HG--
extra : moz-landing-system : lando
2019-07-31 17:12:21 +00:00
Joel Maher ea680be1a5 Bug 1569916 - run reftest/crashtest on android-hw when gfx/* files change. r=ahal
run reftest/crashtest on android-hw when gfx/* files change.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 13:43:59 +00:00
Andrew Halberstadt d3ccaac56c Bug 1473498 - Fix Python 3 environment variables with subprocess r=glandium
On Windows in Python 2, the subprocess module requires the use of bytes with
the 'env' argument. For that reason, we would sometimes use byte strings with
'os.environ' like so:

    os.environ[b"FOO"] = b"bar"

However, this is a failure with Python 3 as 'os.environ' must only be used with
the text type. This patch creates a new 'setenv' helper that ensures we create
new environment with 'bytes' on Python 2, and 'text' on Python 3.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 21:35:53 +00:00
Johan Lorenzo 13648fa0df Bug 1563711 - Remove target.maven.zip r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38175

--HG--
extra : moz-landing-system : lando
2019-07-30 15:35:12 +00:00
Bastien Abadie 74eca00f1f Bug 1569882 - Fix mozlint unit tests for relative path outputs, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39877

--HG--
extra : moz-landing-system : lando
2019-07-30 23:30:15 +00:00
Mike Hommey 0b648ba79b Bug 1569075 - Rename FileAvoidWrite mode argument. r=chmanchester
It causes confusion because it's the mode used to _read_ the overwritten
file. Make that more obvious by renaming to `readmode`.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 21:03:12 +00:00
Andi-Bogdan Postelnicu d7d56b3178 Bug 1569880 - Report build errors during review-phase for C/C++ code. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D39843

--HG--
extra : moz-landing-system : lando
2019-07-30 07:42:18 +00:00
Bastien Abadie cd3055975d Bug 1568771 - Output paths relative to repository in ./mach static-analysis check-coverity, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D39306

--HG--
extra : moz-landing-system : lando
2019-07-30 06:44:52 +00:00
Bastien Abadie 11ff2f61f3 Bug 1568484 - Output issues relative paths in mozlint, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D39162

--HG--
extra : moz-landing-system : lando
2019-07-26 15:39:17 +00:00
James Willcox 3076806612 Bug 1561323 - Fix spurious reconfigure problem with debug builds r=nalexander,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39701

--HG--
extra : moz-landing-system : lando
2019-07-29 16:49:17 +00:00
Edwin Gao a1cc4534a7 Bug 1519369 - support 'debugger' parser argument for mach test command r=ahal,gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39229

--HG--
extra : moz-landing-system : lando
2019-07-26 15:18:18 +00:00
Mike Hommey 177a9940a7 Bug 1568713 - Do some sanity checks on FileAvoidWrite inputs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39271

--HG--
extra : moz-landing-system : lando
2019-07-25 22:49:21 +00:00
Makoto Kato e4d28810e5 Bug 774115 - Support mach bootstrap on Windows for Android. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33584

--HG--
extra : moz-landing-system : lando
2019-07-25 09:29:10 +00:00
Bastien Abadie 6621e16e02 Bug 1568535 - Output relative paths in mach static-analysis check, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D39197

--HG--
extra : moz-landing-system : lando
2019-07-25 08:50:50 +00:00
Bastien Abadie 08c32bbebe Bug 1568558 - Output paths relative to repository in ./mach clang-format, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D39211

--HG--
extra : moz-landing-system : lando
2019-07-25 08:50:33 +00:00
Mike Shal 1c560ed0f2 Bug 1567619 - Avoid double stat in preprocessed file installs; r=glandium
Followup to bug 1566044.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 03:03:36 +00:00
Mike Hommey 6a8d20b0cc Bug 1564216 - Require clang 5 for OSX builds. r=froydnj
There is less incentive to keep things building with older versions of
clang for OSX builds, and we're going to require an objective-C feature
that was added in clang 5.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 21:31:39 +00:00
Simon Sapin 0540fe3688 Bug 1565193 - Require Rust 1.36 r=glandium
MozReview-Commit-ID: GjcKBjZvTPr

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

--HG--
extra : moz-landing-system : lando
2019-07-19 04:50:22 +00:00
Agi Sferro d0cb127dad Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D15159

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Edwin Gao bf3cb1ec8b Bug 1559975 - fix python2 linter errors for python/devtools r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37640

--HG--
extra : moz-landing-system : lando
2019-07-16 17:46:08 +00:00
Mike Shal 4e0a8ed2b5 Bug 1566044 - Missing inputs in install manifests should trigger updates; r=nalexander
The preprocessed install manifest code uses a Makefile dependency file
to list inputs. If one of the inputs was missing (due to a file removal
or rename), an incremental build would fail until clobbered. We should
treat a missing input as simply being out-of-date and continue
processing.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 22:40:57 +00:00
Andrew Halberstadt 9c1c973edf Bug 1473498 - [mach] Fix Py3 compatibility issues in telemetry.py r=firefox-build-system-reviewers,chmanchester
Depends on D36104

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

--HG--
extra : moz-landing-system : lando
2019-07-16 20:53:18 +00:00
Andrew Halberstadt 4e06e1101d Bug 1473498 - [mach] Fix Python 3 decorator compatibility r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D36104

--HG--
extra : moz-landing-system : lando
2019-07-16 20:42:34 +00:00
Chris Manchester c418bfd3d5 Bug 1566219 - Provide dist-toolchains for use with sccache in bootstrap on macOS. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38151

--HG--
extra : moz-landing-system : lando
2019-07-16 18:50:59 +00:00
Andrew Halberstadt 63b68be0e1 Bug 1473498 - Fix Py3 compatibility issue in python/mozbuild/mozbuild/testing.py r=nalexander
Depends on D37763

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

--HG--
extra : moz-landing-system : lando
2019-07-16 15:14:49 +00:00
Mike Hommey 5bfb4c9c92 Bug 1564314 - Make linters happy with the gdbpp code. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D37676

--HG--
extra : moz-landing-system : lando
2019-07-11 18:19:44 +00:00
Mike Hommey f7f0525dc1 Bug 1564314 - Move gdbpp back to python/. r=nalexander
Somehow bug 1346025 moved it to third_party/python but... it's not third
party code.

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

--HG--
rename : third_party/python/gdbpp/gdbpp/__init__.py => python/gdbpp/gdbpp/__init__.py
rename : third_party/python/gdbpp/gdbpp/enumset.py => python/gdbpp/gdbpp/enumset.py
rename : third_party/python/gdbpp/gdbpp/linkedlist.py => python/gdbpp/gdbpp/linkedlist.py
rename : third_party/python/gdbpp/gdbpp/owningthread.py => python/gdbpp/gdbpp/owningthread.py
rename : third_party/python/gdbpp/gdbpp/smartptr.py => python/gdbpp/gdbpp/smartptr.py
rename : third_party/python/gdbpp/gdbpp/string.py => python/gdbpp/gdbpp/string.py
rename : third_party/python/gdbpp/gdbpp/tarray.py => python/gdbpp/gdbpp/tarray.py
rename : third_party/python/gdbpp/gdbpp/thashtable.py => python/gdbpp/gdbpp/thashtable.py
extra : moz-landing-system : lando
2019-07-11 02:39:31 +00:00
Tom Prince 2208f1c2cf Bug 1458385: Generate MARs with the appropriate channel-id explicitly; r=nthomas
Rather than relying on the mar-channel-id set in the `mar` binary, set the channel
explicitly from taskcluster. This allows us to re-use the `mar` binary between
builds/channels.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Andrew Halberstadt 1190fb0269 Bug 1563797 - Use 'backports.shutil_which' instead of 'which' in the build system r=firefox-build-system-reviewers,chmanchester
Credit: Callek for figuring out an issue in 'make check' making the binary
absolute in mozbuild.base.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 14:04:39 +00:00
Andrew Halberstadt 3486ba642c Bug 1563797 - Use 'backports.shutil_which' instead of 'which' across the tree r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D37097

--HG--
extra : moz-landing-system : lando
2019-07-11 14:03:39 +00:00
Victor Porof 9350016346 Bug 1564824 - Format source fails with Prettier on patches with moved files where the original directory also does not exist, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D37537

--HG--
extra : moz-landing-system : lando
2019-07-10 11:15:18 +00:00
Andreea Pavel a35fc693c4 Backed out changeset fa94c9a03e3f (bug 1564314) for linting failures on a CLOSED TREE
--HG--
rename : python/gdbpp/gdbpp/__init__.py => third_party/python/gdbpp/gdbpp/__init__.py
rename : python/gdbpp/gdbpp/enumset.py => third_party/python/gdbpp/gdbpp/enumset.py
rename : python/gdbpp/gdbpp/linkedlist.py => third_party/python/gdbpp/gdbpp/linkedlist.py
rename : python/gdbpp/gdbpp/owningthread.py => third_party/python/gdbpp/gdbpp/owningthread.py
rename : python/gdbpp/gdbpp/smartptr.py => third_party/python/gdbpp/gdbpp/smartptr.py
rename : python/gdbpp/gdbpp/string.py => third_party/python/gdbpp/gdbpp/string.py
rename : python/gdbpp/gdbpp/tarray.py => third_party/python/gdbpp/gdbpp/tarray.py
rename : python/gdbpp/gdbpp/thashtable.py => third_party/python/gdbpp/gdbpp/thashtable.py
2019-07-10 10:12:34 +03:00
Mike Hommey 2f3833c4b3 Bug 1564314 - Move gdbpp back to python/. r=nalexander
Somehow bug 1346025 moved it to third_party/python but... it's not third
party code.

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

--HG--
rename : third_party/python/gdbpp/gdbpp/__init__.py => python/gdbpp/gdbpp/__init__.py
rename : third_party/python/gdbpp/gdbpp/enumset.py => python/gdbpp/gdbpp/enumset.py
rename : third_party/python/gdbpp/gdbpp/linkedlist.py => python/gdbpp/gdbpp/linkedlist.py
rename : third_party/python/gdbpp/gdbpp/owningthread.py => python/gdbpp/gdbpp/owningthread.py
rename : third_party/python/gdbpp/gdbpp/smartptr.py => python/gdbpp/gdbpp/smartptr.py
rename : third_party/python/gdbpp/gdbpp/string.py => python/gdbpp/gdbpp/string.py
rename : third_party/python/gdbpp/gdbpp/tarray.py => python/gdbpp/gdbpp/tarray.py
rename : third_party/python/gdbpp/gdbpp/thashtable.py => python/gdbpp/gdbpp/thashtable.py
extra : moz-landing-system : lando
2019-07-09 16:09:14 +00:00
Mike Hommey 20ee1b2284 Bug 1563158 - Properly handle imply_option dependency loops when `when` is involved. r=chmanchester
This is an extension of the relaxation added in bug 1529799.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 22:04:01 +00:00
Makoto Kato ecd47d34f4 Bug 1562389 - Better detect non-clang-cl native windows clang. r=glandium
When building Gecko/Android/aarch64 on Windows, `--target` parameter may not be incorrect value. Although `check_compiler`'s `info` is target compiler, clang on Windows is always detected as `clang-cl`, not `clang`.

```
c:/Users/mkato/.mozbuild/clang/bin/clang.exe -E  -dM - < /dev/null
...
#define _MSC_VER 1916
```

So even if using clang on Windows, not clang-cl, we should detect as 'clang' correctly

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

--HG--
extra : moz-landing-system : lando
2019-07-08 10:35:40 +00:00
Justin Wood 4b233fe605 Bug 1559975 - Make python/mach lint with 'py2' and 'py3' r=catlee
Depends on D36096

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:24:58 +00:00
Justin Wood 939e67a089 Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D36090

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:43 +00:00
Victor Porof fc0105c226 Bug 1556393 - Pre 0 (m-c): Create a simple Prettier command for running format-source, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D36720

--HG--
extra : source : c168aefc21dfec8a1935272201592f3781df07b0
extra : intermediate-source : 008847a148cfd171e6e23425be5d6876c6174ef0
2019-07-04 14:50:20 +02:00
Andi-Bogdan Postelnicu d2e65163f9 Bug 1563326 - for code-analysis target do not globally import PackageFrontend. r=sylvestre
By globally importing PackageFrontend from the globe-analysis module we break the logger for
the PackageFrontend package.

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

--HG--
extra : moz-landing-system : lando
2019-07-04 11:42:16 +00:00
Ed Lee 475d41e647 Bug 1563243 - Add optimistic images, string robustness and bug fixes to New Tab Page r=pdahiya,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36764

--HG--
extra : moz-landing-system : lando
2019-07-03 23:49:07 +00:00
Mike Hommey 7256ffeb9b Bug 1560044 - Always use a SDK path on macOS. r=nalexander
The SDK headers may not be installed in /usr/include. The usual response
has been to have people run e.g. `open
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg`
which is not really sustainable.

This makes builds that happen on a macOS host try to detect their SDK
and use that as a default for --with-macos-sdk, which has the side
effect of enabling the SDK version check in that configuration.

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

--HG--
extra : moz-landing-system : lando
2019-07-03 22:11:05 +00:00
Francesco Lodolo (:flod) e14e57c33f Bug 1563216 - Remove Fluent migration recipes for Firefox 68 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D36754

--HG--
extra : moz-landing-system : lando
2019-07-03 13:36:06 +00:00
Andrew Halberstadt 1a58163ed7 Bug 1473498 - [mach] Enable test_logger with Python 3 r=firefox-build-system-reviewers,chmanchester
Depends on D36101

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

--HG--
extra : moz-landing-system : lando
2019-07-02 20:59:46 +00:00
Andrew Halberstadt 3f6339271d Bug 1473498 - [mach] Enable test_config with Python 3 r=firefox-build-system-reviewers,chmanchester
Depends on D36100

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

--HG--
extra : moz-landing-system : lando
2019-07-02 20:59:03 +00:00
Andrew Halberstadt 975f664521 Bug 1473498 - [mach] Enable test_entry_points with Python 3 r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D36100

--HG--
extra : moz-landing-system : lando
2019-07-02 20:58:14 +00:00
Andrew Halberstadt 3824b084b6 Bug 1473498 - [mach] Enable test_dispatcher with python 3 r=firefox-build-system-reviewers,chmanchester
This test is working with minimal effort. Let's get it running to prevent
future regressions.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 21:27:35 +00:00
Andrew Halberstadt 6f363de429 Bug 1473498 - [mach] Pull tests out of make check r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D36097

--HG--
extra : moz-landing-system : lando
2019-07-02 20:40:39 +00:00
Mike Hommey 18f786a985 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 23:25:03 +00:00
Andreea Pavel c92947ecc6 Backed out 5 changesets (bug 1528314, bug 1560044) for build bustages on a CLOSED TREE
Backed out changeset 4a544cd4b035 (bug 1528314)
Backed out changeset 91919cdf9159 (bug 1528314)
Backed out changeset 1271940e91e8 (bug 1560044)
Backed out changeset a5bbaa8c1001 (bug 1560044)
Backed out changeset 7ae0d606f1c6 (bug 1560044)
2019-07-03 02:20:15 +03:00
Mike Hommey 0c7ee5ce30 Bug 1528314 - Remove --with-java-bin-path mozconfig entry from bootstrap suggestions. r=nalexander
Configure should just be able to find the right one. If it doesn't, that
should be fixed in configure rather than with suggestions in bootstrap.

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

--HG--
extra : moz-landing-system : lando
2019-07-02 17:25:38 +00:00
Ryan VanderMeulen 252c38a825 Bug 1563038 - Add more trees to the candidate tree list for artifact builds. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D36676

--HG--
extra : moz-landing-system : lando
2019-07-02 21:58:21 +00:00
Jeane Carlos fbe42f7796 Bug 1555788 - Migrate about preferences home content to use fluent r=fluent-reviewers,Mardak,pdahiya,flod
Differential Revision: https://phabricator.services.mozilla.com/D35278

--HG--
extra : moz-landing-system : lando
2019-07-02 17:25:55 +00:00
Andi-Bogdan Postelnicu 247d96a5f4 Bug 1559740 - add separate modules for build, static-analysis and artifacts. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D36479

--HG--
extra : moz-landing-system : lando
2019-07-01 14:02:20 +00:00
Sylvestre Ledru da21266863 Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187

--HG--
extra : moz-landing-system : lando
2019-07-01 13:57:18 +00:00
Samuel Thibault 102e3a2ebb Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102

--HG--
extra : moz-landing-system : lando
2019-06-27 14:09:05 +00:00
Kartikaya Gupta 711c133f6d Bug 1558598 - Force WebRender on or off in the gtest harness. r=ahal
This covers the local and remote gtests, as well as the mach command.

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

--HG--
extra : moz-landing-system : lando
2019-06-29 09:48:16 +00:00
Mike Hommey b53fa7eb49 Bug 1561632 - Back out bug 1554987. r=ahal
Bug 1554987 made `mach try` use a transient remote, but that causes
problems with existing setups that happen to use the same remote name,
because of a combination of not-quite-as-documented-as-it-should
behavior of git.

- `git -c foo.bar=qux` doesn't override the value of `foo.bar` from the
  git configuration when `foo.bar` is an item that can take several
  values.
- `remote.$remote.url` and `remote.$remote.pushurl` take several values,
  allowing to give several URLs.

The combination of both means that if the git configuration already has
`remote.try.url` set, that value takes precedence (because git push
tries them one after the other, and takes the one from the command line
last)

One way we could increase the chances of things working out fine would
be to use `remote.try.pushurl`, which if already set, is more likely to
be right than an existing `remote.try.url`.

OTOH, it turns out, after more investigation, that bug 1554987 requires
a footgunny setup to happen in the first place. Namely, it requires
having run `git lfs install` from a git-cinnabar clone.

so we just go back to the previous status quo.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 15:58:36 +00:00
championshuttler 60ba27adf8 Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (3). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35314

--HG--
extra : moz-landing-system : lando
2019-06-26 20:00:31 +00:00
championshuttler 3303d92a29 Bug 1536103 - Fix Sphinx Warning - Unexpected indentation (1). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35304

--HG--
extra : moz-landing-system : lando
2019-06-28 18:33:19 +00:00
Cosmin Sabou 20f7fd4c63 Backed out 3 changesets (bug 1559740) for linting errors and android bustages. CLOSED TREE
Backed out changeset 39db36060b8a (bug 1559740)
Backed out changeset df14ac0c2421 (bug 1559740)
Backed out changeset 089e04f53971 (bug 1559740)
2019-06-28 19:40:13 +03:00
Cosmin Sabou 6dce1fb935 Bug 1559740 - Ride along - add a missing import. r=Sylvestre 2019-06-28 18:15:31 +03:00
Sylvestre Ledru edf07b0f4d Bug 1559740 - Ride along - flake8+black+codespell on python/mozbuild/mozbuild/code-analysis/mach_commands.py r=andi
Depends on D35187

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:40:18 +00:00
Sylvestre Ledru 85ae7943fc Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187

--HG--
extra : moz-landing-system : lando
2019-06-28 07:39:48 +00:00
Ed Lee 10090c374d Bug 1561811 - Add fluent performance, 7-row pocket and bug fixes to Activity Stream r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36150

--HG--
extra : moz-landing-system : lando
2019-06-27 20:31:22 +00:00
Rok Garbas d8e57f535e Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36010

--HG--
extra : source : 7e05642566d001eb7b6900e80788212310243c3c
extra : histedit_source : 361d6b5974f9a4708f12f2c747645df6c7d706ee
2019-06-27 12:54:07 +00:00
Dorel Luca 66a6c7cb6f Backed out changeset 7e05642566d0 (bug 1561582) for Toolchain failures. CLOSED TREE 2019-06-27 19:36:32 +03:00
Rok Garbas e09d6e060e Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail
Differential Revision: https://phabricator.services.mozilla.com/D36010

--HG--
extra : moz-landing-system : lando
2019-06-27 12:54:07 +00:00
Mike Hommey 794ccc7940 Bug 1500436 - Redirect node.js's stderr to a pipe. r=froydnj
This works around https://github.com/nodejs/node/issues/14752, which
causes problems with make.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 21:44:00 +00:00
Mike Hommey 8ad5ae09a7 Bug 1561494 - Remove gconf from bootstrap. r=froydnj
Gconf support was removed in bug 1433685.

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

--HG--
extra : moz-landing-system : lando
2019-06-26 12:54:30 +00:00
prathiksha 82a4475a6a Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33065

--HG--
extra : moz-landing-system : lando
2019-06-26 20:24:05 +00:00
L. David Baron f721ff614d Bug 1515105 - Adjust test for turning off git commit.gpgSign when making temporary commits for try pushes. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35876

--HG--
extra : moz-landing-system : lando
2019-06-26 15:04:01 +00:00
Nick Alexander 871427c9e4 Bug 1555255 - Don't require a network connection to produce Javadoc. r=geckoview-reviewers,agi
See https://stackoverflow.com/a/24026735.

Adding the `docs` package requirement is not ideal, but it's not worth
the effort to install it only in automation (or in the relevant task),
and it's not *that* large: 1.0G on my macOS installation.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 19:58:26 +00:00
Mike Hommey 2bd4c4799f Bug 1560826 - Make bootstrap upgrade mercurial when it is older than 4.8. r=nalexander
4.3.3 is the strict minimum required for v-c-t's config wizard, but it
is preferable people use more modern versions. We could go with 5.0, but
it feels like people still using 4.8 and 4.9 don't really need to be
bugged to update to a more recent version, they are kind of modern
enough. OTOH MozillaBuild comes with 4.5.x, and this will force an
upgrade for those.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:17 +00:00
Mike Hommey c836cba1d4 Bug 1560826 - Only install mercurial versions that have wheels. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D35755

--HG--
extra : moz-landing-system : lando
2019-06-25 16:50:50 +00:00
Mike Hommey 9101a37a23 Bug 1560826 - Backout changeset c9732a51552b (bug 1364511). r=nalexander
This makes the bootstrap behavior wrt. Mercurial consistent on all
platforms, making Windows bootstrap only upgrade Mercurial if the
version is older than MODERN_MERCURIAL_VERSION.

As a side effect, this avoids upgrading to version 5.0.1, which doesn't
come with wheels at the moment.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:49:30 +00:00
Mike Hommey d01dbf277a Bug 1561201 - Expose the list of build resource data from `mach resource-usage` page. r=nalexander
The `mach resource-usage` page supports a list of build resource data,
but only ever displays the first one. Nothing actually creates a list
with multiple items automatically, but one might want to do that
manually to explore data from multiple builds more conveniently.

So if such a list exists, we expose a dropdown list of all the data
available, and switch the graph when a different item is chosen from the
list.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 16:48:19 +00:00
Mike Hommey 2424ebfd74 Bug 1561102 - Add license exception for the mach crate. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D35743

--HG--
extra : moz-landing-system : lando
2019-06-25 20:25:44 +00:00
L. David Baron 36f9d91fe8 Bug 1515105 - Turn off git commit.gpgSign when making temporary commits for try pushes. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35726

--HG--
extra : moz-landing-system : lando
2019-06-25 17:21:47 +00:00
Mike Hommey cff8fe1fbc Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 21:36:31 +00:00
Dorel Luca 49c9b3a351 Backed out changeset 21826fb830de (bug 1554987) for py2 and py3 failures. CLOSED TREE 2019-06-25 00:28:50 +03:00
Kartikaya Gupta e6c7a2e2b3 Bug 1519598 - Add a commit function in the repository helper. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35205

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:04 +00:00
Mike Hommey e5d8e3b235 Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 14:40:21 +00:00
Mike Hommey 9c53f7e19d Bug 1560527 - Enable make backend verbose mode automatically rather than relying on mach setting it. r=froydnj
This makes running without mach more consistent. e.g. running
`make -C $objdir/toolkit/library/rust target` makes the cargo log
verbose, and adding `-s` makes it less verbose.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 13:15:30 +00:00
Mike Hommey c74d2769cd Bug 1560442 - Allow to build rust code in a separate tier. r=froydnj
When the `MOZ_RUST_TIER` environment variable is set, we enable a separate
tier that builds rust code only. This is useful to measure build times for
rust code separately from other compilations.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 13:20:17 +00:00
prathiksha b901cf9927 Bug 1552333 - Move onCertErrorDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D31901

--HG--
extra : moz-landing-system : lando
2019-06-18 03:54:21 +00:00
Eric Rahm 67b4023a9b Bug 1555067 - Backed out changeset 0801165e3175. r=jcj
NSS_ALLOW_SSLKEYLOGFILE no longer has issues upstream, we can allow it again.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 20:59:55 +00:00
Chris Manchester c74a1fa131 Bug 1558996 - Require rust 1.35 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D34794

--HG--
extra : moz-landing-system : lando
2019-06-13 06:02:05 +00:00
Bob Clary 74c663dfaa Bug 1558931 - Improve performance of moz.build Schedules __or__, r=dustin.
Differential Revision: https://phabricator.services.mozilla.com/D34770

--HG--
extra : moz-landing-system : lando
2019-06-13 16:07:26 +00:00
Andi-Bogdan Postelnicu 9b380eca92 Bug 1559121 - Specify custom port for Coverity platform. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D34871

--HG--
extra : moz-landing-system : lando
2019-06-13 12:58:30 +00:00
Justin Wood 8d5dbea57f Bug 1533818 - Don't try to expand from a 'cose.manifest' file when repacking the l10n copy of omni.ja. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D34697

--HG--
extra : moz-landing-system : lando
2019-06-12 23:03:22 +00:00
Mike Hommey 87bda34b48 Bug 1558737 - Remove BUILD_FASTER define. r=nalexander
The last use of the define was removed in bug 1437942.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:20:16 +00:00
Mike Hommey 44e96352da Bug 1557547 - Actively reject clang < 4.0 during configure. r=mshal
Bug 1394825 bumped the minimum version of clang we use on automation,
for the base toolchain jobs, and there's a libclang test for bindgen,
but we should reject the compiler in the first place.

The check to do that works in both C and C++, contrary to the original
3.6 test that was checking a C++ feature ; the test was later changed
for 3.9, using a check that would have worked in both C and C++, but
the C exception was left around. We remove it now.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 22:22:24 +00:00
Nick Alexander a53b7f71ed Bug 1556162: Ignore non-deterministic localized resources in fat AARs. r=mshal
This works around the following situation: the Ngv/fat AAR task is
deterministic, but it depends on N tasks for multiple architectures,
adn the exact l10n changeset pulled by each N task depends on the tip
of the l10n HG repository at the time the N task executes.

For now, just ignore the obvious localized resources: *.ftl, *.dtd,
*.properties.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 22:44:29 +00:00
Mike Hommey edca46fdec Bug 1557336 - Unset LC_CTYPE when executing pipenv. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34484

--HG--
extra : moz-landing-system : lando
2019-06-11 20:24:04 +00:00
David Teller 75ea881e7f Bug 1520001 - dependency cloudabi is BSD-2 and must appear in about:license;r=mhoye
Not sure why this wasn't done before, but it prevented me from running `./mach rust vendor`.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 13:22:58 +00:00
Eric Rahm 984d318461 Bug 1551368 - Part 3: Don't remove the rust incremental cache when clobbering. r=chmanchester
Skips over the incremental cache when performing a clobber. The incremental compilation cache is located at:
  `$(objdir)/$(rust_target)/$(rust_build_kind)/incremental`

When cross compiling there can be two caches, one for the host and one for the target so we handle both.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:33 +00:00
Eric Rahm d84fd94a97 Bug 1551368 - Part 2: Make the Clobberer aware of substs. r=chmanchester
Pass in the substs dictionary to `Clobberer` so that we can use it to query `cargo` paths.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:11 +00:00
Eric Rahm 2c410d83ab Bug 1551368 - Part 1: Factor out subdirectory logic. r=chmanchester
Pull out the logic for filtering subdirectories and deleting them into
reusable functions.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:35:07 +00:00
Mike Hommey ff4ab7e28f Bug 1557855 - Use a sensible default for --with-android-ndk. r=nalexander
Use the same logic as for --with-android-sdk to use the NDK downloaded
by mach bootstrap by default.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 22:23:37 +00:00
Henri Sivonen 37bd3aa18a Bug 1557278 - Avoid implicit conversion to Unicode when rewriting log lines. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33942

--HG--
extra : moz-landing-system : lando
2019-06-06 16:46:40 +00:00
Mike Hommey 0cccf3e16e Bug 1472091 - Bootstrap clang from automation on Mac. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34077

--HG--
extra : moz-landing-system : lando
2019-06-07 00:46:15 +00:00
Mike Hommey ff640b266d Bug 1557213 - Remove CC/CXX from suggested mozconfig for Android builds. r=nalexander
After bug 1519954, the build system will pick the compiler in
~/.mozbuild on its own, so there's no need to suggest people to manually
put that in their mozconfig.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 00:40:53 +00:00
Chris Manchester b17e1484eb Bug 1552120 - Add a flag to the packager to ignore broken symlinks and pass it for developer builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D33893

--HG--
extra : moz-landing-system : lando
2019-06-06 23:22:42 +00:00
shindli a06e4d2ea4 Merge autoland to mozilla-central. a=merge 2019-06-06 12:28:43 +03:00
Mike Hommey 4725fa3b70 Bug 1551639 - Don't build generated source files during the export tier. r=nalexander
As established previously, generated source files that are not included
don't need to be built during the export tier.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 04:35:00 +00:00
Jorg K d2d05444d9 Backed out changeset bb3d70c37398 (bug 1543725) for busting Thunderbird builds. a=backout 2019-06-05 22:24:02 +02:00