Commit Graph
4072 Commits
Author SHA1 Message Date
Ted Mielczarek 8ff9ea8963 bug 1461992 - Add a script to output build system telemetry schema in json-schema format. r=gps
External systems such as the generic ingestion service will want to work with
the more standard json-schema format. This commit adds a script to convert the
voluptuous schema to json-schema format using the `luscious` Python module.
Since that module has not been updated recently, we install and use a fork with
some changes.

Since this is a single-purpose command that's unlikely to be used by many
people it's not implemented as a mach command, but simply a standalone script
that can be invoked via `mach python`.

Differential Revision: https://phabricator.services.mozilla.com/D2841
2018-08-06 13:54:58 -04:00
Ted Mielczarek c49b6b79cd bug 1461992 - add a voluptuous schema for build system telemetry. r=gps
This change adds a voluptuous schema for build system telemetry, replacing
the existing json schema file. Using voluptuous will make it easier to work
with the schema from Python code in the build system. A future commit will
use a Python module to provide a mach command to convert the voluptuous
schema to json schema format for consumption by other systems.

Differential Revision: https://phabricator.services.mozilla.com/D2840
2018-08-03 15:41:20 -04:00
Ting-Yu Lin 35a1b378d1 Bug 1476147 - Use path.isfile() instead of patch.exists() in which(). r=glandium
This excludes directories, and returns true only if it's an executable file.

Differential Revision: https://phabricator.services.mozilla.com/D3366
2018-08-15 06:15:57 +00:00
Noemi Erli 15415926da Backed out changeset ac5d5dec618e (bug 1481590) for Gecko decision task failure 2018-08-15 06:13:37 +03:00
Sofia Carrillo 61a5863cb1 Bug 1481590 - generating report with |mach analyze all| and modifying |mach summarize| to become |mach analyze files| r=gps,mshal,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D2981
2018-08-15 01:12:03 +00:00
Cosmin Sabou bf9bbd14fd Merge mozilla-central to autoland. a=merge 2018-08-15 04:56:53 +03:00
Kris Maglione a6e4bc987a Bug 1472491: Part 5a - Add BrowserTabChild actor. r=felipe
MozReview-Commit-ID: 38Y1xwkgxCx
2018-07-29 19:42:46 -07:00
Mike Shal c334446d5b Bug 1481441 - Honor MOZ_PARALLEL_BUILD in non-make backends; r=chmanchester
If you specify 'mk_add_options MOZ_PARALLEL_BUILD=X' in your mozconfig,
this variable ends up being passed into client.mk, which tells the make
backend to use that as the number of parallel jobs. However, there is no
equivalent in alternate backends aside from specifying '-jX' at the
commandline on each build invocation.

Rather than making a new mechanism to do this, we can check the
mozconfig for the MOZ_PARALLEL_BUILD flag and use that number for the
jobs parameter if no override was specified on the commandline.

MozReview-Commit-ID: 4YHG30N6tmi

Differential Revision: https://phabricator.services.mozilla.com/D3362
2018-08-14 21:42:16 +00:00
Chris Manchester b63b2e1d1a Bug 1474028 - Use output categories to exclude the gtest libxul from the default tup build. r=mshal
MozReview-Commit-ID: 2C9PmFziFqr
2018-08-10 12:07:36 -07:00
Chris Manchester 38666978ec Bug 1474028 - Add a way to exclude libraries from the default build. r=ted
MozReview-Commit-ID: MVfplx9lN2
2018-08-10 12:07:29 -07:00
Chris Manchester 96359df04e Bug 1478798 - Handle the CLOBBER file optimistically in the Tup backend. r=mshal
MozReview-Commit-ID: DDIqlDwjKil

Differential Revision: https://phabricator.services.mozilla.com/D2799
2018-08-13 17:07:41 +00:00
Emilio Cobos Álvarez 93667c4a8b Bug 1478813 - Add cbindgen toolchain job and install via bootstrap. r=ted
And require it for taskcluster build already, because it doesn't harm and lets
me put all the yml changes in the same commit.

I gave up cross-compiling for OSX after a few tries and after realizing it
wasn't enough with cctools and such, but that I also needed the Mac SDK, for
which I don't have permission...

Differential Revision: https://phabricator.services.mozilla.com/D2664
2018-08-13 10:58:22 +00:00
Narcis Beleuzu 2f9ae8e3fc Backed out 2 changesets (bug 1474028) per chmanchester`s request. a=backout
Backed out changeset 52bd814d3589 (bug 1474028)
Backed out changeset 39a528147c34 (bug 1474028)
2018-08-12 21:22:45 +03:00
Andreea Pavel 867d2d1e36 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-11 13:25:30 +03:00
Dan Mosedale 49609a9b95 Bug 1481693 - Implement no_system_changes for moz_bootstrap, r=gps
MozReview-Commit-ID: CnS94verabV
2018-08-10 19:58:03 -07:00
Dan Mosedale 1a726fd270 Bug 1481693 - Factor out install_private_packages from moz_bootstrap, r=gps
MozReview-Commit-ID: It9IumV141L
2018-08-10 19:58:03 -07:00
Dan Mosedale bee4fa1cda Bug 1481693 - Factor out try_to_create_state_dir from mach_bootstrap, r=gps
MozReview-Commit-ID: H6DhV56n3Cc
2018-08-10 19:58:02 -07:00
Dan Mosedale 085595ea86 Bug 1481693 - Add --no-system-changes argument to 'mach bootstrap', r=gps
MozReview-Commit-ID: AMYM3rAPVcl
2018-08-10 19:58:01 -07:00
Dan Mosedale 6dce1d8a7a Bug 1481693 - Teach mach bootstrap to install NodeJS from toolchain artifact, r=gps
MozReview-Commit-ID: DBUCcGXxM0a
2018-08-10 19:58:00 -07:00
Mike Hommey 0242e3318d Bug 1482330 - Upgrade to Android NDK r17b and API level 16 (JB). r=snorp
We're currently using NDK r15c, which is rather old, and happens to come
with a buggy gold linker. Let's use a more recent NDK, with a fixed
linker.

Unfortunately, we're currently at NDK API level 9, which the newer NDK
doesn't provide for x86 anymore. But that corresponds to Gingerbread
(2.3), which we've long stopped supporting. On the SDK side, we already
dropped support of versions before Jelly Bean, so we can do the same on
the NDK side. That corresponds to API level 16. So let's just use that
as a baseline.

Another change in the newer NDK is that the target-name changed from
i386-linux-android to i686-linux-android, so adjust for that in the
android x86 mozconfigs.
2018-08-11 09:47:41 +09:00
Bogdan Tara 6cccb5d890 Backed out changeset 003838e8d110 (bug 1482330) for Adnroid build bustages on mozalloc_abort.cpp CLOSED TREE 2018-08-11 03:22:58 +03:00
Bogdan Tara 15237e6fa1 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-11 01:01:18 +03:00
Mike Hommey 11eee273b3 Bug 1482330 - Upgrade to Android NDK r17b and API level 16 (JB). r=snorp
We're currently using NDK r15c, which is rather old, and happens to come
with a buggy gold linker. Let's use a more recent NDK, with a fixed
linker.

Unfortunately, we're currently at NDK API level 9, which the newer NDK
doesn't provide for x86 anymore. But that corresponds to Gingerbread
(2.3), which we've long stopped supporting. On the SDK side, we already
dropped support of versions before Jelly Bean, so we can do the same on
the NDK side. That corresponds to API level 16. So let's just use that
as a baseline.

Another change in the newer NDK is that the target-name changed from
i386-linux-android to i686-linux-android, so adjust for that in the
android x86 mozconfigs.
2018-08-11 06:50:21 +09:00
Chris Manchester 3f2a72d714 Bug 1482516 - Use set comparison to determine whether the list of build backend outputs has changed. r=gps,firefox-build-system-reviewers
If a backend output file is deleted outside of the build system the non-zero
"created" count can make the current check erroneously think the list of
outputs has changed.

Differential Revision: https://phabricator.services.mozilla.com/D3129
2018-08-10 22:29:35 +00:00
Chris Manchester b6325d0025 Bug 1474028 - Use output categories to exclude the gtest libxul from the default tup build. r=mshal
MozReview-Commit-ID: 2C9PmFziFqr
2018-08-10 12:07:36 -07:00
Chris Manchester 165bf6c4bd Bug 1474028 - Add a way to exclude libraries from the default build. r=ted
MozReview-Commit-ID: MVfplx9lN2
2018-08-10 12:07:29 -07:00
Margareta Eliza Balazs a704b1e8e1 Merge inbound to mozilla-central. a=merge 2018-08-10 12:17:09 +03:00
Mike Hommey fe0a91cf68 Bug 1482270 - Check libgcc version compatibility. r=froydnj
Similar to what we do for libstdc++ and glibc, we need to ensure that
we don't somehow end up with a dependency on a too new libgcc, which
can happen if it comes from gcc 7.0.
2018-08-10 08:28:41 +09:00
Noemi Erli 79d2c4da4f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-10 00:35:08 +03:00
Noemi Erli 03e12a5375 Merge inbound to mozilla-central. a=merge 2018-08-10 00:31:09 +03:00
David Heiberg ef5170e522 Bug 1476661 - Ensure H2 dependencies are packaged alongside wptserve where needed, r=jgraham
MozReview-Commit-ID: 5tbXeHsvNI5
2018-08-09 11:38:37 +01:00
Myk Melez f40848be9d Bug 1445451 - vendor rkv; r=froydnj
MozReview-Commit-ID: KbcADpNltYq

Differential Revision: https://phabricator.services.mozilla.com/D3042
2018-08-09 19:42:17 +00:00
Andrew Swan 4d9bad8859 Bug 1479599 Recognize webextensions in packager r=glandium
MozReview-Commit-ID: KethvfCTf6G
2018-07-31 21:51:02 -07:00
Robert Bartlensky e555dff3db Bug 1473278: Add infer to java-check, install, clear-cache, and print-checks subcommands. r=gps
MozReview-Commit-ID: 5ngZu6lh1wU
2018-07-26 14:45:44 +01:00
Chris Manchester 900a283cdd Bug 1450077 - Download rust 1.28 in mach bootstrap. r=froydnj,mshal
MozReview-Commit-ID: IBdFRyWlQTW
2018-08-07 13:21:29 -07:00
Chris Manchester 009efce202 Bug 1480313 - Set check_unchanged for cargo build script rules in the Tup build. r=mshal
MozReview-Commit-ID: Cx3sP5m16Yl
2018-08-01 21:24:51 -07:00
Chris Manchester a01dddac7a Bug 1481328 - Explicitly disable CARGO_INCREMENTAL when building with tup. r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2810
2018-08-07 00:21:47 +00:00
Dão Gottwald bfd25b09a2 Bug 1369456 - Replace nsSessionStartup.js with SessionStartup.jsm. r=florian
MozReview-Commit-ID: 53Mu4zb9X1C
2018-08-04 13:27:40 +02:00
Bogdan Tara ed871660f1 Merge inbound to mozilla-central. a=merge 2018-08-03 13:16:27 +03:00
Nathan Froyd 4690d4b2fe Bug 1480553 - part 1 - add Windows-specific aarch64 macro detection; r=glandium
MSVC doesn't define __aarch64__, but uses its own symbol instead.
2018-08-02 21:40:40 -04:00
Tudor-Gabriel Vîjială 0c8bb6ace3 Bug 1473313 - Part 1: Set up geckoview build config for androidTest coverage runs. r=nalexander
This patch adds JaCoCo as a dependency for the geckoview androidTest configurations, as well as
the `mach android archive-geckoview-coverage-artifacts` command, and the `--enable-java-coverage`
mozconfig flag.

MozReview-Commit-ID: 36jNAzK44g3
2018-07-24 11:44:24 +01:00
Nathan Froyd b7a1bfff7d Bug 1480424 - clarify the meaning of --from-build for mach artifact toolchain; r=emilio
It never hurts to be explicit in documentation.
2018-08-02 10:01:41 -04:00
Andi-Bogdan Postelnicu cb4fc9cc52 Bug 1480370 - pass checks to _get_clang_tidy_command. r=babadie+588857
MozReview-Commit-ID: JO9nr59WYk5
2018-08-02 13:48:29 +03:00
dvarga 7f13b5d1cc Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-02 01:19:44 +03:00
dvarga 20d9adda48 Merge inbound to mozilla-central. a=merge 2018-08-02 01:09:38 +03:00
Dorel Luca 38dd3e7de8 Backed out 2 changesets (bug 1473648, bug 1476661) for mochitest failure on testing/mochitest/tests/python/test_basic_mochitest_plain.py
Backed out changeset dbb14978acf8 (bug 1473648)
Backed out changeset de933cb380f9 (bug 1476661)
2018-08-01 16:01:05 +03:00
Sofia Carrillo e7fe71f2ca Bug 1479557 - upload cost metric for all files in build graph r=chmanchester
With this artifact, we will have the total wall time for all files in the build
graph.

MozReview-Commit-ID: I6hLxavX3QY
2018-07-26 19:47:51 -04:00
Andreea Pavel 21bafea76d Backed out 6 changesets (bug 1478499) for failing spidermonkey pkg
Backed out changeset 9dee6a08a2dd (bug 1478499)
Backed out changeset 3982c14a834e (bug 1478499)
Backed out changeset 6f6e562e2013 (bug 1478499)
Backed out changeset 03f68a47b89e (bug 1478499)
Backed out changeset 237dc169f486 (bug 1478499)
Backed out changeset 3f72358d338a (bug 1478499)
2018-08-01 22:22:41 +03:00
Chris Manchester c69fbbacb1 Bug 1478499 - Consider GCC_USE_GNU_LD when passing a symbols file in the Tup build for consistency with the Make build. r=mshal
MozReview-Commit-ID: 7D4zYj6vhly
2018-07-31 16:11:33 -07:00
Chris Manchester 46dbf07d81 Bug 1478499 - Skip additional js shell installation via ObjdirFiles in the tup build. r=mshal
Having an output to !/js/src/js causes problems for tup, because many
compilation invocations will attempt to find headers in !/js/src/js,
meaning tup thinks these invocations should depend on generating
!/js/src/js (the file).

MozReview-Commit-ID: CHP20RqH1OM
2018-07-31 15:16:04 -07:00