Commit Graph

4135 Commits

Author SHA1 Message Date
Ricky Stewart
4b8061d7cf Bug 1616989 - mozbuild/frontend/reader.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63566

--HG--
extra : moz-landing-system : lando
2020-02-26 00:35:49 +00:00
Ricky Stewart
62664cd855 Bug 1616920 - mozbuild/frontend/sandbox.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63538

--HG--
extra : moz-landing-system : lando
2020-02-26 16:43:17 +00:00
Ricky Stewart
b0dc933fe5 Bug 1616885 - mozbuild/frontend/context.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63520

--HG--
extra : moz-landing-system : lando
2020-02-26 00:41:07 +00:00
Andi-Bogdan Postelnicu
7120bcdd99 Bug 1583999 - Use non-unified sources in CompileDB. r=jwatt
Originally authored in part by Botond Ballo <botond@mozilla.com>.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 15:08:49 +00:00
Brindusan Cristian
298fec1282 Backed out changeset e343d3722e84 (bug 1583999) as requested by Andi on slack for landing with the wrong author name. CLOSED TREE 2020-02-26 17:05:12 +02:00
Botond Ballo
d670a75ef4 Bug 1583999 - Use non-unified sources in CompileDB. r=jwatt
Originally authored by Botond Ballo <botond@mozilla.com>.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 13:27:37 +00:00
Mike Hommey
356b8e5725 Bug 1617801 - Add UPX as an explicit dependency. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64008

--HG--
extra : moz-landing-system : lando
2020-02-26 04:00:01 +00:00
Noemi Erli
62198d5223 Backed out changeset 2d2e184a0ae9 (bug 1617801) for causing Windows bustages CLOSED TREE 2020-02-26 05:10:40 +02:00
Mike Hommey
117ea52648 Bug 1617801 - Add UPX as an explicit dependency. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D64008

--HG--
extra : moz-landing-system : lando
2020-02-25 14:13:27 +00:00
Dorel Luca
94b3e8222d Backed out changeset b576251c3862 for tooltool related failures. CLOSED TREE 2020-02-25 00:10:00 +02:00
Ben Hearsum
8ab729edc1 No bug: Import latest tooltool client. r=jgraham,rail
Differential Revision: https://phabricator.services.mozilla.com/D63870

--HG--
extra : moz-landing-system : lando
2020-02-24 19:35:30 +00:00
Jonathan Watt
d0eeb047d5 Bug 1617389. When generating compile_commands.json, insert -ferror-limit before the file name. r=botond
This makes it easier to see the name of the file in the "command" field.

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

--HG--
extra : moz-landing-system : lando
2020-02-22 21:35:10 +00:00
Nathan Froyd
284f79cb5f Bug 1617172 - copy extra libraries for Mac artifact builds; r=nalexander
The motivating change here was wpt-sync try pushes failing because
`libgraphitewasm.dylib` wasn't getting packaged in Mac artifact builds.
We add `libosclientcerts.dylib` because packaging was complaining about
that library as well.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 21:34:58 +00:00
Mike Shal
6046e59875 Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

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

--HG--
extra : moz-landing-system : lando
2020-02-21 00:05:04 +00:00
Csoregi Natalia
6360b24e80 Backed out 2 changesets (bug 1616630) for Android bustage. CLOSED TREE
Backed out changeset 15016546c954 (bug 1616630)
Backed out changeset dcb7dc51633b (bug 1616630)
2020-02-20 21:24:11 +02:00
Steve Fink
6c335b53f8 Bug 1614518 - Implement mach hazards command set for running the GC rooting hazard analysis. r=ahal,jonco,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62384

--HG--
extra : moz-landing-system : lando
2020-02-20 18:27:50 +00:00
Steve Fink
fb0884a86b Bug 1614518 - Make warnings.py py3-compatible r=ahal,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62382

--HG--
extra : moz-landing-system : lando
2020-02-20 18:33:10 +00:00
Mike Shal
a9c693112c Bug 1616630 - Add PYTHON3 to fastermake variables; r=firefox-build-system-reviewers,rstewart
Without PYTHON3 defined, we can't actually run any GENERATED_FILES
scripts in the fastermake backend.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:22:38 +00:00
Ricky Stewart
8528d9c4dd Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-19 21:50:50 +00:00
Mike Shal
d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Nathan Froyd
017d4d5cdf Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:40:13 +00:00
Dan Mosedale
86c563adcd Bug 1547823 - Upgrade NodeJS from 8.x to 10.19.0 r=froydnj
NodeJS 8.x is End-of-Lifed and is no longer receiving security fixes.  10.19.0 is now the oldest Long Term Support version of NodeJS, and it has just been released with several HTTP security fixes.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 15:28:40 +00:00
Henrik Skupin
255a87c4a6 Bug 1573383 - [marionette] Remove firefox-puppeteer Python package. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D61687

--HG--
extra : moz-landing-system : lando
2020-02-13 19:50:42 +00:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal
ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Coroiu Cristina
9526bf7b4d Backed out 3 changesets (bug 1610149) for instr bustage on a CLOSED TREE
Backed out changeset b815d0a94385 (bug 1610149)
Backed out changeset dfca4a56fa51 (bug 1610149)
Backed out changeset 0568028bb4dd (bug 1610149)
2020-02-14 01:14:05 +02:00
Nathan Froyd
1457e227c7 Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:17:49 +00:00
Brindusan Cristian
e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Ricky Stewart
728d4108db Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-13 17:27:53 +00:00
Mike Shal
e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
shindli
b1e3726298 Backed out changeset 54f82c735487 (bug 1613263) for causing diff artifact bustages in generated-files.diff.txt CLOSED TREE 2020-02-13 03:51:15 +02:00
Ricky Stewart
3314dda593 Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-12 23:19:37 +00:00
Chris Manchester
90b8c7c6b2 Bug 1613823 - Serialize cargo invocations in the build system, prioritizing gecko. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61961

--HG--
extra : moz-landing-system : lando
2020-02-11 21:51:56 +00:00
Chris Manchester
17ba38bfc0 Bug 1613823 - Add a pairwise function based on itertools to mozbuild.util. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D62070

--HG--
extra : moz-landing-system : lando
2020-02-11 21:51:48 +00:00
Chris Manchester
5f7c85a15a Bug 1609595 - Add a way to request less parallelism in the build. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62103

--HG--
extra : moz-landing-system : lando
2020-02-10 16:16:57 +00:00
Ricky Stewart
d259591a1c Bug 1569059 - Run 'mach bootstrap' with Python 3 r=firefox-build-system-reviewers,mshal,Callek
Differential Revision: https://phabricator.services.mozilla.com/D60898

--HG--
extra : moz-landing-system : lando
2020-02-07 18:12:23 +00:00
Ricky Stewart
7aeb78e3fe Bug 1604667 - Handle case where relativesrcdir doesn't exist on Windows r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D59355

--HG--
extra : moz-landing-system : lando
2020-02-05 00:06:17 +00:00
Emilio Cobos Álvarez
00cd8ba131 Bug 1612856 - Make ./mach cargo check accept -v and -j flags. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61468

--HG--
extra : moz-landing-system : lando
2020-02-03 15:21:16 +00:00
Jonathan Watt
70e2feaa5a Bug 1612657. Make clangd process to the end of files regardless of number of errors. r=botond
This change adds `-ferror-limit=0` to the "command" lines in the
compile_commands.json file that's built by mach.

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

--HG--
extra : moz-landing-system : lando
2020-02-02 16:49:14 +00:00
Daniel Varga
3d8a78a06f Backed out changeset 6851f568b173 (bug 1611006) for causing nightly bustages a=backout 2020-01-31 03:30:45 +02:00
Ricky Stewart
a7d4a3dca0 Bug 1611465 - Remove references to cmp() function and __cmp__ method in mozbuild r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60995

--HG--
extra : moz-landing-system : lando
2020-01-30 13:15:24 +00:00
Ricky Stewart
ffbd93e65a Bug 1611002 - configure/test_toolkit_moz_configure.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60777

--HG--
extra : moz-landing-system : lando
2020-01-30 10:34:51 +00:00
Mike Shal
3fe87081bf Bug 1611006 - Convert python/mozbuild/mozbuild/test/action to python3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D60769

--HG--
extra : moz-landing-system : lando
2020-01-30 09:52:25 +00:00
Edwin Takahashi
220a3bd606 Bug 1611340 - run mach doctor with python3 r=Callek
Changes:

Build string using the `format()` instead of `%` and relocate the `expandtabs` call to not trigger a AttributeError exception.

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

--HG--
extra : moz-landing-system : lando
2020-01-25 03:05:42 +00:00
Edwin Takahashi
9a71b61495 Bug 1611352 - mozbuild/artifact_commands.py, and mozbuild/artifacts.py support Python 3 r=rstewart,firefox-build-system-reviewers
Changes:

Use compatibility layer provided by six for `iteritems` and `itervalues`.

Make `urlparse` import compatible with both 2/3.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 22:31:38 +00:00
Ricky Stewart
976f106d78 Bug 1607204 - Fix 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-24 21:06:15 +00:00
Ricky Stewart
232331fdb4 Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D60743

--HG--
extra : source : f5b4973be6dac983ff87add5d198f959de2cec78
extra : amend_source : 30b53ec7c0a22138d43d9c7e85c6e43c9dea84b1
2020-01-23 17:15:38 +00:00
Csoregi Natalia
17c7439f37 Backed out changeset 5ed03cb85dcf (bug 1611006) for nightly bustages. a=backout 2020-01-24 14:02:37 +02:00
Csoregi Natalia
c12e02a6be Backed out changeset f5b4973be6da (bug 1610944) for nightly bustages. a=backout 2020-01-24 13:40:32 +02:00
Mike Shal
44fdc88d8f Bug 1611006 - Convert python/mozbuild/mozbuild/test/action to python3; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D60769

--HG--
extra : moz-landing-system : lando
2020-01-23 23:10:21 +00:00
Ricky Stewart
e82e92605b Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60743

--HG--
extra : moz-landing-system : lando
2020-01-23 17:15:38 +00:00
Cosmin Sabou
7b76379364 Backed out changeset 7c2048122a9f (bug 1610944) for causing L10n bustages. 2020-01-23 07:21:28 +02:00
Ricky Stewart
3003ade6dd Bug 1610944 - configure/test_toolchain_configure.py and configure/test_toolchain_helpers.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D60743

--HG--
extra : moz-landing-system : lando
2020-01-22 23:46:36 +00:00
Ricky Stewart
a4e1b13e8a Bug 1609281 - Use the correct encoding when dumping the environment variables in mozconfig r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60026

--HG--
extra : moz-landing-system : lando
2020-01-22 14:34:47 +00:00
Chris Manchester
b2e7950b8e Bug 1610728 - Fix tooltip positioning for html build resource viewer. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D60626

--HG--
extra : moz-landing-system : lando
2020-01-22 13:30:42 +00:00
Andi-Bogdan Postelnicu
e871eaa405 Bug 1605850 - for static-analysis autotest don't allow running --intree-tool outside of automation. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D60646

--HG--
extra : moz-landing-system : lando
2020-01-22 10:18:06 +00:00
Ricky Stewart
27d06e3d50 Bug 1608880 - mozbuild/test/configure/test_compile_checks.py and mozbuild/test/configure/test_moz_configure.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D59757

--HG--
extra : moz-landing-system : lando
2020-01-21 23:51:28 +00:00
Ricky Stewart
0fa8a98bdb Bug 1524639: [taskgraph] Enforce unicode strings in schemas r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18376

--HG--
extra : moz-landing-system : lando
2020-01-21 17:12:08 +00:00
shindli
68d14ea795 Backed out changeset 25964226853a (bug 1607204) for causing bug 1610471 which crashes the reviewbot a=backout CLOSED TREE 2020-01-21 15:40:45 +02:00
Mike Hommey
62778417a2 Bug 1609862 - Display more detailed memory info in resource usage report. r=froydnj
Instead of showing percentages, show actual numbers for memory usage,
with caveats:
- On macOS, psutil doesn't seem to be getting anything that would sum up
to the total it reports, so we keep the "percent".
- While the sum of all the fields shown on Linux does sum up to the total,
the visible usage doesn't quite match what the "percent" look like for
the same dataset.
- On Windows, only "used" and "free" are available. They do sum up to
the total.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 13:25:23 +00:00
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