Commit Graph
3284 Commits
Author SHA1 Message Date
Cosmin Sabou 068fcbe0a2 Backed out changeset 565215cf2e5e (bug 1501802) for causing mass mda failures. CLOSED TREE 2018-11-15 09:17:08 +02:00
Bob Clary 0475b740d1 Bug 1501802 - Update tooltool.py fetch_file to log.info exceptions instead of log.debug, r=garbas 2018-11-10 03:10:08 -08:00
Thomas Daede 96da91900d Bug 1501796 - Add USE_NASM mozbuild option. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D9868
2018-11-07 00:26:07 +00:00
Andreea Pavel 9d857f691b Backed out changeset 2bc6db0a2574 (bug 1486524) android raptor failures ona CLOSED TREE 2018-11-14 23:04:59 +02:00
James Willcox 1719c73fa2 Bug 1486524 - Don't use XZ compression for libs on Android r=glandium,nalexander
This also uses idiomatic packaging of the native libraries, which
will allow easier downstream consumption of GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D10775
2018-11-14 17:48:58 +00:00
Ted Mielczarek dc4dd2c5cb bug 1507047 - fix packaging of generated Rust sources. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11874
2018-11-14 16:03:47 +00:00
Chris Manchester aa79a6bb4c Bug 1505859 - Allow rusttests to run when requested without --enable-rust-tests. r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D11514
2018-11-10 14:59:39 +00:00
Connor Sheehan 91c76cc7d0 Bug 1505086: move verify_statedir from telemetry submission script to mozbuild.telemetry r=ted
A subsequent commit will require similar logic to the
checks found in this command. Moving to mozbuild will
allow us to re-use the function instead of re-writing
similar logic.

Differential Revision: https://phabricator.services.mozilla.com/D11277
2018-11-12 14:57:49 +00:00
shindli 9331299b4e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-10 23:40:36 +02:00
Ted Mielczarek 6e12dde581 bug 1505325 - fix build telemetry path filtering when cwd is outside of topsrcdir/objdir. r=firefox-build-system-reviewers,chmanchester
The build telemetry code attempts to filter paths to avoid PII from usernames
and other things. It does this by converting every commandline argument to
an absolute path and then making them relative to topsrcdir or topobjdir and
omitting any that fail. This meant that running a mach command with a cwd
outside of the topsrcdir or objdir would omit all arguments since they were
converted to absolute paths from the cwd.

This change fixes this by adding the cwd to the list of paths used to create
relative paths. Additionally we add the user's home directory to that list
to try to avoid usernames sneaking through. Finally, instead of simply
removing these path prefixes, we replace them with sigils: $topsrcdir,
$objdir, $HOME.

Differential Revision: https://phabricator.services.mozilla.com/D11174
2018-11-10 19:14:44 +00:00
Ted Mielczarek a523f95192 bug 1505325 - refactor telemetry gathering slightly. r=firefox-build-system-reviewers,chmanchester
After bug 1497638 the method by which build telemetry data gets written
to disk is slightly convoluted. Since we're now invoking `gather_telemetry`
from `post_dispatch_handler`, we just make that function return the data
it gathers and inline the contents of `telemetry_handler` after the call
to it.

Differential Revision: https://phabricator.services.mozilla.com/D11173
2018-11-10 19:04:06 +00:00
Cosmin Sabou 3376a2604d Backed out changeset 4034fbcc0a55 (bug 1501802) for causing mass mochitest failures. 2018-11-10 15:21:03 +02:00
Bob Clary df334c7417 Bug 1501802 - Update tooltool.py fetch_file to log.info exceptions instead of log.debug, r=garbas 2018-11-10 03:10:08 -08:00
Dan Gohman 985641ea40 Bug 1505777: [Cranelift] Update to Cranelift 0.23. r=bbouvier 2018-11-09 05:15:49 -08:00
Daniel Varga a108aa9406 Merge mozilla-central to autoland. a=merge 2018-11-09 12:22:53 +02:00
Mike Hommey 2a13029533 Bug 1505634 - Allow MOZ_ARTIFACT_REVISION to point to unknown mercurial changesets. r=nalexander
When using artifact builds, one can use the MOZ_ARTIFACT_REVISION
environment variable to force download artifacts from the given
revision.

When the VCS is git, it expects the revision to be a git ref or commit
sha1, which is resolved to a mercurial changeset via git-cinnabar.

It can however be convenient to just point to a given mercurial revision
directly, from, say, try, without pulling it first. This can actually be
useful even when the VCS is mercurial.

So if the given revision doesn't resolve to an existing git or hg commit,
and it's a complete 40-character sha1, we assume it's a valid mercurial
changeset.

Differential Revision: https://phabricator.services.mozilla.com/D11266
2018-11-09 02:29:38 +00:00
Chris Manchester ef8c3e4448 Bug 1505072 - Implement rusttests as a non-default sub-graph of the build. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11240
2018-11-08 17:02:27 +00:00
arthur.iakab 3814acbceb Merge mozilla-central to inbound 2018-11-07 23:56:03 +02:00
Kim Moir 1f0286d0b0 Bug 1485228 - Add support for repackage msi r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D9331
2018-11-07 17:45:46 +00:00
Nick Alexander cd9a49ed12 Bug 1503651 - Drop audience flavor dimension. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D10412
2018-11-06 23:21:30 +00:00
Chris Manchester 3b65ab4605 Bug 1504844 - Log a reason when the build driver decides to run configure. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D10966
2018-11-06 00:03:48 +00:00
Jonathan Watt fe9c610c02 Bug 1505386. Remove dead B2G code from the Eclipse CDT project generator. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D11169
2018-10-25 09:32:05 +01:00
Cosmin Sabou d17a6ab373 Backed out 48 changesets (bug 1376873, bug 1502992) for causing windows 7 wpt crashes on several files.
Backed out changeset b9db1780bb9c (bug 1502992)
Backed out changeset f9f879bd247c (bug 1376873)
Backed out changeset f029e9f3ceaf (bug 1376873)
Backed out changeset 7317f657a9a7 (bug 1376873)
Backed out changeset 4efbe4d0050c (bug 1376873)
Backed out changeset 26e09a6dee05 (bug 1376873)
Backed out changeset afbd3a8108de (bug 1376873)
Backed out changeset 23b5fb1a2577 (bug 1376873)
Backed out changeset 5d9c7a09616c (bug 1376873)
Backed out changeset f15c4be0f19f (bug 1376873)
Backed out changeset 3d11b041baf2 (bug 1376873)
Backed out changeset 9674bbefc68e (bug 1376873)
Backed out changeset 5a45d2c706d6 (bug 1376873)
Backed out changeset 9b82f16618b9 (bug 1376873)
Backed out changeset 0c3c2fc4646b (bug 1376873)
Backed out changeset 381df4c6ae88 (bug 1376873)
Backed out changeset acc06acb5342 (bug 1376873)
Backed out changeset 60fdf3598932 (bug 1376873)
Backed out changeset 176b82dccf4c (bug 1376873)
Backed out changeset 58e47be76761 (bug 1376873)
Backed out changeset d082eb8d80c6 (bug 1376873)
Backed out changeset 622f78404b8a (bug 1376873)
Backed out changeset 086c722131f9 (bug 1376873)
Backed out changeset 79010785539c (bug 1376873)
Backed out changeset 6b2919ed789b (bug 1376873)
Backed out changeset da8d3eb163bd (bug 1376873)
Backed out changeset 0fc8c65e163e (bug 1376873)
Backed out changeset de3f5bd6846b (bug 1376873)
Backed out changeset 2951112ade46 (bug 1376873)
Backed out changeset 9fe47f8ea1b8 (bug 1376873)
Backed out changeset b94935661622 (bug 1376873)
Backed out changeset 6eca45c83131 (bug 1376873)
Backed out changeset 909f472c2e40 (bug 1376873)
Backed out changeset 19d9a30b300c (bug 1376873)
Backed out changeset 6a52b92ff037 (bug 1376873)
Backed out changeset 6a6771656fe5 (bug 1376873)
Backed out changeset ffdbeba93fa6 (bug 1376873)
Backed out changeset d12ad321047d (bug 1376873)
Backed out changeset d1f7d44e05a4 (bug 1376873)
Backed out changeset b59e1fca5c13 (bug 1376873)
Backed out changeset 5d7a8864505d (bug 1376873)
Backed out changeset e1ea09e84feb (bug 1376873)
Backed out changeset bc92eac0522f (bug 1376873)
Backed out changeset 1f86d23e4806 (bug 1376873)
Backed out changeset d78c5c50b6b8 (bug 1376873)
Backed out changeset 2e1af73cdd2e (bug 1376873)
Backed out changeset dda3c784b0c0 (bug 1376873)
Backed out changeset f40ca921b74b (bug 1376873)
2018-11-03 03:12:43 +02:00
Tooru Fujisawa ddb6eeb8b9 Bug 1492716 - Part 4: Add linter for configure option with function default. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8836
2018-10-16 20:28:13 +09:00
Tooru Fujisawa e4559e99ad Bug 1492716 - Part 3: Add linter for configure option with bool default. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8835
2018-10-16 20:28:12 +09:00
Tooru Fujisawa e76135c1ee Bug 1492716 - Part 2.1: Support empty string in help formatting rule and fixed some more cases. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D9631
2018-10-24 18:04:00 +09:00
Tooru Fujisawa c2fc6442b4 Bug 1492716 - Part 2: Add formatting rule to help text for --{enable,disable,with,without}. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D8834
2018-10-16 20:28:12 +09:00
Gurzau Raul 412b8e6f9c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-11-09 07:46:56 +02:00
Dan Minor b3ea8a4388 Bug 1376873 - Allow gn to have a non-default target; r=chmanchester
MozReview-Commit-ID: GBQSi6z059y

Differential Revision: https://phabricator.services.mozilla.com/D7423
2018-01-11 16:29:05 -05:00
Nathan Froyd 08ec56f517 Bug 1502964 - part 1 - bump the minimum required version of cargo-vendor; r=ted.mielczarek
The newer version features the usual crop of bugfixes we need.
2018-11-02 10:56:08 -04:00
Margareta Eliza Balazs e1a4dfb034 Backed out 2 changesets (bug 1502964) for spidermonkey bustages. CLOSED TREE
Backed out changeset 12bca041cda6 (bug 1502964)
Backed out changeset 225f2ad3cf2f (bug 1502964)
2018-11-02 16:05:01 +02:00
Nathan Froyd d617522a3c Bug 1502964 - part 1 - bump the minimum required version of cargo-vendor; r=ted.mielczarek
The newer version features the usual crop of bugfixes we need.
2018-11-02 09:41:42 -04:00
Dan Minor 85c959aed4 Bug 1376873 - Allow gn to have a non-default target; r=chmanchester
MozReview-Commit-ID: GBQSi6z059y

Differential Revision: https://phabricator.services.mozilla.com/D7423
2018-01-11 16:29:05 -05:00
Chris Manchester 9112add385 Bug 1497638 - Gather telemetry for mach commands other than build. r=ted,firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D10177
2018-10-31 20:03:56 +00:00
Ciure Andrei 5eaa0f28a8 Merge inbound to mozilla-central. a=merge 2018-10-31 07:08:22 +02:00
Chris Manchester 3c953ae15f Bug 1501178 - Prioritize directories containing rust compilation in the make backend. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D10268
2018-10-30 18:12:30 +00:00
Chris Manchester 5feb7fea26 Bug 1499196 - Use outputs as the key for rust commands in Tup once again. r=mshal
Now that we're outputing a stub file for each build script we can index these
commands by their output to de-duplicate them in the tup backend.

Differential Revision: https://phabricator.services.mozilla.com/D9042
2018-10-21 18:56:23 +00:00
Chris Manchester cbc31bcb06 Bug 1499196 - Always use the topobjdir to output rust library dependencies. r=ted,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D9039
2018-10-18 10:40:32 +00:00
Gurzau Raul 0e720ae17e Merge autoland to mozilla-central. a=merge 2018-10-29 23:59:38 +02:00
Margareta Eliza Balazs eccdc3f640 Backed out 4 changesets (bug 1499196) for regression author didn't respond on time, depends on 1501178, requested by igoldan. a=backout
Backed out changeset c43c91d2b97b (bug 1499196)
Backed out changeset caaad097961a (bug 1499196)
Backed out changeset 98fad0b05551 (bug 1499196)
Backed out changeset 470e06d78a7b (bug 1499196)
2018-10-29 10:30:22 +02:00
Raphael Pierzina 253a79621f Bug 1501973 - Add telemetry marionette files to tests archive; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D9769
2018-10-26 15:56:54 +00:00
Andrew Halberstadt e16b8b30c7 Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

Differential Revision: https://phabricator.services.mozilla.com/D9716
2018-10-26 17:46:03 +00:00
arthur.iakab 0043db55af Backed out 2 changesets (bug 1460914)for multiple failures on profile_data/base "CLOSED TREE"
Backed out changeset a2161aab4e4e (bug 1460914)
Backed out changeset 9e438c55a248 (bug 1460914)
2018-10-26 19:42:33 +03:00
Andrew Halberstadt 11786b0c1b Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted
This uses nsIPrefService.readUserPrefsFromFile to set preferences from a
user.js passed in via the python harness. This allows us to use the profiles
under testing/profiles like all the other harnesses and will make setting prefs
in xpcshell easier to use and understand.

Differential Revision: https://phabricator.services.mozilla.com/D9716
2018-10-25 15:22:44 +00:00
Nick Alexander 486572fa16 Bug 1501053 - Drop minApi flavor dimension. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D9428
2018-10-25 20:29:49 +00:00
Ciure Andrei e282caf47d Backed out 2 changesets (bug 1501053, bug 1391551) for causing lint build bustages CLOSED TREE
Backed out changeset 91ab8acb16b2 (bug 1501053)
Backed out changeset 9397caac8090 (bug 1391551)
2018-10-25 22:34:21 +03:00
Nick Alexander 657fe25781 Bug 1501053 - Drop minApi flavor dimension. r=petru
Differential Revision: https://phabricator.services.mozilla.com/D9428
2018-10-24 19:50:55 +00:00
Robert Bartlensky 68f79fc19e Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Now autotest does not require java to be installed, but
it will let the user know that infer is not being tested if java
is missing.

Differential Revision: https://phabricator.services.mozilla.com/D7326
2018-10-24 21:54:34 +00:00
Mike Hommey 874f9e7a74 Bug 1499915 - Use elfhack from the build for Android xpcshell tests r=froydnj
Android xpcshell tests run `elfhack -r`, and do so by using an
elfhack binary from an archive downloaded via tooltool (which contains
other things).

Instead, we just put the elfhack binary in the
target.common.tests.tar.gz archive, and make the xpcshell harness
use it from there instead, allowing to pick in-tree changes to elfhack.

Depends on D9623

Differential Revision: https://phabricator.services.mozilla.com/D9624
2018-10-24 13:45:50 +00:00
Chris Manchester 90382a5926 Bug 1501712 - Write .mozconfig.json when running |./mach configure| r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D9675
2018-10-24 20:03:57 +00:00