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

6177 Коммитов

Автор SHA1 Сообщение Дата
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
Matthew Noorenberghe 9f586f2740 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 00:50:58 +00:00
Mike Hommey 9c264b7cf2 Bug 1240930 - Move jar_maker to the misc tier. r=firefox-build-system-reviewers,geckoview-reviewers,rstewart,agi
Because jar_maker is not in the libs tier, we also rename the libs-%
targets for l10n repacks to l10n-%, which make it clearer what they are
for.

And because multilocale.txt is both a GeneratedFile and a file that is
generated (and installed) via manual build rules, keeping it in the misc
target actually breaks building in toolkit/locales during l10n repacks,
so move it to libs for now.

Differential Revision: https://phabricator.services.mozilla.com/D81766
2020-06-30 21:34:32 +00:00
Cosmin Sabou 0df4966212 Backed out changeset 5653dc323bc1 (bug 1646363) for SM bustages. CLOSED TREE 2020-07-01 00:30:23 +03:00
Mitchell Hentges df42c40571 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-06-30 19:31:51 +00:00
Mitchell Hentges 73be855175 Bug 1646832: Use objects to represent availability of Sentry r=rstewart
Sentry is initialized globally, but it's not clear to consumers when this actually happens.
For example, an unwary developer may call report_exception() within check_and_get_mach(),
not knowing that Sentry hasn't been initialized yet.

Using a class should make the dependency on register_sentry() more verbose.

Depends on D80913

Differential Revision: https://phabricator.services.mozilla.com/D80918
2020-06-29 17:58:14 +00:00
Mitchell Hentges 018693001f Bug 1646832: Don't report Sentry issues for build team members r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D80913
2020-06-29 17:58:06 +00:00
Ricky Stewart 01f005d7d7 Bug 1647830 - Users trying to build Firefox for Android on Windows should get a warning in `bootstrap` and `configure` r=nalexander
We get a lot of bugs about building Firefox for Android not working, and there's been ongoing confusion about whether this is something that does work or who has ever worked. The warning should hopefully clarify the current situation for people.

Differential Revision: https://phabricator.services.mozilla.com/D81585
2020-06-29 22:36:02 +00:00
Yue Zhang 765e406782 Bug 1643469 - Swap NotebookLogger for MachLogger. r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D81156
2020-06-30 13:14:38 +00:00
Andi-Bogdan Postelnicu 779d955fee Bug 1645948 - for `clang-tidy` static-analysis escape some paths that have special chars. r=sylvestre
The patch that has been applied to our `clang-tidy` artifact has also been pushed upstead https://reviews.llvm.org/D81917

Differential Revision: https://phabricator.services.mozilla.com/D79799
2020-06-27 14:10:20 +00:00
Tarek Ziadé 9294a5bfc1 Bug 1649176 - add batch attribute to add --test-date r=sparky
Right now setup_perftest_test_date adds --test-date yesterday to all perftest
runs. we want that only for the ones doing batches

Differential Revision: https://phabricator.services.mozilla.com/D81562
2020-06-29 20:12:42 +00:00
David Major b6eec29461 Bug 1649039 - Update bootstrap's rustc to match bug 1648343 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81565
2020-06-29 17:44:52 +00:00