Commit Graph
3496 Commits
Author SHA1 Message Date
Marco Castelluccio 930be94471 Bug 1431349 - Store some information about build configuration in chrome-map.json, so that the lcov rewriter doesn't need to import buildconfig. r=chmanchester 2018-01-18 12:52:48 +01:00
Marco Castelluccio 12d46c28ba Bug 1431723 - Actually use URL overrides in the LCOV rewriter. r=chmanchester 2018-01-19 12:46:43 +01:00
Marco Castelluccio a225780247 Bug 1402539 - Ignore query parameters when rewriting URLs. r=chmanchester 2018-01-23 16:00:47 +01:00
Marco Castelluccio f0e10269dd Bug 1402539 - Update test_lcov_rewrite to use new generate_pp_info function. r=chmanchester 2018-01-19 10:51:21 +01:00
Marco Castelluccio 981cf6a2f8 Bug 1402539 - Parse install manifest when generating the chrome-map file. r=chmanchester 2018-01-18 13:36:28 +01:00
Marco Castelluccio ce667aff49 Bug 1402539 - Don't check for the existence of the files, check if they are in the install info. r=chmanchester 2018-01-18 11:51:48 +01:00
Marco Castelluccio a2a8321f2a Bug 1402539 - Store relative paths in the chrome-map.json file. r=chmanchester 2018-01-18 11:17:31 +01:00
Marco Castelluccio d1fb601979 Bug 1402539 - Generate preprocessor information for lcov rewriting at build time. r=chmanchester 2018-01-18 11:12:28 +01:00
Nika Layzell 704092bb3b Bug 1293362 - Part 5: Allow implementing xpcom interfaces from rust code with a custom derive, r=froydnj
MozReview-Commit-ID: 90Yv3H40jZW
2018-01-23 17:27:28 -05:00
Nika Layzell 1518874730 Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj
MozReview-Commit-ID: K37KyHkKsSl
2018-01-23 17:27:26 -05:00
Kartikaya Gupta 1bb0490168 Bug 1432222 - Actually default cargo check to gkrust when invoked without any crate arguments. r=froydnj
MozReview-Commit-ID: JIgippNiBP
2018-01-22 12:40:28 -05:00
Mike Hommey 933285586f Bug 1431193 - Use taskgraph.parameters.load_parameters_file in mach artifact toolchain. r=dustin
Back when the mach artifact toolchain code was written, there was no
official way to get a default set of parameters for taskgraph
generation. As of bug 1401199, that is not true anymore, so we can now
use that instead of manually set parameters and hope that doesn't break,
which happened with bug 1430823. This change should make things more
future proof.

This also reverts the changes from changeset 3a8491857651, which fixed
the same issue in a slightly different way.
2018-01-18 16:24:19 +09:00
Dorel Luca 4d22b312b7 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-18 11:43:47 +02:00
Mike Hommey be0d77f146 Bug 1428608 - Forbid / or !/ in LOCAL_INCLUDES. r=froydnj
And remove the two cases that currently set that, without actually using
it. The webrtc gtest one never relied on it, and the gfx one was added
in bug 1427668 for a single header, and the corresponding #includes were
changed in bug 1428678.
2018-01-17 17:10:20 +09:00
Gregory Szorc 41ab232594 Bug 1431226 - Reference proper function and allow loading hgrc; r=nalexander
This fixes a regression in 195e88aab631 (bug 1429094).

When I reviewed that changeset, I didn't realize there were callers
of the renamed function outside the file.

The other caller (changed in this commit) needs to interact with the
repository. This may require loading extensions. So we can no longer
unconditionally disable the loading of hgrc. We add an argument to
control the loading of hgrc to support this.

MozReview-Commit-ID: 8AkPhvtC1VH
2018-01-17 14:29:13 -08:00
Tiberius Oros 0820984e15 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-01-18 00:28:57 +02:00
Tiberius Oros d88803e487 Merge inbound to mozilla-central. a=merge 2018-01-17 23:48:10 +02:00
Tiberius Oros cd4eeec67c Merge autoland to mozilla-central. a=merge 2018-01-17 23:46:17 +02:00
Ryan VanderMeulen f1e69cacb1 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)
2018-01-17 15:55:38 -05:00
Dustin J. Mitchell f8b70fda23 Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P
2018-01-16 22:33:08 +00:00
Michael Froman 6bd277e02b Bug 1415922 - "Stylo packages not installed during mach bootstrap if .hgrc file has alias for log set to log -G" [r=gps] 2018-01-11 07:27:00 +02:00
Noemi Erli aaef80e91f Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Dustin J. Mitchell 4c0f5203b5 Bug 1403519: reset SCHEDULES.exclusive if set multiple times; r=gps
MozReview-Commit-ID: Kycd9i5f19P
2018-01-16 22:33:08 +00:00
Tiberius Oros aa165e4d7c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-18 00:31:28 +02:00
Tom Prince 0b748ec8fe Bug 1430823: Pass in Parameters to load_kinds in mach artifact toolchain; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D409
2018-01-17 12:02:42 -07:00
Dustin J. Mitchell 924fdd14e9 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Dustin J. Mitchell 451e3b63c2 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Ralph Giles c434f104ed Bug 1430933 - mozboot: Start with rustup 1.9.0. r=gps
When bootstraping the development environment on a machine without
rustup installed, download and install rustup version 1.9.0,
released 2018 January 4, instead of the older 1.5.0.

This saves a self-upgrade step in the short term and reduces the
chance of lost support failures in the long term.

MozReview-Commit-ID: H8ouRszLMsP
2018-01-16 15:11:51 -08:00
Julien Wajsberg 3dfa593655 Bug 1429094 - Define the environment variable HGRCPATH to ignore any .hgrc that may exist r=gps
By ignoring existing .hgrc we make sure we don't try to load extensions
and have a consistent output. Especially we won't have error messages
that could confuse us into extracting a wrong version number.

MozReview-Commit-ID: FwrfcbY8QpN
2018-01-09 16:48:24 +01:00
Julien Wajsberg 1e38ef1f95 Bug 1429096 - Bump the minimal mercurial version to be considered modern r=gps
This version needs to stay synchronized with version-control-tools.

MozReview-Commit-ID: BN4h9XOntjD
2018-01-10 19:21:43 +01:00
Gabriele Svelto a9e98569ad Bug 1430788 - Fix the 'nodejs' package name when bootstraping on Gentoo; r=nalexander
MozReview-Commit-ID: 3NzJezE1cVV
2018-01-16 16:58:31 +01:00
Nick Alexander 7dcdfdb7b9 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH
2017-10-26 11:00:36 -07:00
Nick Alexander 122d1ab1b5 Bug 1411654 - Pre: Gradle is no longer experimental; IntelliJ not supported. r=maliu
IntelliJ should still work, but we're committed to Android Studio at
this point.

MozReview-Commit-ID: 3BaXB4dh4vA
2017-11-15 13:36:02 -08:00
Dorel Luca 338957886c Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)
2018-01-13 15:17:49 +02:00
Dustin J. Mitchell bc3096cf92 Bug 1407163: raise exceptions with HTTP error info; r=glandium
MozReview-Commit-ID: B3MvsZDpj9a
2018-01-12 17:19:58 +00:00
Nick Alexander 0c59d23325 Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH
2017-10-26 11:00:36 -07:00
Nick Alexander 30e3c1e12b Bug 1411654 - Pre: Gradle is no longer experimental; IntelliJ not supported. r=maliu
IntelliJ should still work, but we're committed to Android Studio at
this point.

MozReview-Commit-ID: 3BaXB4dh4vA
2017-11-15 13:36:02 -08:00
Andrew Halberstadt 857f1797a0 Bug 1403012 - Fix TypeError when running python unittests via |mach test|, r=gbrown
Mach test now creates a structured logger and passes it down into all
of the various test harnesses. Except |mach python-test| doesn't use
structured logging yet, so the argument is not expected.

For now, just accept **kwargs and ignore the logger. Eventually we'll
want to get python tests to use structured logging, and we can use it
at that point.

MozReview-Commit-ID: 8LwdbgI0vqR
2018-01-12 11:22:58 -05:00
Margareta Eliza Balazs a773d5e139 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Dustin J. Mitchell cb2823906c Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI
2017-10-02 18:22:56 +00:00
Tim Nguyen e0347f3526 Bug 1428938 - Remove legacy toolbar customization code. r=Gijs
MozReview-Commit-ID: 1ppfxI7yYJW
2018-01-11 16:35:17 +00:00
Sylvestre Ledru ee2a7f050d Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX
2018-01-10 08:55:38 +01:00
Andrew Halberstadt 574920bfb2 Bug 1429158 - Ensure 'six' and 'mozterm' are available from the one-click-loaner mach environment, r=jmaher
Mach itself now depends on 'six', so it needs to be packaged in the test archive.

MozReview-Commit-ID: 8lWc0cxwrss
2018-01-09 14:29:45 -05:00
Narcis Beleuzu 3159c52c9b Backed out 2 changesets (bug 1396582) for build bustage "ImportError: No module named which". r=backout a=backout on a CLOSED TREE
Backed out changeset a677efcd8768 (bug 1396582)
Backed out changeset 4e81669959ed (bug 1396582)
2018-01-09 22:45:50 +02:00
Gregory Szorc 67f3d25b5b Bug 1396582 - Remove __main__ from mozbuild.virtualenv; r=nalexander
I'm pretty certain nobody relies on this any more. The original
use of this code was to support virtualenv creation in configure.
Now that configure is written in Python and that Python code calls
out to the VirtualenManager API directly, this wrapping code isn't
used.

MozReview-Commit-ID: Cii1GjVOGaA
2018-01-08 15:49:16 -08:00
Gregory Szorc 5a6879494f Bug 1396582 - Move Python version checking to moz.configure; r=nalexander
The Python version validation in virtualenv.py is only called in 2
locations: `python -m mozbuild.virtualenv` and in moz.configure.

I believe that nobody calls `python -m mozbuild.virtualenv` any more.
That means that moz.configure is the only caller of
verify_python_version(). That means we can inline the logic into
moz.configure.

It makes sense for version checking to live in moz.configure because
the role of moz.configure is to evaluate the sanity of the environment.
So this commit does just that.

MozReview-Commit-ID: 7FLL0cGblFS
2018-01-08 15:46:35 -08:00
Gregory Szorc b456405afd Bug 1426566 - Make -v an alias to --verbose for mach python-test; r=froydnj,nalexander
This alias is super common. It exists for other mach commands. Seems
useful to have for consistency.

MozReview-Commit-ID: 3gBvIHcMEZs
2018-01-05 14:19:33 -08:00
Dustin J. Mitchell 361208e156 Bug 1426255: combine Files:SCHEDULES correctly; r=gps
When multiple SCHEDULES are set for the same file (for example in different
files), combine them in a sensible way: the union of inclusive components, and
whichever has set its exclusive components.

Two conflicting assignments to SCHEDULES.exclusive is considered an error.  We
might relax this situation later if a sensible answer can be determined.  Note
that this error will only be detected when a reader consults the relevant file.

MozReview-Commit-ID: A49L9ISZXOE
2017-12-19 23:58:17 +00:00
Ciure Andrei f93328fdbe Backed out changeset e4ca69cab96a (bug 1426255) for bustage failures on /python/mozbuild/mozbuild/test/frontend/test_reader.py::TestBuildReader::test_schedules r=backout a=backout on a CLOSED TREE 2018-01-08 23:34:50 +02:00
Dustin J. Mitchell b8de24f28b Bug 1426255: combine Files:SCHEDULES correctly; r=gps
When multiple SCHEDULES are set for the same file (for example in different
files), combine them in a sensible way: the union of inclusive components, and
whichever has set its exclusive components.

Two conflicting assignments to SCHEDULES.exclusive is considered an error.  We
might relax this situation later if a sensible answer can be determined.  Note
that this error will only be detected when a reader consults the relevant file.

MozReview-Commit-ID: A49L9ISZXOE
2017-12-19 23:58:17 +00:00