Commit Graph

4025 Commits

Author SHA1 Message Date
Mike Hommey
6e478e8f7f Bug 1609596 - Add a grid to graphs. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60112

--HG--
extra : moz-landing-system : lando
2020-01-16 14:37:19 +00:00
Mike Hommey
ea6a3db241 Bug 1609596 - Add a memory graph to resource usage report. r=froydnj
The original code had unfinished code to switch between different
categories, but I found it more useful to be able to see both CPU and
memory at the same time.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 02:20:18 +00:00
Mike Hommey
1dd6f3a6d1 Bug 1609596 - Move the tiers timeline to a separate div. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60110

--HG--
extra : moz-landing-system : lando
2020-01-16 14:35:15 +00:00
Mike Shal
32d48b4e47 Bug 1604621 - Remove HAS_MISC_RULE; r=firefox-build-system-reviewers,chmanchester
Two of these no longer have any misc:: rules associated with them, and
can be removed outright.

The remaining misc:: rule in toolkit/components/telemetry is already
traversed because it contains EXTRA_COMPONENTS, which are processed
during misc in the RecursiveMake backend. So we can remove HAS_MISC_RULE
entirely even though we still have a custom misc rule to process addons
(until bug 988938 is fixed).

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

--HG--
extra : moz-landing-system : lando
2020-01-16 20:27:09 +00:00
Ricky Stewart
d8ec07b648 Bug 1607204 - Invalid command line in compile_commands.json r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59219

--HG--
extra : moz-landing-system : lando
2020-01-16 14:59:28 +00:00
Gabriele Svelto
96a70684f4 Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-16 14:14:13 +00:00
Shane Caraveo
8351044ded Bug 1524327 remove MOZ_ALLOW_LEGACY_EXTENSIONS and extensions.legacy.enabled r=zombie,aswan
Legacy extensions are no longer loaded, so we can drop the build config for it.  We
still need flags for handling experimental APIs since what we require differs between builds
and distributions.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 21:38:40 +00:00
Axel Hecht
c32c2767c5 Bug 1607470, unset __PYVENV_LAUNCHER__ for virtualenvs, r=firefox-build-system-reviewers,rstewart
The __PYVENV_LAUNCHER__ is set on macos to indicate which
python to use. Sadly, keeping this set confuses pip in
virtualenvs.
This corresponds to https://github.com/python/cpython/pull/9516.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 23:06:54 +00:00
Masatoshi Kimura
b5dabfcd52 Bug 1608091 - Stop creating unicode environ in gyp_reader.py. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D59325

--HG--
extra : moz-landing-system : lando
2020-01-14 15:49:09 +00:00
Csoregi Natalia
57eb78c63c Backed out changeset 5d0b75e5f795 (bug 1588538) for DUMP_SYMS bustage. CLOSED TREE 2020-01-14 13:53:54 +02:00
Gabriele Svelto
e62e144c3c Bug 1588538 - Use the new Windows dump_syms tool to dump symbols in local builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D57094

--HG--
extra : moz-landing-system : lando
2020-01-14 10:08:52 +00:00
Ricky Stewart
39e4717ac8 Bug 1607512 - mozbuild/test/configure/test_checks_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58970

--HG--
extra : moz-landing-system : lando
2020-01-10 21:05:03 +00:00
Ricky Stewart
e8aaf28d20 Bug 1607503 - mozbuild/test/configure/test_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58969

--HG--
extra : moz-landing-system : lando
2020-01-10 21:04:14 +00:00
Ricky Stewart
6c9da3c6a2 Bug 1607345 - mozbuild/configure/options.py supports Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58867

--HG--
extra : moz-landing-system : lando
2020-01-10 21:04:16 +00:00
Ricky Stewart
6a7f736bdb Bug 1607284 - mozbuild/configure/util.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58834

--HG--
extra : moz-landing-system : lando
2020-01-10 22:09:56 +00:00
Andrew Halberstadt
2fd209f77e Bug 1563797 - Use 'backports.shutil_which' instead of 'which' in configure r=glandium
This gets rid of the last use of the 'which' module left in the tree. So not
only will this help 'configure' become a little more Python 3 compatible, but
we can now remove 'third_party/python/which'.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 21:04:10 +00:00
Coroiu Cristina
c9e1368a0f Backed out 5 changesets (bug 1607345, bug 1607284, bug 1607512, bug 1563797, bug 1607503) for flake8 failure at python/mozbuild/mozbuild/configure/__init__.py on a CLOSED TREE
Backed out changeset 8dab339bab78 (bug 1607512)
Backed out changeset 1c5880c1c459 (bug 1607503)
Backed out changeset 42a69c5056b0 (bug 1607345)
Backed out changeset 431cb34ec6b0 (bug 1607284)
Backed out changeset 9837631a9c71 (bug 1563797)
2020-01-10 22:59:13 +02:00
Ricky Stewart
54449c6d0e Bug 1607512 - mozbuild/test/configure/test_checks_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58970

--HG--
extra : moz-landing-system : lando
2020-01-08 16:14:03 +00:00
Ricky Stewart
658b39b268 Bug 1607503 - mozbuild/test/configure/test_configure.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58969

--HG--
extra : moz-landing-system : lando
2020-01-08 15:51:18 +00:00
Ricky Stewart
0e8cc6812c Bug 1607345 - mozbuild/configure/options.py supports Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58867

--HG--
extra : moz-landing-system : lando
2020-01-07 18:30:34 +00:00
Ricky Stewart
39953e00e6 Bug 1607284 - mozbuild/configure/util.py supports Python 3 r=ahal,mars
Differential Revision: https://phabricator.services.mozilla.com/D58834

--HG--
extra : moz-landing-system : lando
2020-01-08 16:17:58 +00:00
Andrew Halberstadt
ab88ef1f24 Bug 1563797 - Use 'backports.shutil_which' instead of 'which' in configure r=glandium
This gets rid of the last use of the 'which' module left in the tree. So not
only will this help 'configure' become a little more Python 3 compatible, but
we can now remove 'third_party/python/which'.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 07:09:06 +00:00
Andi-Bogdan Postelnicu
b85bad52aa Bug 1605879 - for clang-tidy based static-analysis pass the files for analysis in chuncks. r=sylvestre
Since we have a limit of the number of arguments length that the shell can support we have to
pass the files for the analysis to `run-clang-tidy.py` in chuncks, calculated in proportion
to the number or logical cpu cores.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 10:28:20 +00:00
Ricky Stewart
fe95d91222 Bug 1606124 - mozbuild/util.py supports Python 3 r=mars
Many of the utility classes very heavily rely on multiple inheritance which is broadly unncessary and made debugging difficult, so I ripped it out wherever it was necessary. The indented_repr() function is also more or less a re-implementation of pprint, so to support Python 3 I've instead made it a small wrapper around pprint. (This results in the output of the function being slightly different than we're used to, as pprint does sorting/indentation/line breaking differently than indented_repr() currently does, but it'll be nice to not have to maintain this code that is slightly different than pprint for no real reason.)

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

--HG--
extra : moz-landing-system : lando
2020-01-08 16:08:15 +00:00
Ricky Stewart
bc8b6c3f8d Bug 1606692 - Scripts in python/mozbuild/mozbuild/controller support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58546

--HG--
extra : moz-landing-system : lando
2020-01-02 19:14:29 +00:00
Ricky Stewart
7d68d2a54a Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57908

--HG--
extra : moz-landing-system : lando
2020-01-02 17:27:48 +00:00
James Graham
512caca24e Bug 1605381 - Schedule wpt crashtests in CI, r=ahal
This is a new test type identified by --test-type=crashtest

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

--HG--
extra : moz-landing-system : lando
2020-01-02 17:13:54 +00:00
Ricky Stewart
1a6323e3aa Bug 1606504 - mozbuild/artifact_cache.py and mozbuild/dotproperties.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58471

--HG--
extra : moz-landing-system : lando
2020-01-02 16:38:25 +00:00
Ricky Stewart
6d2c8f49cf Bug 1606490 - /mozbuild/test/test_containers.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58462

--HG--
extra : moz-landing-system : lando
2020-01-02 16:38:25 +00:00
Ricky Stewart
3527413fa7 Bug 1606462 - mozbuild/jar.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58446

--HG--
extra : moz-landing-system : lando
2020-01-01 00:16:01 +00:00
Sylvestre Ledru
298a3a26a6 Bug 1605852 - Run clang-tidy with C++17 support r=andi
Differential Revision: https://phabricator.services.mozilla.com/D58190

--HG--
extra : moz-landing-system : lando
2020-01-02 13:56:31 +00:00
Bogdan Tara
34fdeae60f Merge autoland to mozilla-central. a=merge 2020-01-01 23:47:55 +02:00
Sylvestre Ledru
1c2732b6aa Bug 1606541 - Fix a too agressive replace r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58490

--HG--
extra : moz-landing-system : lando
2020-01-01 19:06:14 +00:00
Sylvestre Ledru
b6a14cf6c2 Bug 1606541 - Add "error:" in case of error to facilitate the search and be more consistent r=andi
Differential Revision: https://phabricator.services.mozilla.com/D58484

--HG--
extra : moz-landing-system : lando
2020-01-01 14:57:50 +00:00
Ciure Andrei
b23acd28e8 Backed out changeset fe3a47b458ad (bug 1605264) for causing build bustages on central a=backout 2020-01-01 13:00:37 +02:00
Ricky Stewart
13365ed474 Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57908

--HG--
extra : moz-landing-system : lando
2019-12-31 21:19:33 +00:00
Mihai Alexandru Michis
cf4c87e366 Backed out changeset 2e68d872fa50 (bug 1605264) for causing bustages in mozapps/installer/packager.mk
CLOSED TREE
2019-12-31 21:54:25 +02:00
Ricky Stewart
024cc29999 Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D57908

--HG--
extra : moz-landing-system : lando
2019-12-31 19:00:03 +00:00
Ricky Stewart
7c9506eeb4 Bug 1606340 - mozbuild/test/test_line_endings.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58394

--HG--
extra : moz-landing-system : lando
2019-12-31 15:34:57 +00:00
Ricky Stewart
381aaed084 Bug 1606336 - mozbuild/mozinfo.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58381

--HG--
extra : moz-landing-system : lando
2019-12-30 22:50:19 +00:00
Ricky Stewart
f82289148a Bug 1606160 - mozbuild/base.py and mozbuild/mozconfig.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58323

--HG--
extra : moz-landing-system : lando
2019-12-31 15:30:10 +00:00
Geoff Lankow
c16253f7e0 Bug 1605030 - Remove mozmill infrastructure from the tree r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D58105

--HG--
extra : moz-landing-system : lando
2019-12-31 09:09:26 +00:00
Ricky Stewart
c84ceb4edf Bug 1606008 - mach build-backend takes a long time to recursively list all files called "config.status" r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D58314

--HG--
extra : moz-landing-system : lando
2019-12-30 18:38:46 +00:00
Nathan Froyd
2408890a7d Bug 1605537 - remove coverage and warning flags from wasm flags; r=firefox-build-system-reviewers,rstewart
Warning flags might have been generated for a different compiler, so we
can't use them here.  The same argument applies to coverage flags.

Depends on D58070

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

--HG--
extra : moz-landing-system : lando
2019-12-23 16:49:14 +00:00
Nathan Froyd
6005490cac Bug 1605537 - override optimization settings for wasm compilation; r=firefox-build-system-reviewers,rstewart
The optimization flags that may have been chosen for our target compiler
are not necessarily appropriate for our wasm compiler.

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

--HG--
extra : moz-landing-system : lando
2019-12-23 16:49:32 +00:00
Andrew Halberstadt
b9e9d2e942 Bug 1603844 - Remove ability to 'install-to-subdir' from test objects, r=firefox-build-system-reviewers,rstewart
There was only a single use of 'install-to-subdir' in all our manifests (which
was removed in the previous commit). All the comments around it suggest that it
was a giant hack. Removing it cleans up a lot of complexity and saves me the
trouble of needing to support it in the new sourcedir based TestResolver.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 16:48:00 +00:00
Mike Shal
97bd574229 Bug 1601777 - Check if any build backend is out of date; r=froydnj
By default we create both the RecursiveMake and FasterMake backends, but
building.py is only checking if the RecursiveMake backend is out of date
to decide if the backend needs to be updated. Since the FasterMake
backend may have different input files, we also need to check if that's
out of date, otherwise renaming certain files can cause './mach build
faster' to break.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 17:49:26 +00:00
Nathan Froyd
6476df37aa Bug 1605215 - apply shared library naming conventions to wasm sandboxed libraries; r=firefox-build-system-reviewers,rstewart
Because that's what they really are under the hood.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 22:20:44 +00:00
Edwin Takahashi
691d57b5ad Bug 1581016 - mozpack/copier.py and mozpack/test_copier.py supports python3 r=glandium,rstewart
Change import order.

Enable python3 testing for `test_copier.py`.

In the test methods, ensure the returned file names are decoded as UTF-8 by default.

In the test methods, check for byte-string by default; in python2, this would be treated like the standard string.

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

--HG--
extra : moz-landing-system : lando
2019-12-19 22:00:39 +00:00
Razvan Maries
eef36cc7e7 Backed out 2 changesets (bug 1605215) for perma fails on test_emitter.py. CLOSED TREE
Backed out changeset 2e26df04968e (bug 1605215)
Backed out changeset de5881f3d6ce (bug 1605215)
2019-12-19 23:36:43 +02:00