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

6188 Коммитов

Автор SHA1 Сообщение Дата
Bob Clary 13b8cbabeb Bug 1652339 - set mozdevice version requirements to exclude version 4.0.0 on trunk, beta r=marionette-reviewers,perftest-reviewers,whimboo,sparky
Differential Revision: https://phabricator.services.mozilla.com/D83278
2020-07-13 11:36:39 +00:00
Mike Hommey 95d2810ac3 Bug 1651287 - Move .inc files to the pre-compile pseudo-tier. r=nalexander
All of them are only used in one source file, in the same directory
where they are generated.

Differential Revision: https://phabricator.services.mozilla.com/D83037
2020-07-10 16:14:34 +00:00
Mike Hommey ee3002aa4e Bug 1651287 - Hook the pre-compile pseudo-tier in the compile graph. r=nalexander
This makes dir/target, dir/target-objects, etc. depend on
dir/pre-compile, which ensures all items in the pre-compile pseudo-tier
are built before entering in the directory they are defined in, during
the compile tier. This removes the need for EXTRA_DEPS hacks.

Differential Revision: https://phabricator.services.mozilla.com/D83036
2020-07-10 21:03:41 +00:00
Mike Hommey c4e1894f04 Bug 1651287 - Add a pre-compile pseudo-tier. r=firefox-build-system-reviewers,rstewart
Generated files marked as "required during compile" are limited to a
number of extensions, most of which are source file types, so they get
generated when compiling the corresponding object file. Other types,
though, are currently handled via EXTRA_DEPS, which is clunky.

As of now, these other types are limited to link-related items, but more
would be useful (e.g. .inc files, which are only included in one
location).

This however works against the static analysis tasks (coverity and
clang-tidy), which currently rely on everything they need being created
via the export tier. That excludes using EXTRA_DEPS-based hacks.

We create a "pre-compile" tier, that is not used during a normal build,
but can be invoked manually, which the static analysis tasks will do.

Differential Revision: https://phabricator.services.mozilla.com/D83035
2020-07-11 22:18:25 +00:00
Cosmin Sabou 72bb6a7f58 Backed out 2 changesets (bug 1652089, bug 1652087) for toolchains bustage.
Backed out changeset 617233706940 (bug 1652087)
Backed out changeset ebcebafde8e0 (bug 1652089)
2020-07-11 00:48:41 +03:00
Nathan Froyd bb86a42f77 Bug 1652087 - add dump_syms to bootstrap-installable things on Linux; r=nalexander
If we're going to ditch the old breakpad dump-syms from the build, people
are going to need have this locally if they ever want to build packages,
etc.

Differential Revision: https://phabricator.services.mozilla.com/D83150
2020-07-10 20:32:57 +00:00
Ricky Stewart 231a4686ff Bug 925350 - Remove `dumbmake` r=nalexander
After bug 1651806, we're trying to caution people against running `mach build $A_SPECIFIC_TARGET` because it's not generally supported. `dumbmake` is a piece of infrastructure that attempts to make this use case a little bit more useable, but it was always supposed to be a stopgap. There doesn't seem to be a need for it any more.

Differential Revision: https://phabricator.services.mozilla.com/D83136
2020-07-10 18:12:07 +00:00
Ricky Stewart 259963ca76 Bug 1651824 - Run `mozboot` and `compare-mozconfig` unit tests in `mozbuild` task and not in `make check` r=froydnj
This is where the `compare-mozconfig` test properly belongs, and `mozbuild` tests already re-run every time a `mozboot` file changes.

Differential Revision: https://phabricator.services.mozilla.com/D83130
2020-07-10 18:25:07 +00:00
Mitchell Hentges b88610e3b1 Bug 1645196: Tune git settings to improve performance r=rstewart
Also adds a warning if a user's git version is older than 2.24

Differential Revision: https://phabricator.services.mozilla.com/D82128
2020-07-10 12:54:24 +00:00
Hamzah 90d261a3ae Bug 1651696 - Disable test_telemetry.py for python2 on OSX r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D82909
2020-07-09 15:16:48 +00:00
Tom Prince 6d84883e1d Bug 1649168: Add `mach release push-scriptworker-canary` command; r=rail
This will make several pushes to try, to test newly deployed scriptworker
versions.

Differential Revision: https://phabricator.services.mozilla.com/D82819
2020-07-10 16:11:00 +00:00
Sebastian Hengst 4804061533 Backed out changeset d72c64af2c23 (bug 1645196) for very frequently failing remote(pup) task 2020-07-10 12:13:10 +02:00
Petr Sumbera 64b33a1eaa Bug 1651082 - Add support for Solaris linker r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82530
2020-07-10 09:15:52 +00:00
Narcis Beleuzu 622dbd3409 Backed out changeset aac752d19467 (bug 1651082) for lint failure. CLOSED TREE 2020-07-10 10:11:07 +03:00
Petr Sumbera bd63b532c4 Bug 1651082 - Add support for Solaris linker r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82530
2020-07-10 06:20:12 +00:00
Jim Porter 5c759e3542 Bug 1631806 - [mozproxy] Add a command line interface r=tarek,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D76017
2020-07-08 13:41:24 +00:00
Ricky Stewart f46284631a Bug 1651806 - Warn people against building with `mach build $A_SPECIFIC_TARGET` r=nalexander
This is a well-known limitation that we don't necessarily treat as a bug or always fix, and yet people generally expect that it should always work and end up filing bugs or chiming in in chat.mozilla.org. Here we caution people about the limitation.

Differential Revision: https://phabricator.services.mozilla.com/D82986
2020-07-09 21:35:01 +00:00
Tom Prince 204d796929 Bug 1651731: [lint] Python and shell files without `#!` should not be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,agi,sylvestre,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82954
2020-07-09 20:29:18 +00:00
Ricky Stewart 9dec41defd Bug 1651403 - Clean up `bootstrap` code post-Python 3 migration r=nalexander
Since bug 1647865, we're no longer allowing `bootstrap` to be run with Python 2. Therefore we have leeway to make a bunch of simplifications.

Differential Revision: https://phabricator.services.mozilla.com/D82737
2020-07-09 15:48:47 +00:00
Nick Alexander aa96e0fc28 Bug 1651130 - Part 2: Add a new `tools/update-programs` build project. r=froydnj
Here "update programs" refers to the various standalone binaries we
produce in order to update Firefox.  There's not strong conceptual
coherence between them; rather, it's the pieces that the
Install/Update team generally work on.

To use this build project, prepare a minimal mozconfig with
`--enable-project=tools/update-programs`.  Depending on the mozconfig
options and host and target OS, some of the following will be built:

1. the maintenance service;
2. the updater binary;
3. the Windows Default Browser Agent;
4. the Background Update Agent.

Differential Revision: https://phabricator.services.mozilla.com/D82644
2020-07-08 23:03:21 +00:00
Mihai Alexandru Michis 53a4dbf91a Backed out changeset 19269e470c71 (bug 1594914) for causing bustages.
CLOSED TREE
2020-07-09 01:36:29 +03:00
Mike Hommey e65481e7fb Bug 1651305 - Simplify how USE_INTEGRATED_CLANGCL_AS is handled. r=froydnj
The current setup sets /some/ flags via CLANGCL_ASFLAGS (handling of x86
is notably missing, for instance), and uses "clang-cl" as the assembler,
assuming it's in $PATH.

This can be simplified by just using `CC`, which will contain the full
path to "clang-cl" and the right flags for the targets, which makes
CLANGCL_ASFLAGS unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D82660
2020-07-08 13:53:27 +00:00
Hamzah 0606c70920 Bug 1594914 - Convert mach python-test to run with python 3 r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D77872
2020-07-08 19:15:27 +00:00
Mitchell Hentges c8d28df64b Bug 1646832: Use NoopErrorReporter for build team members r=rstewart
register_sentry() should always return an error-reporter implementation.

Differential Revision: https://phabricator.services.mozilla.com/D82600
2020-07-07 21:39:59 +00:00
Mitchell Hentges 99012368cc Bug 1645196: Tune git settings to improve performance r=rstewart
Also adds a warning if a user's git version is older than 2.24

Differential Revision: https://phabricator.services.mozilla.com/D82128
2020-07-07 18:29:37 +00:00
Ricky Stewart 37490b6c6e Bug 1648552 - `mach bootstrap` checks if Android NDK version is the correct version r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D82084
2020-07-03 13:59:01 +00:00
Ricky Stewart 78b3e5d01b Bug 1649898 - Improve reproducibility of root-deps.mk and binaries.json r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D81922
2020-07-07 16:13:52 +00:00
Tarek Ziadé 44eb9c7f7e Bug 1651048 - remove unused transformer r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D82521
2020-07-07 12:48:47 +00:00
Tarek Ziadé 93ae761b53 Bug 1651044 - Fixed a test in mozperftest r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D82515
2020-07-07 12:34:32 +00:00
Tarek Ziadé ee86c32c2e Bug 1648360 - complex metrics in --perfherder-metrics r=sparky
This patch adds the ability to define complex metrics

Differential Revision: https://phabricator.services.mozilla.com/D82161
2020-07-06 14:28:37 +00:00
Bryce 79bb99c145 Bug 1650206 - If set, check JAVA_HOME for java instead of path. r=nalexander
Prior to this patch JAVA_HOME was appended to path and then the first instance
of java on those paths was used and checked for version compatibility. This
meant that if an incompatible version on java is on the path JAVA_HOME could not
be used to point to a different, compatible version.

Following this patch, JAVA_HOME can be used as a more fine grained selector of
java. Only if JAVA_HOME is not set will we check the path. To be clear, even if
JAVA_HOME is set incorrectly, we will not fall back to path -- only if JAVA_HOME
is not set will we try and use the path.

Differential Revision: https://phabricator.services.mozilla.com/D82418
2020-07-06 19:58:01 +00:00
Mike Hommey 346efbb8bc Bug 689178 - Remove remainder of elfhack workaround from bug 822584. r=froydnj
This is a rebase of a 7-year-old patch that was r=ted. The main part of
the patch was actually already removed in bug 1389598.

Differential Revision: https://phabricator.services.mozilla.com/D81027
2020-06-25 12:50:37 +00:00
xuanqi xu a4676c048b Bug 1640875 - Add compare function to notebook layer. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D80384
2020-07-06 15:05:06 +00:00
Kagami Sascha Rosylight 4fc3d3027e Bug 1650261 - Pass git-cinnabar path to configure_git() r=mhentges,rstewart
D79393 introduced a new parameter to `configure_git()` but there is a remaining call that does not pass it. This patch fixes it.

Differential Revision: https://phabricator.services.mozilla.com/D82129
2020-07-03 17:30:00 +00:00
Mitchell Hentges b8de2e09b5 Bug 1481425: Deletes automated removal of mozreview commit hook r=sheehan
When moving from mozreview to Phabricator, the old mozreview git hook
had to be removed. Logic to automate the removal of this hook was added
to vcs-setup.

This commit removes this automated removal since it has been 2 years
since it landed.

Differential Revision: https://phabricator.services.mozilla.com/D82125
2020-07-03 14:16:49 +00:00
Coroiu Cristina 50d2261646 Backed out changeset 65acd64b9e0e (bug 1640875) for mpu failures 2020-07-03 15:59:28 +03:00
Matthew Noorenberghe 9ac7db5374 Bug 1648858 - Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
Remove GPL-3.0 since it-alone isn't allowed.

Licensing runbook: https://docs.google.com/document/d/1Oguqp43W4_ChyroJ9AJAzG1jSwkUWfKvBKVvrDxVsMg/edit

Differential Revision: https://phabricator.services.mozilla.com/D81436
2020-07-02 08:13:20 +00:00
Mitchell Hentges 36e578097f Bug 1646363: "mach build" should be resilient to drive letter capitalization r=rstewart
Depending on how MozillaBuild is invoked, python may think that the drive letter is a different case.
Since some paths are saved between builds in "config.status", this inconsistency can cause issues.

Though this patch doesn't solve the underlying inconsistency, it resolves the crash that was occurring.

Differential Revision: https://phabricator.services.mozilla.com/D81738
2020-07-02 20:10:41 +00:00
Mitchell Hentges 0822484803 Bug 1646832: Fix Sentry blocklist not applying to some members r=rstewart
Depends on D81792

Differential Revision: https://phabricator.services.mozilla.com/D82069
2020-07-02 18:18:18 +00:00
Mitchell Hentges 87092a1009 Bug 1649565: Sentry setup should support user-less VCS setups r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D81792
2020-07-02 18:31:05 +00:00
Ricky Stewart 3395ee63c9 Bug 1649850 - Refactor minimum Rust version into a common place for `bootstrap` and `configure` r=nalexander
The lack of duplication should prevent bugs like bug 1649039 popping up again.

Differential Revision: https://phabricator.services.mozilla.com/D82060
2020-07-02 18:05:58 +00:00
xuanqi xu aff7d7822c Bug 1640875 - Add compare function to notebook layer. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D80384
2020-07-02 16:14:23 +00:00
Andi-Bogdan Postelnicu c9368b86d1 Bug 1650057 - Avoid using external clang-tidy patches when dealing with paths that need to be escaped. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D82002
2020-07-02 14:11:19 +00:00
Bob Owen 22f6d61e3f Bug 1648850: Change Popen close_fds param in process.py to False when pass_thru set. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D81397
2020-07-02 10:02:21 +00:00
Noemi Erli 38031f5d4b Backed out 4 changesets (bug 1648858) for causing toolchains bustages
Backed out changeset 8ead55149095 (bug 1648858)
Backed out changeset 94f58715cbde (bug 1648858)
Backed out changeset 36fe4ce13340 (bug 1648858)
Backed out changeset 0ccf9b057fe1 (bug 1648858)
2020-07-02 11:00:02 +03:00
Matthew Noorenberghe 93e842363a Bug 1648858 - Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
Remove GPL-3.0 since it-alone isn't allowed.

Licensing runbook: https://docs.google.com/document/d/1Oguqp43W4_ChyroJ9AJAzG1jSwkUWfKvBKVvrDxVsMg/edit

Differential Revision: https://phabricator.services.mozilla.com/D81436
2020-07-02 02:59:26 +00:00
Razvan Maries 3dc54daa55 Backed out 4 changesets (bug 1648858) for SM bustages. CLOSED TREE
Backed out changeset 5a612e42b77d (bug 1648858)
Backed out changeset 3a1b5e883a4e (bug 1648858)
Backed out changeset 816eaac72512 (bug 1648858)
Backed out changeset 8ae692d68b1b (bug 1648858)
2020-07-02 05:54:53 +03:00
Matthew Noorenberghe 8b472f276f Bug 1648858 - Allow BSD-3-Clause, CC0-1.0, Unlicense, WTFPL, & Zlib licenses in moz.yaml. r=mhoye
Remove GPL-3.0 since it-alone isn't allowed.

Licensing runbook: https://docs.google.com/document/d/1Oguqp43W4_ChyroJ9AJAzG1jSwkUWfKvBKVvrDxVsMg/edit

Differential Revision: https://phabricator.services.mozilla.com/D81436
2020-07-01 09:30:53 +00:00
Karl Dubost c6ae17ea64 Bug 1482675 - Adds no-system-changes option to bootstrap. r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D78855
2020-07-01 00:11:55 +00:00
Dorel Luca 675da38265 Backed out 4 changesets (bug 1648858) for Browser-chrome failures on content/test/static/browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 2a107eabe00c (bug 1648858)
Backed out changeset 1622eb497b04 (bug 1648858)
Backed out changeset f5770886187d (bug 1648858)
Backed out changeset 3a9ae16f63c9 (bug 1648858)
2020-07-01 12:27:26 +03:00