Commit Graph
4174 Commits
Author SHA1 Message Date
Ben Hearsum fb47fc8d80 bug 1490119: Add build system bits for building dep updater. r=firefox-build-system-reviewers,mshal,rstrong
This patch gets us building an updater binary that always embeds the dep certificates (instead of release or nightly), and builds a new tests package that includes it.

I had a lot of trouble getting the test package generated correctly due to the fact that things in "_tests" won't be included for test packages that aren't "common". My fix for that isn't ideal - I'm open to something better.

Differential Revision: https://phabricator.services.mozilla.com/D5900
2018-09-19 19:55:23 +00:00
shindli b146b9b29a Backed out changeset dd80de19f142 (bug 1473915) for mb failures in testing/mozbase/moztest/tests/test_resolve.py CLOSED TREE 2018-09-19 18:13:48 +03:00
Ahilya Sinha 480df43e37 Bug 1473915 - Set up infra so we can move the wpt-manifest out of tree r=gps
Changes the wpt manifest path to the topobjdir instead so it can be moved out of tree.
Other changes so that the manifest download and update, and |mach wpt| and |mach test <wpt-test>| work with the new path.
The manifest is also downloaded and updated when creating the tests-archive to ensure that it exists when we run tests on TC.

MozReview-Commit-ID: Fp6UsKJjhTU

Differential Revision: https://phabricator.services.mozilla.com/D5312
2018-09-19 06:57:50 +00:00
arthur.iakab 940ea3ce8e Merge mozilla-central to autoland 2018-09-19 05:20:02 +03:00
arthur.iakab bf4cf69c40 Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Adam Gashlin e30f980cc0 Bug 1492268: Allow a Rust library to link to a program r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6200
2018-09-18 22:23:41 +00:00
Nathan Froyd e2cf896d16 Bug 1490463 - part 1 - emit a srcdir_rel variable in every directory; r=mshal
Many Windows tools don't deal well with absolute paths for filenames,
oddly enough, so we want to pass relative paths into the source
directory where possible.  These relative paths also mean that they look
like "normal" unix paths to WSL and therefore don't require any special
handling.
2018-09-18 16:02:23 -04:00
Ted Mielczarek 0b28cdf544 Bug 1399870 - make DEFFILE a Path instead of a string; r=gps
All but one of the current uses of DEFFILE use `SRCDIR + '/file.def'` to
get a srcdir-relative path anyway, and the other one wants an
objdir-relative path, so using Path makes everything clearer.

This makes it more straightforward to translate the paths for the WSL
build.
2018-09-18 15:50:19 -04:00
Matt Brubeck eac5d5d297 Bug 1492001 - Update cargo_build_defs for num-traits. r=mbrubeck 2018-09-18 12:24:27 -07:00
Matt Brubeck 64bc016b13 Bug 1492001 - Revendor Rust dependencies. r=jgraham
Depends on D6168

Differential Revision: https://phabricator.services.mozilla.com/D6169
2018-09-18 17:51:22 +00:00
Chris Manchester c32ea09ae0 Bug 1490763 - Export ICECC environment variables to compilation commands in the tup backend. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D5708
2018-09-18 15:32:12 +00:00
Noemi Erli 849b9a54c1 Backed out changeset 08f0bf17514d (bug 1138579) for build bustages in /config/tests/test_mozbuild_reading.py 2018-09-18 20:40:06 +03:00
Ted Campbell adf90c572a Bug 1138579 - Support multiple Files patterns in moz.build r=gps
Add support for |with Files('a/**', 'b/**')| in mozbuild config files.

MozReview-Commit-ID: IoM4qfEhXXc

Differential Revision: https://phabricator.services.mozilla.com/D5315
2018-09-18 17:18:30 +00:00
Chris Manchester 1148bd2691 Bug 1490145 - Download rustc 1.29 in mach bootstrap. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D5825
2018-09-14 02:21:26 +00:00
Masatoshi Kimura 45f05d8960 Bug 1490654 - Drop support for MSVC 2017 Update 6. r=froydnj 2018-09-16 22:22:31 +09:00
Andrew Halberstadt 778a9564ae Bug 1486866 - [mozlint] Refactor test_include_exclude into parametrized test cases, r=egao
This will make it easier to add new test cases in the future. It'll
also make it easier to print debug, as only the output for each
specific test case will be printed on failure.

Differential Revision: https://phabricator.services.mozilla.com/D5862
2018-09-17 15:36:35 +00:00
Mike Hommey 351738ee5e Fixup for broken tests when combining bug 1485224 from inbound and bug 1490549 from autoland. r=me,a=build-bustage-fix 2018-09-15 20:04:29 +09:00
Dorel Luca 8bdd274158 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-15 12:46:59 +03:00
Mike Hommey 0d44acf688 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
2018-09-14 18:01:23 +00:00
Mike Hommey 4743b96d78 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
2018-09-14 13:15:58 +00:00
Brian Grinstead 8dacbcd4fc 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
2018-09-14 18:29:51 +00:00
shindli 6693fa6a27 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
Brindusan Cristian 0453daa190 Merge inbound to mozilla-central. a=merge 2018-09-14 12:53:25 +03:00
Robert Bartlensky 67496d73fb 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
2018-09-13 20:58:03 +00:00
Noemi Erli b3cd3ce8e4 Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Jim Chen bb48f8e837 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 c4bd31f4c5 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 da5cc0f43d 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 a79ff30d59 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 d5ad975b15 Bug 1490921: Fix error message when trying to link several Rust libs at once: r=froydnj 2018-09-13 09:33:26 +02:00
Chris Peterson 3c7f7375ab 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
2018-09-11 23:16:36 -07:00
Gian-Carlo Pascutto 1a16d5dafc Bug 1490413 - Update Rust license checks for new cargo formats. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5679
2018-09-13 13:28:07 +00:00
Ben Hearsum ad9675bd74 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
2018-09-13 12:31:08 +00:00
Masatoshi Kimura 7091684062 Bug 1485224 - Update Windows builders to VS 2017 15.8.4 and Windows SDK 17134. r=glandium 2018-09-07 07:15:19 +09:00
Steve Armand 04f4b9489b Bug 1490167 - MacPorts in bootstrap.py is out of date r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D5494
2018-09-11 19:36:09 +00:00
Gabriele Svelto 87737514d2 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
2018-09-12 12:08:51 +00:00
Csoregi Natalia b77efd9e8d Backed out changeset 081d8311be59 (bug 1479503) for build bustage - java not found. CLOSED TREE 2018-09-12 13:16:06 +03:00
Robert Bartlensky 1685bcf67c 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
2018-09-12 09:34:30 +00:00
Bogdan Tara fabd776adb Merge inbound to mozilla-central. a=merge 2018-09-12 01:12:32 +03:00
Nathan Froyd b98f70575b 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 3d2444653d Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Tom Ritter 3f3d3913c8 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
2018-09-11 03:20:06 +00:00
Andreea Pavel a62c357617 Merge autoland to mozilla-central. a=merge 2018-09-11 00:58:48 +03:00
Chris Manchester 5b084bb3cc 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
2018-09-10 18:40:42 +00:00
Robert Longson f4518466d2 Bug 1482196 - Increase minimum clang version to 3.9 r=froydnj 2018-09-10 18:59:07 +01:00
Mike Hommey 6300910617 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
2018-09-07 22:21:07 +00:00
Dorel Luca 36b1e23baf Merge mozilla-inbound to mozilla-central. a=merge 2018-09-07 19:35:34 +03:00
Kartikaya Gupta 1d0e55b89b 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 7332c936d0 Bug 1440879 - Emit source-like generated files into generated-sources.json. r=froydnj 2018-09-07 09:34:39 -04:00
Francesco Lodolo (:flod) b3bb0bc31f Bug 1489480 - Remove migration recipes for Firefox 62 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D5253
2018-09-07 12:52:14 +00:00