Commit Graph

4157 Commits

Author SHA1 Message Date
Dorel Luca
7a91966c10 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-15 12:46:59 +03:00
Mike Hommey
410b4939d9 Bug 1490549 - Make configure choose clang by default on all platforms r=froydnj
Now that we ship builds using clang on all platforms, pick it during
configure. It is still possible to opt-in to building other compilers by
setting CC/CXX (or even only CC) to the desired compiler.

Depends on D5829

Differential Revision: https://phabricator.services.mozilla.com/D5637

--HG--
extra : moz-landing-system : lando
2018-09-14 18:01:23 +00:00
Mike Hommey
8e6dbef1d4 Bug 1490549 - Add some Windows-cross toolchain configure tests r=froydnj
While those builds are not fully supported yet, it's better to ensure
the coming changes to toolchain.configure won't break them.

Differential Revision: https://phabricator.services.mozilla.com/D5828

--HG--
extra : moz-landing-system : lando
2018-09-14 13:15:58 +00:00
Brian Grinstead
fbadd312b2 Bug 1411707 - Convert findbar.dtd to findbar.ftl;r=flod
This will be used when we migrate away from XBL and to a Custom Element
in the following changesets.

Differential Revision: https://phabricator.services.mozilla.com/D5598

--HG--
extra : moz-landing-system : lando
2018-09-14 18:29:51 +00:00
shindli
0c0c6fddd8 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout
--HG--
rename : taskcluster/docker/static-analysis-build/Dockerfile => taskcluster/docker/infer-build/Dockerfile
2018-09-14 16:35:23 +03:00
Brindusan Cristian
99cbc0aec3 Merge inbound to mozilla-central. a=merge 2018-09-14 12:53:25 +03:00
Robert Bartlensky
af9de513f7 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Adds infer to ./mach static-analysis autotest.

Differential Revision: https://phabricator.services.mozilla.com/D5692

--HG--
rename : taskcluster/docker/infer-build/Dockerfile => taskcluster/docker/static-analysis-build/Dockerfile
extra : moz-landing-system : lando
2018-09-13 20:58:03 +00:00
Noemi Erli
a548d10a8c Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Jim Chen
343650bb80 Bug 1480834 - 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Add tasks for building Android for x86-64.

Differential Revision: https://phabricator.services.mozilla.com/D5604
2018-09-13 12:09:26 -04:00
Jim Chen
6ce80dbdc4 Bug 1480834 - 5. Keep target flag when building for Android on Linux; r=glandium
Currently, when building for Android x86-64 on Linux x86-64, we drop the
'--target' flag, which causes the build to fail. This patch adds a check
for OS mismatch, so we keep the '--target' flag in this situation.

Differential Revision: https://phabricator.services.mozilla.com/D4483
2018-09-13 12:09:26 -04:00
Jim Chen
d968bd5148 Bug 1480834 - 2. Add x86-64 build support; r=nalexander
Add x86-64 as an option for Android builds in the build system.

Differential Revision: https://phabricator.services.mozilla.com/D4480
2018-09-13 12:09:25 -04:00
Jim Chen
054f1436df Bug 1480834 - 0. Drop mips and update NDK platform to 16; r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D5602
2018-09-13 12:09:24 -04:00
Benjamin Bouvier
52e9161365 Bug 1490921: Fix error message when trying to link several Rust libs at once: r=froydnj
--HG--
extra : rebase_source : 684d8b77a5c0b801825386b46a101bbc57eeaf32
extra : amend_source : 5a21dd028ac69e5adf062f91350bae84ba183560
2018-09-13 09:33:26 +02:00
Chris Peterson
da01f965e0 Bug 1490575 - Remove MOZ_MULET checks from build files. r=froydnj
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

Differential Revision: https://phabricator.services.mozilla.com/D5734

--HG--
extra : rebase_source : 5d6c8563fe7f5b3bafa9a17d1057eb3a3db6e241
extra : source : f7c8de6bc4a978421f49e43b951188597086874b
2018-09-11 23:16:36 -07:00
Gian-Carlo Pascutto
ae55a2bd7a Bug 1490413 - Update Rust license checks for new cargo formats. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5679

--HG--
extra : moz-landing-system : lando
2018-09-13 13:28:07 +00:00
Ben Hearsum
715bd48218 Bug 1490119 - Set override_certs in update verify config creator. r=nthomas
Imports the changes to the UpdateVerifyConfig class, and sets --override-certs for staging releases.

Differential Revision: https://phabricator.services.mozilla.com/D5705

--HG--
extra : moz-landing-system : lando
2018-09-13 12:31:08 +00:00
Masatoshi Kimura
762361579f Bug 1485224 - Update Windows builders to VS 2017 15.8.4 and Windows SDK 17134. r=glandium
--HG--
extra : rebase_source : 15906168b0e2e2d545ea841cb3e11e7102bc9b39
2018-09-07 07:15:19 +09:00
Steve Armand
1812539078 Bug 1490167 - MacPorts in bootstrap.py is out of date r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D5494

--HG--
extra : moz-landing-system : lando
2018-09-11 19:36:09 +00:00
Gabriele Svelto
d5ab0ca667 Bug 1490355 - Teach |mach bootstrap| to automatically install the latest version of the Oracle JDK r=nalexander
This patch makes the bootstrap code "ask" Gentoo's package manager for
human-readable information on how to get the latest JDK, then parses it and
locates the tarball URL on its own. The whole procedure is now fully automatic
(until the package output or Oracle web pages change).

Differential Revision: https://phabricator.services.mozilla.com/D5544

--HG--
extra : moz-landing-system : lando
2018-09-12 12:08:51 +00:00
Csoregi Natalia
7ed619163e Backed out changeset 081d8311be59 (bug 1479503) for build bustage - java not found. CLOSED TREE
--HG--
rename : taskcluster/docker/static-analysis-build/Dockerfile => taskcluster/docker/infer-build/Dockerfile
2018-09-12 13:16:06 +03:00
Robert Bartlensky
b4ebd25931 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Adds infer to ./mach static-analysis autotest.

Differential Revision: https://phabricator.services.mozilla.com/D4547

--HG--
rename : taskcluster/docker/infer-build/Dockerfile => taskcluster/docker/static-analysis-build/Dockerfile
extra : moz-landing-system : lando
2018-09-12 09:34:30 +00:00
Bogdan Tara
11a51e4c3d Merge inbound to mozilla-central. a=merge 2018-09-12 01:12:32 +03:00
Nathan Froyd
9a33a0eb00 Bug 1490054 - ensure that the {src,obj}dir share the same drive path in Windows; r=chmanchester
This change is necessary for constructing relative paths between the
objdir and srcdir to succeed, and has been (I believe) the implicit
requirement of builds since time immemorial.
2018-09-11 09:46:37 -04:00
Cosmin Sabou
de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Tom Ritter
26dbd4d795 Bug 1481633 Resolve kPStaticModules undefined symbols in MinGW Clang r=glandium
clang can handle MSVC-like codepaths generally, so we want to use those
when building with clang for Windows. So we switch _MSC_VER over to _WIN32
to pick up those codepaths when compiling for Windows with clang.

Additionally, we relax the ordering of sections for the same scenario.

Note that we do need to tell clang to use -fms-extensions with the MSVC code,
we do that in the mingw clang build job patch.

Differential Revision: https://phabricator.services.mozilla.com/D3526

--HG--
extra : moz-landing-system : lando
2018-09-11 03:20:06 +00:00
Andreea Pavel
2b539c7b7e Merge autoland to mozilla-central. a=merge 2018-09-11 00:58:48 +03:00
Chris Manchester
e7c71ddca8 Bug 1487505 - Prompt user to run tup init in an appropriate location when building an objdir outside of the srcdir in tup. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D4808

--HG--
extra : moz-landing-system : lando
2018-09-10 18:40:42 +00:00
Robert Longson
63cb9a2572 Bug 1482196 - Increase minimum clang version to 3.9 r=froydnj 2018-09-10 18:59:07 +01:00
Mike Hommey
7fa84b1acd Bug 1489340 - Handle XPT files as blobs of data in packager. r=froydnj
We don't actually ship XPT files anymore, but it's still useful for the
packager code to handle old Firefox versions. But for that, we don't
really need the complexity of "linking" XPT files in a single unit per
directory. We can just as well keep the XPT files intact, as long as we
retain individual `interfaces` manifest entries for each.

And since those entries used to be all merged into one, we now instead
group them all together in manifests (which also happens to make it
easier on unit test changes).

Differential Revision: https://phabricator.services.mozilla.com/D5221

--HG--
extra : moz-landing-system : lando
2018-09-07 22:21:07 +00:00
Dorel Luca
37663bb870 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-07 19:35:34 +03:00
Kartikaya Gupta
22d325deab Bug 1440879 - Ensure all the stl_wrappers end up in the generated-files tarball. r=froydnj 2018-09-07 09:34:40 -04:00
Kartikaya Gupta
840a45b700 Bug 1440879 - Emit source-like generated files into generated-sources.json. r=froydnj 2018-09-07 09:34:39 -04:00
Francesco Lodolo (:flod)
875666b584 Bug 1489480 - Remove migration recipes for Firefox 62 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D5253

--HG--
extra : moz-landing-system : lando
2018-09-07 12:52:14 +00:00
Connor Sheehan
ef46abf75d Bug 1461992: only indent 2 spaces in export_telemetry_schema.py output r=ted
:mreid sent a review of my pull request and informed me that the
JSON schemas used in the data pipeline are all 2-space indented.
If we want to use this script to generate any future changes to
the build system schema, we should make sure it outputs data
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D4149

--HG--
extra : moz-landing-system : lando
2018-08-28 18:15:34 +00:00
Steve Armand
60283bec51 Bug 1490167 - MacPorts in bootstrap.py is out of date r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D5494

--HG--
extra : rebase_source : 3bf454e3e11a18581033718bcb917d77900caf0b
2018-09-11 19:36:09 +00:00
Masatoshi Kimura
30ed2d528b Bug 1414060 - give json.dump the correct encoding; r=mshal 2018-09-10 18:57:40 -04:00
Ted Mielczarek
a17cd1805a Bug 1489211 - invoke dumpbin.exe to check NSModule ordering in libxul; r=froydnj 2018-09-06 12:52:48 -04:00
Ted Mielczarek
702294b58e 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
b0827c4040 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
1a1ca59f9a 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
b5f0a96fff Bug 1440879 - Emit source-like generated files into generated-sources.json. r=froydnj 2018-09-04 10:40:42 -04:00
Mike Shal
58e7879466 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

--HG--
extra : moz-landing-system : lando
2018-08-31 20:48:22 +00:00
Chris Manchester
1f2797495b Bug 1487180 - Upload the build graph report as a part of the tup build. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D4626

--HG--
extra : moz-landing-system : lando
2018-08-31 19:18:47 +00:00
Chris Manchester
89393b1268 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

--HG--
extra : moz-landing-system : lando
2018-08-30 00:52:43 +00:00
Jim Chen
79c02971f8 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

--HG--
extra : moz-landing-system : lando
2018-08-30 21:51:18 +00:00
Andrew Halberstadt
921c895df2 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

--HG--
extra : moz-landing-system : lando
2018-08-31 16:05:12 +00:00
Gurzau Raul
3107aff601 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-31 00:53:00 +03:00
Myk Melez
7978cd2fe4 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

--HG--
extra : moz-landing-system : lando
2018-08-30 17:29:54 +00:00
Nathan Froyd
992139e95b 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
bfa8d74f55 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

--HG--
extra : moz-landing-system : lando
2018-08-30 16:39:55 +00:00