Commit Graph

3492 Commits

Author SHA1 Message Date
Justin Wood
d2abc5343d Bug 1535393 - Fill in the correct MSI version number for release and ESR. r=mhowell,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D24994

--HG--
extra : moz-landing-system : lando
2019-03-27 17:10:58 +00:00
Noemi Erli
cfaf79673c Backed out changeset e5117d2f9311 (bug 1533051) for Android xpcshell failures CLOSED TREE 2019-03-28 01:33:00 +02:00
Nick Alexander
3dce09e76f Bug 1533051 - Package GeckoView prefs at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put preferences into
those architecture-specific locations for that code to find.

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

--HG--
extra : moz-landing-system : lando
2019-03-27 17:35:26 +00:00
Noemi Erli
6269026d4e Backed out 4 changesets (bug 1526072) for causing build bustages in test_clobber.py CLOSED TREE
Backed out changeset d3d56eca307f (bug 1526072)
Backed out changeset 37942b0f911b (bug 1526072)
Backed out changeset a0eb0f43c928 (bug 1526072)
Backed out changeset c1d1576431d7 (bug 1526072)
2019-03-27 22:51:22 +02:00
Chris Manchester
68be120a7f Bug 1526072 - Record cpu utilization and clobber/full builds in build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22630

--HG--
extra : moz-landing-system : lando
2019-03-18 20:36:54 +00:00
Chris Manchester
54d1b1be36 Bug 1526072 - Add cpu utilization and clobber fields to build telemetry schema. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22629

--HG--
extra : moz-landing-system : lando
2019-03-18 20:36:54 +00:00
Chris Manchester
81847eca09 Bug 1526072 - Avoid trailing spaces when generating the schema for build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22628

--HG--
extra : moz-landing-system : lando
2019-03-18 20:36:54 +00:00
Andi-Bogdan Postelnicu
c75ef505b7 Bug 1538107 - Improve the error reporting "./mach static-analysis autotest" r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D24913

--HG--
extra : moz-landing-system : lando
2019-03-27 07:53:50 +00:00
Geoff Brown
8e20f2334b Bug 1534858 - Include minidumpwriter.exe in windows artifacts; r=chmanchester
Test automation code assumes crashinject.exe is available on Win32:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/build/automation.py.in#356
and minidumpwriter.exe on Windows when there is a 32/64 bit mismatch between python and the application build:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/testing/mozbase/mozcrash/mozcrash/mozcrash.py#428
so I think these should be available for Windows tests, and I suspect they have only been left out accidentally.

I will file a new bug to get minidumpwriter working on aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 21:51:51 +00:00
Mike Hommey
25dbad7cb2 Bug 1536307 - Bump libstdc++ requirement to 4.7. r=froydnj
Last time we updated the requirements was in bug 1278456, after we
switched to GTK+3.

While it might be worth checking what would be a reasonable requirement,
the immediate problem is that updating ANGLE hits a snag with a
libstdc++ 4.7 symbol, and the only main distro release that bumping to
that version would make us not support anymore is Ubuntu 12.04 LTS,
EOLed 2 years ago (April 2017).

Bumping to some even newer version would need more consideration.
Desupporting Ubuntu 12.04 LTS at this point is almost a no-brainer.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:40:25 +00:00
Bastien Abadie
51d9cea5cd Bug 1536839 - Add json formatter to ./mach clang-format, r=ahal,marco
Depends on D24193

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

--HG--
extra : moz-landing-system : lando
2019-03-25 15:02:44 +00:00
Ciure Andrei
e5b7cf51de Backed out changeset d12b8cd1cee8 (bug 1534858) for causing diff build bustages CLOSED TREE 2019-03-22 15:17:30 +02:00
Geoff Brown
69c7301fc1 Bug 1534858 - Include crashinject.exe and minidumpwriter.exe in windows artifacts; r=chmanchester
Test automation code assumes crashinject.exe is available on Win32:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/build/automation.py.in#356
and minidumpwriter.exe on Windows when there is a 32/64 bit mismatch between python and the application build:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/testing/mozbase/mozcrash/mozcrash/mozcrash.py#428
so I think these should be available for Windows tests, and I suspect they have only been left out accidentally.

I will file a new bug to get minidumpwriter working on aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 22:12:52 +00:00
Mike Hommey
632127ba32 Bug 1521734 - Use thumbv7neon rust targets when stars align. r=chmanchester
Newer versions of rust come with a specialized arm target that matches
more closely our armv7 targets (with neon and thumb2), so use that when
possible.

Depends on D24324

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:36:49 +00:00
Mike Hommey
17fde3dc29 Bug 1521734 - Refresh rust target list in toolchain configure test. r=chmanchester
Depends on D24323

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:36:22 +00:00
Tooru Fujisawa
304507c2d0 Bug 1535981 - Throw error with more information when there is no public revision while building artifact mode. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D23819

--HG--
extra : moz-landing-system : lando
2019-03-21 22:12:20 +00:00
Jason Kratzer
bf070137cd Bug 1513071 - Include CSS2Properties.webidl in generated-files required by DOM fuzzer. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D22356

--HG--
extra : moz-landing-system : lando
2019-03-06 18:56:48 +00:00
Bastien Abadie
9ca2ba47f7 Bug 1536763 - Support more than 100 files in ./mach static-analysis check, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D24151

--HG--
extra : moz-landing-system : lando
2019-03-20 13:03:13 +00:00
Bastien Abadie
ca516956bc Bug 1535355 - Add --output & --format=json|text to ./mach static-analysis check, r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D23523

--HG--
extra : moz-landing-system : lando
2019-03-19 18:26:50 +00:00
Bastien Abadie
bd81147042 Bug 1535355 - Add --output option to ./mach clang-format, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23522

--HG--
extra : moz-landing-system : lando
2019-03-19 20:33:39 +00:00
Thomas Daede
eed1f33ab9 Bug 1533559 - Update libdav1d to 0.2.1. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D23761

--HG--
rename : media/libdav1d/version.h => media/libdav1d/vcs_version.h
rename : third_party/dav1d/include/meson.build => third_party/dav1d/include/dav1d/meson.build
rename : third_party/dav1d/src/obu.h => third_party/dav1d/include/dav1d/version.h.in
rename : third_party/dav1d/include/version.h.in => third_party/dav1d/include/vcs_version.h.in
rename : third_party/dav1d/src/thread_task.h => third_party/dav1d/src/log.c
rename : third_party/dav1d/src/cpu.h => third_party/dav1d/src/log.h
extra : moz-landing-system : lando
2019-03-19 17:35:09 +00:00
Sylvestre Ledru
ab23ebfb0e Bug 1535948 - Fix the indentation: the code wasn't executed r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D24035

--HG--
extra : moz-landing-system : lando
2019-03-19 16:02:05 +00:00
Coroiu Cristina
9df7619fc3 Merge mozilla-central to autoland a=merge 2019-03-16 23:56:14 +02:00
Alvaro Serero
a3ce49b1f5 Bug 1529504 - Fix two flake8 warnings in static analysis (mach_commands.py) r=sylvestre
--HG--
extra : amend_source : 16f845e4b3f2e706fc2904c7f61ab32a434ba0ef
2019-03-16 11:53:50 +01:00
Mike Hommey
c7e738d69d Bug 1535501 - Allow to get full crashreporter symbols on artifact builds. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D23605

--HG--
extra : moz-landing-system : lando
2019-03-15 21:56:14 +00:00
Mike Hommey
90c2c15343 Bug 1534522 - Allow to specify different task ids for artifacts. r=dmajor
Bug 1528123 added a way to specify a task id to influence mach
artifact. In the case of upcoming EME-enabled win64-aarch64 builds, we
need to be able to specify two different task ids, which a single
environment variable doesn't really allow.

So extend the scheme to check environment variables with the build
type included in the variable name.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 23:08:06 +00:00
Benjamin Bouvier
906829913d Bug 1534630: Slightly optimize scheduling of clang-format jobs; r=andi
Instead of over-estimating the number of items in a batch, do the opposite:
slightly under-estimate the number of items, then dispatch outstanding items
(by just adding one item to each batch).

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

--HG--
extra : moz-landing-system : lando
2019-03-12 16:30:12 +00:00
Aki Sasaki
92cf5ecd6a Bug 1534506 - download chain-of-trust.json instead of chainOfTrust.json.asc r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23081

--HG--
extra : moz-landing-system : lando
2019-03-12 04:53:57 +00:00
Andi-Bogdan Postelnicu
dc4907ab25 Bug 1529691 - use futures in order to process in parallel clang-format. r=bbouvier
Parts of this patch were taken from the original work of :bbouvier in Bug 1521772.
We needed to revert Bug 1521772 since it broken Windows compatibility.

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

--HG--
extra : moz-landing-system : lando
2019-03-12 18:58:46 +00:00
Nathan Froyd
2f1020dc41 Bug 1533149 - add checking messages for libstdcxx_version; r=glandium
It's occasionally useful to know what versions are being discovered for
these variables.  It's also convenient for logs from automation to
contain all the relevant information, rather than setting up a loaner
and running all the commands yourself.

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

--HG--
extra : moz-landing-system : lando
2019-03-10 00:11:09 +00:00
Mike Hommey
baba0e3cec Bug 1529894 - Change jar log content. r=aklotz,chmanchester
The jar log is used for optimization of the packaged jar files according
to their usage patterns during a profile run. The current content of the
file currently come with 2 caveats:
- it contains entries for jar archives that aren't relevant to
  packaging, which is not a problem in itself, but see below.
- it contains full paths for jar archives that may not correspond to the
  location of the packaged directory (on e.g. Android, where the build
  almost certainly doesn't happen in the same directory on the host as
  Fennec runs in the emulator/on the device).

The current JarLog code does somehow handle the various ways paths are
currently presented, but it's clearly missing code to map the paths in
the log to packaged paths. Instead of requiring manual work and extra
build options to handle this mapping, and considering the caveats above,
it's just simpler to log archive paths as if they were relative to the
packaged application directory in a build, and use that during
packaging.

Depends on D21655

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

--HG--
extra : moz-landing-system : lando
2019-03-07 20:46:52 +00:00
Mike Hommey
dae76481a6 Bug 1530908 - Move list of supported artifact builds to an importable module. r=chmanchester
Depends on D22054

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

--HG--
extra : moz-landing-system : lando
2019-03-06 22:47:32 +00:00
Gurzau Raul
fe771d472a Backed out 4 changesets (bug 1529894) for xperf failures on a CLOSED TREE.
Backed out changeset d31f88692394 (bug 1529894)
Backed out changeset e2d7b59776a2 (bug 1529894)
Backed out changeset 3c37fd9d30d5 (bug 1529894)
Backed out changeset e93f4871731b (bug 1529894)

--HG--
extra : rebase_source : ae317f856e08d09ec655cb7b7a87c120f3c626a5
2019-03-06 13:06:13 +02:00
Gurzau Raul
d7094fba48 Bug 1529894 - Fix more flake failures on a CLOSED TREE. 2019-03-06 09:35:59 +02:00
Gurzau Raul
7dc522fa55 Bug 1529894 - fix flake failure on a CLOSED TREE. 2019-03-06 09:14:00 +02:00
Mike Hommey
bef82f111d Bug 1529894 - Change jar log content. r=aklotz,chmanchester
The jar log is used for optimization of the packaged jar files according
to their usage patterns during a profile run. The current content of the
file currently come with 2 caveats:
- it contains entries for jar archives that aren't relevant to
  packaging, which is not a problem in itself, but see below.
- it contains full paths for jar archives that may not correspond to the
  location of the packaged directory (on e.g. Android, where the build
  almost certainly doesn't happen in the same directory on the host as
  Fennec runs in the emulator/on the device).

The current JarLog code does somehow handle the various ways paths are
currently presented, but it's clearly missing code to map the paths in
the log to packaged paths. Instead of requiring manual work and extra
build options to handle this mapping, and considering the caveats above,
it's just simpler to log archive paths as if they were relative to the
packaged application directory in a build, and use that during
packaging.

Depends on D21655

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

--HG--
extra : moz-landing-system : lando
2019-03-06 01:18:10 +00:00
Jason Laster
90414405ea Revert "Backed out changeset 7f51bc3757d9 (bug 1497839) for ESlint failure at build-debugger.js. CLOSED TREE"
This reverts commit 2b1fea9435191242f8aadc04da3ed1b0e0d99b02.

Bug 1497839 - fix eslint issues for babel build. r=jlast

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

--HG--
rename : devtools/client/debugger/new/build/babel.js => devtools/client/shared/build/babel.js
rename : devtools/client/debugger/new/build/copy-module.js => devtools/client/shared/build/build-debugger.js
extra : moz-landing-system : lando
2019-03-06 05:10:25 +00:00
Brindusan Cristian
c11291ea12 Backed out changeset 7f51bc3757d9 (bug 1497839) for ESlint failure at build-debugger.js. CLOSED TREE
--HG--
rename : devtools/client/shared/build/babel.js => devtools/client/debugger/new/build/babel.js
rename : devtools/client/shared/build/build-debugger.js => devtools/client/debugger/new/build/copy-module.js
extra : histedit_source : a4f0d58045b176391d54c3aff09072a67f80cafc
2019-03-06 06:46:38 +02:00
David Walsh
4222a51e78 Bug 1497839 - Provide method for NetMonitor to use JSX r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D20888

--HG--
rename : devtools/client/debugger/new/build/babel.js => devtools/client/shared/build/babel.js
rename : devtools/client/debugger/new/build/copy-module.js => devtools/client/shared/build/build-debugger.js
extra : moz-landing-system : lando
2019-03-06 03:12:49 +00:00
kerlyn
0f9d749554 Bug 1523835 - Added python/mozbuild/mozpack to the flake8 linter and solved the errors, r=ahal
Before this change linting python/mozbuild brought about many errors. Some of this errors could be fixed using |mach lint --fix|. The remaining errors where fixed in this bug.

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

--HG--
extra : rebase_source : 8bd3d622d2221b981f08b8a080c1198b002cdc49
extra : amend_source : 3f6a70c1b7104a7c2d83e11fe911942771e331ea
2019-03-01 15:36:45 -05:00
Mike Hommey
6bfaa82f51 Bug 1531634 - Change how OMNIJAR_NAME is handled for fennec builds. r=nalexander
Fennec has a value of OMNIJAR_NAME that contains a directory, contrary
to other platforms, and relies in post-packaging, pre-unpacking steps to
accommodate with the difference.

With this change, we just make the packaging and unpacking steps aware
of this setup, and make allow them to pack/unpack resources in foo/
under foo/$OMNIJAR_NAME, whether $OMNIJAR_NAME is a file name or a path.

This will, further down the road, allow the packager code to handle jar
logs from PGO instrumentation without munging them.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 21:49:47 +00:00
Mike Shal
f63b51acd7 Bug 1525474 - Disallow filenames in LOCAL_INCLUDES; r=nalexander
The underlying backends only support directories in LOCAL_INCLUDES
(since these ultimately translate to -I arguments to the compiler). We
should disallow filenames here, in case a developer accidentally
specifies a header file instead of a directory.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 17:51:42 +00:00
Thomas Daede
7aecfc00e9 Bug 1529305 - Emit cv8 debug info with nasm even on mingw. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D21437

--HG--
extra : moz-landing-system : lando
2019-02-28 00:42:34 +00:00
Cosmin Sabou
6b5e2116b0 Merge autoland to mozilla-central. a=merge 2019-02-28 12:54:11 +02:00
Daniel Varga
e91fc4acc1 Merge autoland to mozilla-central. a=merge 2019-02-27 18:29:22 +02:00
Daniel Varga
e417e61290 Backed out changeset b59977d42a4d (bug 1521772) requested by Andi. a=backout 2019-02-27 18:27:08 +02:00
Mike Hommey
3f0f49376d Bug 1529799 - Prevent recursive resolution of options during imply_option. r=chmanchester
In cases like those in the added unit test, explicit options on the
command line could end up being silently ignored. So instead of that happening,
error out. Unfortunately, the error message is not entirely accurate,
but it's better than nothing. It's rare anyways (I only stumbled upon it
because I was trying to do something fishy), and correlation between the
error message and the corresponding changes should make it clear what's
going on.

Depends on D20822

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:05:24 +00:00
Mike Hommey
76ac8faa23 Bug 1529799 - Handle dependency loops involving imply_option more gracefully. r=chmanchester
Currently, when a dependency loop involve imply_option, it is possible
to end up with an error message saying the implied option is unknown,
when it fact it is. So instead of bailing out with a weird error
message, try to make things work (if the implied value is not different
from what's known), or bail with a more accurate message.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 22:05:40 +00:00
Mike Hommey
c7022eb656 Bug 1530587 - Don't optimize jars without preloading/reordering data. r=chmanchester
Optimizing jars without preloading/reordering data only moves the
jar central directory to the beginning of the file, which, without
preloading information, is not very useful. Let's just stop doing it if
there's not going to be preloading/reordering information at all.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 01:26:46 +00:00
Kartikaya Gupta
bb22600a64 Bug 1530016 - Drop bogus entries from the generated-sources tarball. r=froydnj
On Android we apparently try to include the cpufeatures.c file from the
NDK as part of the generated-sources tarball. While this works, it makes
tar drop the bogus entry for safety reasons when unpacking the archive.
It also makes tar return an error, which is undesirable for searchfox.
It's better to just skip the entry when building the tarball.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:45:27 +00:00