Commit Graph
4048 Commits
Author SHA1 Message Date
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
Chris Manchester 1fe5e9b6b6 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: 8o4o9HiGdrR
2018-08-01 13:25:48 -07:00
Chris Manchester 1ffa6b7611 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: Ky6kq82vlO8
2018-07-31 16:19:59 -07:00
Dorel Luca 9598133e75 Merge mozilla-cental to mozilla-inbound 2018-08-01 12:54:59 +03:00
David Heiberg 9782ffb25d Bug 1476661 - Ensure H2 dependencies are packaged alongside wptserve where needed, r=jgraham 2018-08-01 10:52:11 +01:00
Alexis Deschamps 95639a98ad Bug 1476034 - about:crashes: switched to fluent. r=flod,Pike
Summary:
The about:crashes page is being updated (bug 1463515). To facilitate these changes,
this patch changes the about:crashes page to use Fluent for localization instead of the old systems.
This also includes a script to migrate strings from the old .DTD and .properties files
to the new .ftl one.

Test Plan:
1. build Firefox with the changes
2. run Firefox
3. go to the about:crashes page
4. expect nothing to be different

This extension: https://github.com/rhelmer/webext-experiment-crashme can be used to
add local crash reports for verifying the different states of the about:crashes page.

Reviewers: flod, Pike, jchen, snorp

Reviewed By: flod, Pike, jchen, snorp

Subscribers: nalexander, reviewbot

Bug #: 1476034

Differential Revision: https://phabricator.services.mozilla.com/D2225
2018-08-01 10:31:14 +03:00
Mike Shal f474a291b9 Bug 1475071 - Enable --no-sync and --debug-logging when running tup; r=chmanchester
The --no-sync flag turns off the SQLite synchronous pragma, so we don't
force the disk to sync on every 'mach build'. Since mach always touches
a few files (eg: warnings.json, .purgecaches, etc), there is always a
minor amount of updates to the database, and syncing them every time
just forces an unnecessary delay.

The --debug-logging flag saves logs under .tup/log to show what files
changes or were deleted, as well as the corresponding build DAG. This
can be helpful when trying to investigate why something was rebuilt.

MozReview-Commit-ID: L0m7IsYlFUI
2018-07-31 10:07:57 -04:00
Chris Manchester 09c13cec96 Bug 1478561 - Expose MOZ_AUTOMATION to rust running in the tup build. r=froydnj
MozReview-Commit-ID: 6ekOYJv7iz7
2018-07-30 16:46:10 -07:00
Chris AtLee 2873f87ade Bug 733530: Use .tar.gz for test archives r=gps
Differential Revision: https://phabricator.services.mozilla.com/D1743
2018-08-01 16:00:03 +00:00
Coroiu Cristina 1a5477ffb1 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2018-07-31 01:03:29 +03:00
Ted Mielczarek 65b6f7c7e1 bug 1409276 - emit COMPUTED_{CFLAGS,CXXFLAGS} for Rust-only directories in the recursive make backend. r=chmanchester
Currently the recursive make backend skips emitting COMPUTED_CFLAGS etc for
Rust-only directories as an optimization. However, we need to pass CFLAGS down
to Rust build scripts that compile C/C++ code, so having the COMPUTED_
variables will make it easier to pass the right set of flags.

Additionally, ensure that Rust programs wind up in linkables/host_linkables so
that they get computed flags emitted.

MozReview-Commit-ID: Ld41080dOZN
2018-07-11 15:52:26 -04:00
Andi-Bogdan Postelnicu 482ea66613 Bug 1472975 - Add tests in tree to make mach static-analysis doesn't regress. r=janx
MozReview-Commit-ID: DQfZ9ayhSmE
2018-07-03 16:35:39 +03:00
Dorel Luca 5b8abdda61 Merge mozilla-central to mozilla-inbound 2018-07-27 13:48:50 +03:00
Dorel Luca fa5250719f Merge mozilla-inbound to mozilla-central. a=merge 2018-07-27 13:19:26 +03:00
Andreas Tolfsen 7f05f910e9 Bug 1476263 - Suggest to create mozconfig if it does not exist. r=gps
A frequent question when mentoring new contributors is what "your
mozconfig file" is.  By suggesting to create the file if it does
not exist, we can hopefully alleviate some new contributor frustration.

This change does unfortunately not take into account that the
mozconfig file can be named .mozconfig or even be in a designated
location defined by the MOZCONFIG environment variable, but it
seems reasonable to assume that developers who already know about
those alternatives will know which file to edit, and that what we
should optimise for during the bootstrapping process is to get new
contributors up and running quickly.
2018-07-27 11:15:16 +01:00
Ursula Sarracini 2e6b296592 Bug 1474414 - Move most of browser/extensions/activity-stream to browser/components/newtab r=Mardak
MozReview-Commit-ID: GnMIh1n4d3c
2018-07-26 20:50:49 -07:00
Csoregi Natalia f1a56b4743 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-27 01:02:37 +03:00
Axel Hecht bf74fc3c96 bug 1478343, update existing fluent migrations to 0.6 AST, r=stas
MozReview-Commit-ID: 2XRhie0TN9R
2018-07-25 16:49:30 +02:00
David Major bb6a923e1a Bug 1477744 - Re-enable -Werror in clang-cl for Spidermonkey. r=froydnj 2018-07-26 16:14:27 -04:00
Aniket Kadam 44072233d0 Bug 1460355 - Fix: Change how the packages are sent to the sdkmanager to install, avoid missing argument. r=nalexander
The argument --package_file was removed in the latest sdkmanager by Google's Android. But the docs for it say
packages can also be sent by putting them in quotes and calling the sdk manager with them as individual args.
So now instead of sending the file directly with the --package_file argument, the package names are read from
the file and the sdk manager is called with them as individual args.
Historically this has been thought of as a bug that happens with the wrong version of the JDK, but this can be
reproduced with just java 1.8.0_181 and the most up to date version of sdkmanager currently 26.1.1
Important note, the mach bootstrap command downloads an older version of the sdk and this bug is not present in
the older version.
Since the way of updating packages I'm proposiing to use is backwards compatible, there shouldn't be any problem
in any version of the sdkamanger.
This is a simpler fix than trying the --package_file argument, particularly because it would involve capturing
output (to detect this particular bug) that's also supposed to be shown to the user because this also happens
when the user is supposed to be interacting with the install.

MozReview-Commit-ID: L7VhCVKJNIf
***
Formatting changes to satisfy the linter.
2018-07-24 20:06:21 +05:30
Sofia Carrillo b6befd12c5 Bug 1474442 - mach command to analyze files in build graph r=chmanchester,mshal
This patch introduces |mach summarize| so developers can see how expensive
changing a file will be. For a file in the build graph, developers can get
the total wall clock time for the file and the number of downstream commands.
This command requires that developers have a local tup db.

MozReview-Commit-ID: AWxrMibXH4r
2018-07-25 14:06:51 -04:00
Gurzau Raul baa96ee9b1 Backed out changeset 357206a19974 (bug 1474414) for build bustage at mozbuild/test/codecoverage/test_lcov_rewrite.py on a CLOSED TREE 2018-07-27 00:30:29 +03:00
Ursula Sarracini 3203f6e02b Bug 1474414 - Move most of browser/extensions/activity-stream to browser/components/newtab r=Mardak
MozReview-Commit-ID: GnMIh1n4d3c
2018-07-26 16:24:06 -04:00
Chris Manchester d4c7b948f8 Bug 1478557 - Use the command string rather than output list as a key for cargo commands in the tup backend. r=mshal
MozReview-Commit-ID: B8FtvHScXon
2018-07-25 22:51:54 -07:00
Aaron Klotz 1978f3a9e1 Bug 1473423: Allow test symbols to be included in full symbol archive in try builds; r=ted
This patch moves the logic for include/exclude/compress from the makefile into
symbols_archive.py, and adds an additional check to the full-archive case to
allow the inclusion of test symbols in try builds.
2018-07-11 17:38:37 -06:00