Commit Graph
5069 Commits
Author SHA1 Message Date
Bastien Abadie 8a1cfc8b0f Bug 1568558 - Output paths relative to repository in ./mach clang-format, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D39211
2019-07-25 08:50:33 +00:00
Mike Shal 1def64128d Bug 1567619 - Avoid double stat in preprocessed file installs; r=glandium
Followup to bug 1566044.

Differential Revision: https://phabricator.services.mozilla.com/D38763
2019-07-23 03:03:36 +00:00
Mike Hommey 5c11694bb2 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
2019-07-22 21:31:39 +00:00
Simon Sapin bfd1c8e250 Bug 1565193 - Require Rust 1.36 r=glandium
MozReview-Commit-ID: GjcKBjZvTPr

Differential Revision: https://phabricator.services.mozilla.com/D37709
2019-07-19 04:50:22 +00:00
Agi Sferro f34c0312f6 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
2019-07-20 17:27:53 +00:00
Edwin Gao b7d4a88f35 Bug 1559975 - fix python2 linter errors for python/devtools r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37640
2019-07-16 17:46:08 +00:00
Mike Shal 22b503fc69 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
2019-07-18 22:40:57 +00:00
Andrew Halberstadt 42eaab1aca 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
2019-07-16 20:53:18 +00:00
Andrew Halberstadt 505b8ee471 Bug 1473498 - [mach] Fix Python 3 decorator compatibility r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D36104
2019-07-16 20:42:34 +00:00
Chris Manchester 4c0184c65f Bug 1566219 - Provide dist-toolchains for use with sccache in bootstrap on macOS. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38151
2019-07-16 18:50:59 +00:00
Andrew Halberstadt 3136a6824c 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
2019-07-16 15:14:49 +00:00
Mike Hommey f8fa9dbb70 Bug 1564314 - Make linters happy with the gdbpp code. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D37676
2019-07-11 18:19:44 +00:00
Mike Hommey 373f6c4471 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
2019-07-11 02:39:31 +00:00
Tom Prince b48289cc34 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
2019-07-11 16:40:13 +00:00
Andrew Halberstadt de1233b5da 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
2019-07-11 14:04:39 +00:00
Andrew Halberstadt e16895aeb7 Bug 1563797 - Use 'backports.shutil_which' instead of 'which' across the tree r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D37097
2019-07-11 14:03:39 +00:00
Victor Porof d2051718a8 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
2019-07-10 11:15:18 +00:00
Andreea Pavel ed56904f5a Backed out changeset fa94c9a03e3f (bug 1564314) for linting failures on a CLOSED TREE 2019-07-10 10:12:34 +03:00
Mike Hommey 197f9a7ef2 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
2019-07-09 16:09:14 +00:00
Mike Hommey e4028291a0 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
2019-07-09 22:04:01 +00:00
Makoto Kato 2dea2ba81d 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
2019-07-08 10:35:40 +00:00
Justin Wood 6252525068 Bug 1559975 - Make python/mach lint with 'py2' and 'py3' r=catlee
Depends on D36096

Differential Revision: https://phabricator.services.mozilla.com/D36099
2019-07-05 14:24:58 +00:00
Justin Wood bc39d96d4f Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D36090
2019-07-05 14:36:43 +00:00
Victor Porof 6369a27507 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
2019-07-04 14:50:20 +02:00
Andi-Bogdan Postelnicu e43b377df2 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
2019-07-04 11:42:16 +00:00
Ed Lee 6d9b8df61b 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
2019-07-03 23:49:07 +00:00
Mike Hommey 66beaca525 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
2019-07-03 22:11:05 +00:00
Francesco Lodolo (:flod) a2df264c15 Bug 1563216 - Remove Fluent migration recipes for Firefox 68 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D36754
2019-07-03 13:36:06 +00:00
Andrew Halberstadt 4983169f83 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
2019-07-02 20:59:46 +00:00
Andrew Halberstadt bf55f5e84a 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
2019-07-02 20:59:03 +00:00
Andrew Halberstadt 2980eae001 Bug 1473498 - [mach] Enable test_entry_points with Python 3 r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D36100
2019-07-02 20:58:14 +00:00
Andrew Halberstadt 77d04e5544 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
2019-07-02 21:27:35 +00:00
Andrew Halberstadt e4d80d1c81 Bug 1473498 - [mach] Pull tests out of make check r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D36097
2019-07-02 20:40:39 +00:00
Mike Hommey 059cd732f1 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
2019-07-02 23:25:03 +00:00
Andreea Pavel 9933c4cb38 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 39277831dc 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
2019-07-02 17:25:38 +00:00
Ryan VanderMeulen f7ff44e4b3 Bug 1563038 - Add more trees to the candidate tree list for artifact builds. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D36676
2019-07-02 21:58:21 +00:00
Jeane Carlos 14a1b61d96 Bug 1555788 - Migrate about preferences home content to use fluent r=fluent-reviewers,Mardak,pdahiya,flod
Differential Revision: https://phabricator.services.mozilla.com/D35278
2019-07-02 17:25:55 +00:00
Andi-Bogdan Postelnicu 257ab2b875 Bug 1559740 - add separate modules for build, static-analysis and artifacts. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D36479
2019-07-01 14:02:20 +00:00
Sylvestre Ledru 5f0d1527ba Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187
2019-07-01 13:57:18 +00:00
Samuel Thibault 5557b8d890 Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102
2019-06-27 14:09:05 +00:00
Kartikaya Gupta f7dce873de 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
2019-06-29 09:48:16 +00:00
Mike Hommey ee6e08d6dd 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
2019-06-28 15:58:36 +00:00
championshuttler 50f426a7be Bug 1536103 - Fix various Sphinx Warning in 'mach doc' (3). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35314
2019-06-26 20:00:31 +00:00
championshuttler 3ab272ae1a Bug 1536103 - Fix Sphinx Warning - Unexpected indentation (1). r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35304
2019-06-28 18:33:19 +00:00
Cosmin Sabou 0fafa2c176 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 288f23f372 Bug 1559740 - Ride along - add a missing import. r=Sylvestre 2019-06-28 18:15:31 +03:00
Sylvestre Ledru 538b0cbb43 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
2019-06-28 07:40:18 +00:00
Sylvestre Ledru 8744140ee5 Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187
2019-06-28 07:39:48 +00:00
Ed Lee 8c7b8d52c6 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
2019-06-27 20:31:22 +00:00