Commit Graph
5079 Commits
Author SHA1 Message Date
Ted Mielczarek 4d905b9a28 bug 1237610 - use a mach setting to control telemetry submission. r=gps
Differential Revision: https://phabricator.services.mozilla.com/D4597
2018-08-07 12:26:31 -04:00
Masatoshi Kimura 61ae9661a7 Bug 1414060 - give json.dump the correct encoding; r=mshal 2018-09-10 18:57:40 -04:00
Ted Mielczarek 26b5a79b47 Bug 1489211 - invoke dumpbin.exe to check NSModule ordering in libxul; r=froydnj 2018-09-06 12:52:48 -04:00
Ted Mielczarek 1356d54085 Bug 1446066 - handle HOST_OS_LIBS properly when the host and target compilers are different types; r=chmanchester 2018-09-06 12:21:54 -04:00
Narcis Beleuzu c47fda4365 Backed out 2 changesets (bug 1440879) for build bustages on mozbuild\test\backend. CLOSED TREE
Backed out changeset 93892cfed015 (bug 1440879)
Backed out changeset 71d569322700 (bug 1440879)
2018-09-04 18:38:19 +03:00
Kartikaya Gupta 6e64f0e549 Bug 1440879 - Ensure all the stl_wrappers end up in the generated-files tarball. r=froydnj 2018-09-04 10:40:45 -04:00
Kartikaya Gupta 6b3020fe24 Bug 1440879 - Emit source-like generated files into generated-sources.json. r=froydnj 2018-09-04 10:40:42 -04:00
Mike Shal 142f2e815d Bug 1487840 - Trim tup's display of rust build scripts; r=chmanchester
We already trim the display of output lists for GENERATED_FILES scripts
that produce many outputs, so we should do the same for rust build
scripts. This makes the terminal output of the build and the nodes from
'tup graph' more readable.

MozReview-Commit-ID: AftmrA4qJlr

Differential Revision: https://phabricator.services.mozilla.com/D4797
2018-08-31 20:48:22 +00:00
Chris Manchester 9175e1b52a Bug 1487180 - Upload the build graph report as a part of the tup build. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D4626
2018-08-31 19:18:47 +00:00
Chris Manchester 0eeadcd383 Bug 1487180 - Default to mm:ss time format when generating human-readable formats from the build graph report. r=gps,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D4625
2018-08-30 00:52:43 +00:00
Jim Chen cc9abffc8a Bug 1477259 - Use separate version codes for 64-bit builds; r=nalexander
Use the unused 'p' bit in the version code to denote 64-bit builds, so
we have different version codes for 64-bit builds on aarch64 and x86-64.

Differential Revision: https://phabricator.services.mozilla.com/D4260
2018-08-30 21:51:18 +00:00
Andrew Halberstadt e504c532a7 Bug 1487425 - [mozlint] Fix regression where 'roll' returns dict instead of ResultSummary when no files linted, r=Gijs
This is a regression from bug 1460856.

Differential Revision: https://phabricator.services.mozilla.com/D4759
2018-08-31 16:05:12 +00:00
Gurzau Raul d74f75ca70 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-31 00:53:00 +03:00
Myk Melez 332caeba31 Bug 1482810 - set COMPILE_FLAGS var to hide warnings for Rust crates r=chmanchester
In conjunction with the cc crate changes in https://github.com/alexcrichton/cc-rs/pull/342 (which I'll land in https://phabricator.services.mozilla.com/D4699), this hides warnings generated by C code in Rust crates (by removing warnings flags from CFLAGS when compiling Rust libraries).

MozReview-Commit-ID: 9CZgLGbWjbA

Differential Revision: https://phabricator.services.mozilla.com/D3939
2018-08-30 17:29:54 +00:00
Nathan Froyd 4c164bb99e Bug 1487449 - stop macro redefinition warning spam for Windows macros; r=ted.mielczarek
This warning spam happens particularly with WebRTC, but I can see it
happening for any third-party software whose use of WINVER and friends
conflicts with our own.  Let's just change mozilla-config.h to avoid
defining these macros if they're already defined via the command line.
2018-08-30 16:09:23 -04:00
Preeti Mukherjee 7b9d260ee6 Bug 1471920 - [mozbuild] Use shutil.which in Python 3 instead of vendored third-party package r=davehunt
Use shutil.which in mozbuild for Python 3 instead of vendored third-party package, and enable mozversion tests that are fixed under Python 3 by this change.

Differential Revision: https://phabricator.services.mozilla.com/D4184
2018-08-30 16:39:55 +00:00
arthur.iakab ff30599609 Merge inbound to mozilla-central a=merge 2018-08-30 00:56:06 +03:00
Andi-Bogdan Postelnicu d29ea8df52 Bug 1486452 - mach static analysis autotest - display the error if we encounter clang-diagnostic-error. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D4425
2018-08-29 12:11:07 +00:00
Jan Henning c0217ea63c Bug 1486296 - Use the same temp profile as mach run for launching Firefox from Visual Studio. r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D4299
2018-08-29 14:26:23 +00:00
Andrew Halberstadt efb22404d1 Bug 1485454 - [mozlint] Fix stylish formatter, issues without a column aren't indented enough, r=sylvestre
After fixing the absolute path issue in codespell, I noticed that the stylish
formatter doesn't indent lint issues that don't have a column properly. This
was never noticed before since most other linters have a column attribute.

Depends on D4012

Differential Revision: https://phabricator.services.mozilla.com/D4013
2018-08-27 13:40:34 +00:00
Andi-Bogdan Postelnicu 8a8cb1e60f Bug 1486729 - [Static-Analysis][Clang-Tidy] As default, a checker should be publish by default. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D4436
2018-08-29 10:10:54 +00:00
Ciure Andrei c81cbff762 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-29 01:06:58 +03:00
Ciure Andrei f1621433fc Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Andrew Halberstadt c555621c08 Bug 1460856 - [mozlint] Encapsulate all result state in a ResultSummary class r=sylvestre
Currently there are 3 things that can impact the result of a lint run:

1. The list of lint issues found
2. The set of failures that happened during the setup phase
3. The set of failures that happened during the execution phase

All three of these things are stored as instance variables on the LintRoller
object, and then passed into a formatter when it comes time to print the
results. I'd like to add even more things that can impact the result, and it
became clear that the current scenario does not scale well.

This patch moves all data that could impact the end result of a lint run off of
the LintRoller object and onto a new 'result.ResultSummary' class. To avoid
confusion, this patch also renames the 'result.ResultContainer' class to
'result.Issue'.

With this new nomenclature:

result  -> overall state of an entire lint run (can comprise multiple linters)
issue   -> one specific lint infraction (at either 'warning' or 'error' level)
failure -> a non-recoverable error in the linter implementation itself

A "result" is comprised of 0 or more "issues" and 0 or more "failures".

Differential Revision: https://phabricator.services.mozilla.com/D3819
2018-08-28 13:51:04 +00:00
Andrew Halberstadt adda1d99c4 Bug 1460856 - [mozlint] Display suppressed warnings count in the summary and stylish formatters r=Standard8
Depends on D3821

Differential Revision: https://phabricator.services.mozilla.com/D3992
2018-08-27 13:37:28 +00:00
Andrew Halberstadt 88c8c59f8c Bug 1460856 - [mozlint] Suppress warnings by default r=Standard8,sylvestre
As of this patch, any lint issue at the "warning" level will *only* be displayed
if --warnings is passed in. This gives us some flexibility to track issues that
are "recommended to fix" but that aren't required (aka don't cause a backout).
I think it would be ideal if the reviewbot ran with warnings enabled, and CI
ran without warnings. This way these issues will be surfaced to developers
(and hopefully get fixed prior to landing), but developers will always be able
to ignore them if the situation warrants it.

Since the last change converted everything to use errors, this patch should
be a no-op for now. However as we move forward (and potentially decide that
certain types of lint issues should result in a backout), this feature will
start seeing more and more use.

Depends on D3820

Differential Revision: https://phabricator.services.mozilla.com/D3821
2018-08-27 13:39:46 +00:00
arthur.iakab bb5f84cdab Merge mozilla-central to autoland 2018-08-25 01:09:11 +03:00
arthur.iakab c6f7810936 Merge inbound to mozilla-central a=merge 2018-08-25 01:08:22 +03:00
Chris Manchester 7c9b78baeb Bug 1485174 - Prevent using an objdir to build with tup that was previously used to build with make. r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D4154
2018-08-24 18:13:20 +00:00
Chris Manchester a9cda44afd Bug 1485168 - Provide a tier for the "tup" portion of the build to prevent confusion. r=gps,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D3927
2018-08-24 16:12:31 +00:00
Tom Prince f405d2422b No bug: Add a default retry setting for mach artifact toolchain; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D4039
2018-08-24 16:04:22 +00:00
Benjamin Bouvier 1973ad0cb1 Bug 1485396: Handle non-unified builds for CompileDB too; r=froydnj 2018-08-23 11:55:50 +02:00
Tom Prince f5a24446f6 Bug 1481121: [release] Build bz2 mar's on mozilla-esr60; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D3811
2018-08-17 12:23:42 -06:00
Lifan Zeng 8fcb7f1d5a Bug 1446923 - Remove Some Old References to Chrome-Metro r=jlund
Differential Revision: https://phabricator.services.mozilla.com/D3223
2018-08-23 23:24:44 +00:00
Bas Schouten 09430903d1 Bug 1485485 - Followup: Fix which function definition in derrived classes. r=froydnj 2018-08-28 18:24:50 +02:00
Nathan Froyd 6337986b06 Bug 1485485 - make bootstrap accept rustc/cargo in known-good locations; r=chmanchester
moz.configure looks for rustc/cargo on PATH and in ~/.cargo/bin.
Bootstrap only looks on PATH and not in ~/.cargo/bin, though it is smart
enough to complain if rustc/cargo can't be found on PATH and you have
them in ~/.cargo/bin.  Bootstrap should look in both places by default,
and be content if it finds them wherever they are, so long as
moz.configure can find them.
2018-08-28 09:31:48 -04:00
Panos Astithas 730d99505b Bug 1484243 - Detect vcs automatically in |mach vcs-setup|. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D3942
2018-08-22 17:26:58 +00:00
Emilio Cobos Álvarez 03d6303097 Bug 1484485: Create state dir and install node / stylo stuff in bootstrap's non-interactive mode. r=ted
The state directory is in $HOME by default, so should be fine to just create it
if we get --no-interactive I think.

Differential Revision: https://phabricator.services.mozilla.com/D3838
2018-08-22 11:17:51 +02:00
Aaron Klotz f2c33900cc Bug 1458386: Modify mach's RunProgram command provider to be aware of launcher process; r=gps
By default, when the launcher process is enabled, it does not wait for the
browser process to complete before terminating. mach run expects its child
process to keep running until the browser is terminated.

If we pass -wait-for-browser to the launcher process, the launcher will not
terminate until the browser process has finished, thus preserving the existing
semantics.
2018-08-14 12:09:32 -06:00
Ted Mielczarek 0fac0b385d bug 1237610 - don't call post_dispatch_handler when using debug-command. r=gps
MozReview-Commit-ID: 4UG6RH4b6tZ

Differential Revision: https://phabricator.services.mozilla.com/D4596
2018-05-16 12:56:39 -04:00
Ted Mielczarek 4a0489cebb bug 1237610 - move build system telemetry collection code to a common place. r=gps
The telemetry gathering code is currently split in two places, so move it
all to a common place. Followup patches will rewrite most of this code.
2018-08-07 11:27:26 -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
Jan Beich 0c0f2fcb3e Bug 1496708 - Install node as system package. f=gaston r=Build r=froydnj
Mozilla binaries (including toolchain artifacts) aren't available on BSDs.
2018-10-05 05:37:00 +03:00
Jan Beich 661c215a27 Bug 1496708 - Install cbindgen as system package. f=gaston r=Build r=froydnj
cargo build is no longer called, so bootstrap will be faster.
All dependencies (including cbindgen) are usually up-to-date on BSDs
because there's no fallback to Mozilla binaries.
2018-10-05 05:37:00 +03:00
Jan Beich b014e7917a Bug 1496733 - Explicitly install libXt on FreeBSD. r=Build r=froydnj 2018-10-05 07:02:00 +03:00
David Major 2d2920a4b7 Bug 1482272 - Don't set -DEBUG twice on Windows links. r=ted
We already append MOZ_DEBUG_LDFLAGS when MOZ_DEBUG_SYMBOLS is set.
2018-08-21 11:35:52 -04:00
David Major 88f7d78b6c Bug 1413728: Windows DMD builds don't need special LDFLAGS behavior. r=ted 2018-08-21 11:34:48 -04:00
David Major 7ee721d3cf Bug 1483835: Default to clang-cl and lld-link in local Windows builds. r=glandium 2018-08-21 11:30:16 -04:00
Nathan Froyd c072e15967 Bug 1480558 - part 2 - don't add MOZ_DEBUG_FLAGS to ASFLAGS on aarch64 windows; r=mshal
armasm64 doesn't accept the same options as its x86-ish counterparts,
and passing options it doesn't understand causes assembly to fail.  So
let's just not pass any flags to the assembler for the moment.
2018-08-21 11:00:35 -04:00
Mike Hommey e26b46b0f5 Bug 1341222 - Allow !- and %-prefixed paths in include paths processed by gyp. r=froydnj 2018-08-21 07:24:53 +09:00