Commit Graph

4288 Commits

Author SHA1 Message Date
Ricky Stewart
e4b69ea6b5 Bug 1617313 - Remaining tests in mozbuild/backend support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63908

--HG--
extra : moz-landing-system : lando
2020-02-27 00:25:03 +00:00
Ricky Stewart
63a331f88b Bug 1617303 - mozbuild/backend/recursivemake.py and /fastermake.py support Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63880

--HG--
extra : moz-landing-system : lando
2020-02-27 00:23:18 +00:00
Ricky Stewart
b4d26b2be6 Bug 1617014 - mozbuild/frontend/emitter.py supports Python 3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D63567

--HG--
extra : moz-landing-system : lando
2020-02-27 00:46:11 +00:00
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
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
Nathan Froyd
cf45cda557 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.

Depends on D57871

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

--HG--
extra : moz-landing-system : lando
2019-12-19 20:54:38 +00:00
Dan Mosedale
42eb841eff Bug 1604295 - Update NodeJS to 8.17.0 and npm to 6.13.4 r=Standard8
This patch causes the newest version of NodeJS 8.17.0 to be used to build the mozilla toolchains installed on the CI machines as well as by `mach bootstrap`, which in turn gets an important security fix by updating to npm 6.13.4.

This patch also causes mach commands which call npm to abort if the version in use is older than 6.13.4 to avoid (especially) exploits on local developers that exfiltrate their data.

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

--HG--
extra : moz-landing-system : lando
2019-12-18 21:59:33 +00:00
Ricky Stewart
27fa46c7df Bug 1604337 - mozpack/packager/* files support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57386

--HG--
extra : moz-landing-system : lando
2019-12-18 23:35:54 +00:00
Ricky Stewart
4bb9805afe Bug 1604277 - mozpack/errors.py and mozpack/manifests.py support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57362

--HG--
extra : moz-landing-system : lando
2019-12-18 22:06:35 +00:00
Ricky Stewart
7c927ba04b Bug 1602540 - mozpack/files.py and test_files.py support Python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57004

--HG--
extra : moz-landing-system : lando
2019-12-18 23:23:12 +00:00
Bogdan Tara
9351449802 Backed out 3 changesets (bug 1604337, bug 1602540, bug 1604277) for build-linux64-artifact/opt (AB) bustages CLOSED TREE
Backed out changeset 4ac19b94051e (bug 1604337)
Backed out changeset 93e2ef0d77b3 (bug 1604277)
Backed out changeset 4ac9cc8c39b1 (bug 1602540)
2019-12-19 00:02:39 +02:00
Ricky Stewart
6131b0e7ab Bug 1604337 - mozpack/packager/* files support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57386

--HG--
extra : moz-landing-system : lando
2019-12-18 16:43:09 +00:00
Ricky Stewart
c8aa318a85 Bug 1604277 - mozpack/errors.py and mozpack/manifests.py support python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57362

--HG--
extra : moz-landing-system : lando
2019-12-18 16:43:09 +00:00
Ricky Stewart
3e58392872 Bug 1602540 - mozpack/files.py and test_files.py support Python3 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D57004

--HG--
extra : moz-landing-system : lando
2019-12-18 21:15:48 +00:00
Sylvestre Ledru
41312ab8df Bug 1601578 - mach - doc environment with python 3 r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55937

--HG--
extra : moz-landing-system : lando
2019-12-17 19:17:43 +00:00
Razvan Maries
c98dba73a9 Backed out 5 changesets (bug 1601612, bug 1601578) for Lint failure. CLOSED TREE
Backed out changeset c5b62adb19f1 (bug 1601612)
Backed out changeset 67431d96c78f (bug 1601612)
Backed out changeset 22099810071a (bug 1601612)
Backed out changeset 457049dcb9b4 (bug 1601612)
Backed out changeset 45277ab0d639 (bug 1601578)
2019-12-17 09:49:51 +02:00
Sylvestre Ledru
e945783c5b Bug 1601578 - mach - doc environment with python 3 r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D55937

--HG--
extra : moz-landing-system : lando
2019-12-17 01:30:41 +00:00
Andrew Halberstadt
68fc6af908 Bug 1603561 - [mozbuild] Ignore all potential objdirs in BuildReader._relevant_mozbuild_finder, r=firefox-build-system-reviewers,chmanchester
Currently BuildReader._relevant_mozbuild_finder attempted to exclude objdirs by
ignoring the pattern 'obj*'. However this can cause problems for developers who
don't prefix their objdirs with the string 'obj'. This attempts to ignore all
objdirs by looking for 'config.status' files in the topsrcdir.

This wasn't a huge issue before because BuildReader._relevant_mozbuild_finder
was only used in a handful of obscure edge cases. But now it's being invoked by
the taskgraph and consequently |mach try|. So we'll see this issue pop up for
people more frequently.

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

--HG--
extra : moz-landing-system : lando
2019-12-17 01:35:05 +00:00
Chris Manchester
43db981303 Bug 1528374 - Add a simple script to wrap mozinstall. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20408

--HG--
extra : moz-landing-system : lando
2019-12-16 22:05:32 +00:00
Oana Pop Rus
b49aefd3c9 Backed out 3 changesets (bug 1528374) for build bustages failures during artifact upload: file-missing-on-worker: Could not read directory /Users/task_1576213467/artifacts on a CLOSED TREE
Backed out changeset 3c2a1cf616b4 (bug 1528374)
Backed out changeset 967d0072cd2f (bug 1528374)
Backed out changeset 0d0186ecd70e (bug 1528374)
2019-12-16 23:50:45 +02:00
Chris Manchester
5ae641c13d Bug 1528374 - Add a simple script to wrap mozinstall. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20408

--HG--
extra : moz-landing-system : lando
2019-12-13 05:43:44 +00:00
J.C. Jones
942507de3e Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-16 17:35:49 +00:00
Csoregi Natalia
5f6f55422f Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-16 18:52:41 +02:00
J.C. Jones
4916451c01 Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-14 18:52:26 +00:00
Ricky Stewart
479b38bcac Bug 1603262 - mozbuild/makeutil.py and mozbuild/test_makeutil.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56968

--HG--
extra : moz-landing-system : lando
2019-12-13 20:49:13 +00:00
Andreea Pavel
1adff31cb1 Backed out changeset 7d55de92c194 (bug 1594931) for failing xpcshell at test_sdr_preexisting.js on a CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-13 22:48:02 +02:00
J.C. Jones
515c7f644c Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change removes the legacy libnssdbm database that we migrated away from since Firefox 60.

This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password. It otherwise removes support for libnssdbm everywhere in Gecko.

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

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-13 19:00:35 +00:00
Eric Rahm
6c0b70d6d9 Bug 1594344 - Part 3: Use new dump_syms in automation. r=froydnj
This optionally uses the rust-based `dump_syms` toolchain if it has been
installed, otherwise it uses the locally built version.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 10:28:13 +00:00
Noemi Erli
24e02f049b Backed out 3 changesets (bug 1528374) per tomprice's request for breaking macOS signing jobs CLOSED TREE
Backed out changeset 5a6fa3b5123b (bug 1528374)
Backed out changeset 32f3b1b3fe3b (bug 1528374)
Backed out changeset a412a319534c (bug 1528374)
2019-12-13 06:48:05 +02:00
Chris Manchester
358028ed9e Bug 1528374 - Add a simple script to wrap mozinstall. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D20408

--HG--
extra : moz-landing-system : lando
2019-12-12 01:23:33 +00:00
Masatoshi Kimura
7276b36871 Bug 1590693 - Unship empty chrome.manifest files. r=glandium
Bug 1295542 added empty chrome.manifest files to prevent malware from abusing
them. This workaround is no longer necessary because Firefox stopped reading
chrome.manifest outside omni.ja since bug 1543761.

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

--HG--
extra : moz-landing-system : lando
2019-12-12 11:13:42 +00:00
Chris Manchester
b98761748c Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828

--HG--
extra : moz-landing-system : lando
2019-12-12 01:42:38 +00:00
Coroiu Cristina
37bd29f93c Backed out changeset 5b1c7a3bd4b2 (bug 1603300) for flake failure at mozbuild/test/configure/test_toolchain_helpers.py
--HG--
extra : amend_source : 97d3600c2c14d18b21d9ac45ac98d3bc3a872e88
2019-12-12 03:31:15 +02:00
Chris Manchester
8f2f5c50d4 Bug 1603300 - Fix regex in test_toolchain_helpers. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D56828

--HG--
extra : moz-landing-system : lando
2019-12-12 01:17:01 +00:00
Ricky Stewart
8125df23f2 Bug 1603181 - mozbuild/preprocessor.py and test_preprocessor.py support Python3 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56808

--HG--
extra : moz-landing-system : lando
2019-12-12 00:13:25 +00:00
Ricky Stewart
e642c8a1b2 Bug 1602961 - ./mach clobber gradle should clean up $topobjdir/gradle r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D56638

--HG--
extra : moz-landing-system : lando
2019-12-11 21:23:22 +00:00
Māris Fogels
030fc0897c Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 18:49:06 +00:00
Ricky Stewart
d43df94c5e Bug 1601753 - ./mach build does not build WASM_LIBRARY by default r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56092

--HG--
extra : moz-landing-system : lando
2019-12-10 15:48:38 +00:00
Ricky Stewart
2a74ae61fc Bug 1602525 - mozpack/archive.py and mozpack/test_archive.py support python3 r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56419

--HG--
extra : moz-landing-system : lando
2019-12-09 22:09:54 +00:00
Dorel Luca
682cfaa718 Backed out 3 changesets (bug 1594344) for Decision task failure on taskcluster/ci/toolchain/rust-size.yml. CLOSED TREE
Backed out changeset 3208e2b16458 (bug 1594344)
Backed out changeset 57b641bb4d4b (bug 1594344)
Backed out changeset 36458762149d (bug 1594344)

--HG--
rename : taskcluster/ci/toolchain/dump-syms.yml => taskcluster/ci/toolchain/rust-size.yml
rename : taskcluster/scripts/misc/build-dump-syms.sh => taskcluster/scripts/misc/build-rust-size.sh
2019-12-10 15:59:12 +02:00
Eric Rahm
cb21b61e01 Bug 1594344 - Part 3: Use new dump_syms in automation. r=froydnj
This optionally uses the rust-based `dump_syms` toolchain if it has been
installed, otherwise it uses the locally built version.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 13:37:45 +00:00
Mike Shal
580f0c293f Bug 1557788 - Remove OBJS_VAR_SUFFIX & .i_o suffix for instrumented builds; r=firefox-build-system-reviewers,chmanchester
In 1-tier PGO builds that shared the objdir between the instrumented and
profile-use builds, the instrumented build objects used a different
suffix (.i_o) to separate them from the profile-use build (which uses
the default .o suffix). These builds are now always in separate objdirs,
and don't need special suffix rules anymore.

As a bonus, this helps fix an issue with buildid.cpp continually
rebuilding because libxul_so.list always lists the inputs as *.o, which
don't exist if we're using a .i_o suffix. Make would always re-create
buildid.cpp and therefore libxul.so in the instrumented build even when
nothing has changed.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:49 +00:00
Andrew Halberstadt
4cd0658446 Bug 1464038 - Update virtualenv to version 16.7.8 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D56229

--HG--
rename : third_party/python/virtualenv/tests/__init__.py => third_party/python/virtualenv/docs/changelog/.gitkeep
rename : third_party/python/virtualenv/virtualenv_support/pip-9.0.3-py2.py3-none-any.whl => third_party/python/virtualenv/tests/old-wheels/pip-9.0.1-py2.py3-none-any.whl
rename : third_party/python/virtualenv/virtualenv_support/setuptools-36.8.0-py2.py3-none-any.whl => third_party/python/virtualenv/tests/old-wheels/setuptools-30.4.0-py2.py3-none-any.whl
rename : third_party/python/virtualenv/virtualenv_support/setuptools-39.0.1-py2.py3-none-any.whl => third_party/python/virtualenv/virtualenv_support/setuptools-41.6.0-py2.py3-none-any.whl
extra : moz-landing-system : lando
2019-12-09 15:45:24 +00:00
Ted Campbell
04d3467fd8 Bug 1602228 - Support ./mach run for application=js builds r=froydnj
Allow running the jsshell using ./mach run. This copies the debugger
parameter handling from desktop configurations.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 14:55:35 +00:00
David Major
b5204ec2a8 Bug 1601872 - Handle the case when the mozconfig has no configure_args r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D56207

--HG--
extra : moz-landing-system : lando
2019-12-06 17:41:10 +00:00
Mike Shal
25308d30a2 Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester
Local PGO builds now use 3-tier machinery under the hood. Instead of a
single object directory that gets cleaned in between the instrumented
and profile-use builds, now the instrumented build uses a separate
'${objdir}/instrumented' directory. This makes it easier to handle
within mach since we can drive the two builds with environment variables
and keep all build artifacts separate, without needing to do manual
cleanup in between.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 01:07:32 +00:00
Chris Manchester
5a33be02e2 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:11 +00:00
Molly Howell
c4a4ebd403 Bug 1599142 - Fix several Windows compatibility issues in documentation generation. r=ahal,froydnj
This patch addresses the following issues which prevent building the
documentation on a Windows system:

1. check_jsdoc attempts to launch a file by the name of jsdoc using
   subprocess.check_output(). But, the file jsdoc is a Bash script,
   so it can't be launched this way on Windows. We should find the
   correct file name to use instead (likely jsdoc.cmd).
2. The Windows CopyFile API will fail if the destination directory does
   not exist. The procedure that creates the staging directory for Sphinx
   attempts to use this API before any directories are created, so most calls
   to it fail and most files don't get staged. These errors are ignored, so
   the result is that Sphinx succeeds in generating a set of documentation
   that is mostly empty.
3. Several instances where manually constructed paths that contain both back
   and forward slashes are compared to or otherwise used with normalized paths,
   resulting in incorrect behaviors.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:04:17 +00:00
Florin Strugariu
cc65231541 Bug 1593674 - remove marionette VideoStream YouTube test as it's duplicated in raptor r=tarek,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D52820

--HG--
extra : moz-landing-system : lando
2019-12-05 14:06:38 +00:00
Razvan Maries
c9cf973dbf Backed out 3 changesets (bug 1595218) for build bustages. CLOSED TREE
Backed out changeset 499b0c27da4f (bug 1595218)
Backed out changeset f2f230a3028d (bug 1595218)
Backed out changeset 93ec75efbf41 (bug 1595218)
2019-12-05 02:53:04 +02:00
Chris Manchester
a85167cf6b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:16 +00:00
Gurzau Raul
87ac4a3719 Backed out 3 changesets (bug 1595218) for Windows wrench failures.
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Chris Manchester
be8da63e8e Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:47 +00:00
Ricky Stewart
8bc5f7c9dd Bug 1600520 - Build flags order regression: OS include paths used before local paths r=froydnj
Remove the "clever" logic from patch D53070, which was meant to reduce code duplication, and replace with easier-to-understand logic. Copy-and-paste the previous version of the CompileFlags class before patch D53070 to ensure that we stamp out the regression.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 18:14:39 +00:00
Nathan Froyd
f47aaef62d Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 06:50:13 +00:00
Sebastian Hengst
4d554f0a10 Backed out changeset 3034ec8681ac (bug 1590745) for breaking local macOS 10.15 builds (bug 1600720). a=backout 2019-12-03 19:06:29 +01:00
shindli
4562fd4c3b Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Chris Manchester
9eb1bdb17b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-11-22 00:02:18 +00:00
Mihai Alexandru Michis
d12cf9f2ad Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE
--HG--
extra : rebase_source : 60fba62a9241bec3aadc84260c2b9dacb89cf1ff
2019-12-02 16:59:55 +02:00
Andi-Bogdan Postelnicu
4204dba075 Bug 1600558 - for static-analysis mutate the proper wildcards from clang-tidy to python. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55423

--HG--
extra : moz-landing-system : lando
2019-12-02 14:25:03 +00:00
Andi-Bogdan Postelnicu
dd9aed5465 Bug 1600226 - Optimize the way how we follow symlinks for static-analysis check. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55237

--HG--
extra : moz-landing-system : lando
2019-12-02 14:24:16 +00:00
Nathan Froyd
945c7515d6 Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 21:19:53 +00:00
Andi-Bogdan Postelnicu
5fe516cd88 Bug 1600048 - fix the call to map_file_to_source that prevented the json export for clang-tidy to work. r=bastien,marco
Differential Revision: https://phabricator.services.mozilla.com/D55110

--HG--
extra : moz-landing-system : lando
2019-11-28 15:20:22 +00:00
Ricky Stewart
6f304a37d1 Bug 1599648 - Add a py3_action build action r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D55031

--HG--
extra : moz-landing-system : lando
2019-11-27 23:38:49 +00:00
Māris Fogels
dc0f691706 Bug 1599744 - Ensure unicode env vars are handled by virtualenv r=ahal
Ensure that environment variables with unicode values are handled correctly
when setting up a virtualenv.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:50:32 +00:00
Ricky Stewart
d5eb7d0ea5 Bug 1594867 - Add moz.build/backend bits to specify files that should be built as a sandboxed wasm library r=firefox-build-system-reviewers,mshal
Add backend stuff to build sandboxed wasm libraries. (Don't actually update any moz.build files to consume this yet.)

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

--HG--
extra : moz-landing-system : lando
2019-11-27 20:11:59 +00:00
Māris Fogels
75d85af992 Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:03 +00:00
Botond Ballo
83bfe6cee0 Bug 1590857 - Don't prompt to install Android app if the user is running 'mach install'. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D54381

--HG--
extra : moz-landing-system : lando
2019-11-25 22:17:59 +00:00
Edwin Takahashi
79d87a899e Bug 1598839 - run mach environment with python3 r=ahal
Changes:

Remove `environment` from the python3 blacklist.

Remove the option to specify `configure` for the formatting argument, since it has never been supported (the method has never been implemented).

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

--HG--
extra : moz-landing-system : lando
2019-11-25 18:27:28 +00:00
Andrew Halberstadt
099aff4f59 Bug 1596426 - [mozbuild] Add a 'manifest_relpath' key to all tests in the TestManifestBackend, r=froydnj
I would prefer if this (and the other keys there) were added by the
ReftestManifest object instead:
https://searchfox.org/mozilla-central/rev/652014ca1183c56bc5f04daf01af180d4e50a91c/layout/tools/reftest/reftest/__init__.py#39

But since there is already precedent here, it's easiest to tag
'manifest_relpath' along with the others. Bug 1590388 will likely handle
cleaning all this up.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 21:27:32 +00:00
Andrew Halberstadt
3dca2855a2 Bug 1598099 - [mozbuild] Catch correct exception when instantiating a Repository object without a build config, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54021

--HG--
extra : moz-landing-system : lando
2019-11-21 21:27:52 +00:00
Nathan Froyd
72b0fe8ee6 Bug 1536848 - raise the minimum gcc version to 7; r=dmajor
We need this for full C++17 support.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 20:53:27 +00:00
Ricky Stewart
35f7bc06ec Bug 1598134 - configure and unit test performance regressed by inspect.stack() call from bug 1582155 r=mshal,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54038

--HG--
extra : moz-landing-system : lando
2019-11-21 14:59:19 +00:00
Māris Fogels
fd2e3c6b9e Bug 1593105 - [mozbuild] Port mozbuild.util.FileAvoidWrite to Python 3 r=firefox-build-system-reviewers,mshal
The FileAvoidWrite class does a bunch of stuff with bytes and strings
that doesn't work in Python 3.  Make sure the object is handling only
bytes or only strings under the hood so Python 3 is happy.

The FileAvoidWrite unit tests written with MockedOpen don't work in
Python 3 either.  Swap them out for vanilla pytest tests without
the MockedOpen dependency.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 15:13:37 +00:00
Chris Manchester
60fcabc3d4 Bug 1598157 - Do not check mozilla-inbound during artifact builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54057

--HG--
extra : moz-landing-system : lando
2019-11-20 23:50:34 +00:00
Geoff Lankow
ada7694a92 Bug 1595696 - Shift artifact namespace transformation to the job class definition. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52631

--HG--
extra : moz-landing-system : lando
2019-11-20 19:01:26 +00:00
Cosmin Sabou
3ee0fc5c70 Backed out changeset 530a567814d0 (bug 1596438) for causing bug 1597957. 2019-11-20 18:45:35 +02:00
Ricky Stewart
906b8677fd Bug 1596438 - mach build fails on Windows if using upper-case drive letter paths r=firefox-build-system-reviewers,chmanchester
`os.path.abspath` on Windows doesn't return a consistent value -- the capitalization can vary based on environmental factors that I don't fully understand. Regardless, normalize case where this function is called in config_status.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 23:31:14 +00:00
Mike Shal
3ce3aba1c7 Bug 1593948 - Touch clobber in configure.py instead of clobber.py; r=firefox-build-system-reviewers,chmanchester
If configure is invoked manually, clobber.py is bypassed and the CLOBBER
file doesn't get touched. The clobber check in Makefile.in gets
triggered causing the build to stop.

Moving the objdir/CLOBBER file creation into configure.py should cause
it to be created regardless of how configure is invoked.

Depends on D53290

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

--HG--
extra : moz-landing-system : lando
2019-11-19 21:49:13 +00:00
Ricky Stewart
af09bd9e37 Bug 1596475 - Add WASM_CFLAGS, WASM_CXXFLAGS, WASM_LDFLAGS r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D53070

--HG--
extra : moz-landing-system : lando
2019-11-19 16:25:49 +00:00
Nathan Froyd
cfbed66842 Bug 1597686 - do some basic typechecking on BaseCompileFlags.flag_variables; r=rstewart
Bug 1596868 was triggered by forgetting a comma, turning an intended
tuple into a string, which Python dutifully iterated over as a sequence
of single characters.  Let's add some basic typechecking so these sort
of mistakes don't happen again.

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

--HG--
extra : moz-landing-system : lando
2019-11-19 16:22:05 +00:00
Alexander Surkov
40f1b26958 Bug 1594122 - remove skip xbl tests option r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53262

--HG--
extra : moz-landing-system : lando
2019-11-15 20:33:32 +00:00
Andi-Bogdan Postelnicu
2bdb101f7d Bug 1596456 - unpack arguments as list to _get_infer_args. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D53398

--HG--
extra : moz-landing-system : lando
2019-11-18 12:05:28 +00:00
Ricky Stewart
cf78fa6491 Bug 1596868 - CXXFLAGS, LDFLAGS, etc. regressed by bug 1595906 r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D53249

--HG--
extra : moz-landing-system : lando
2019-11-15 18:34:50 +00:00
Tom Schuster
d9e39bab32 Bug 1595297 - Add EARLY_BETA_OR_EARLIER to mozinfo. r=firefox-build-system-reviewers,mshal
We need this to disable a test on the right versions.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 01:38:19 +00:00
Gabriele Svelto
6ff1e8b815 Bug 1516367 - Move the minidump-analyzer out of the crash reporter application bundle r=spohl,dmajor
The minidump-analyzer tool was originally conceived to be used from the crash
report client and as such was installed in the crash reporter client
application bundle on macOS. It was later adapted to work from Firefox itself
but this caused linking problems when invoked from the Firefox app bundle.
This patch moves the minidump-analyzer into the Firefox app bundle and adapts
the relevant code to find it there.

The minidump-analyzer was also not signed like the rest of our executables and
this patch addresses that issue too.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 21:11:59 +00:00
Razvan Maries
5af92f5f8a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-11-15 00:41:27 +02:00
Razvan Maries
4e42de3ec8 Merge mozilla-inbound to mozilla-central a=merge 2019-11-14 23:49:26 +02:00
Nathan Froyd
d3483bdef5 Bug 1579189 - raise the minimum clang version to 5; r=#build
We need this for "full" C++17 support (everything is supported, but some
C++17 features still have bugs) and this change also brings Linux into
parity with our Mac requirements.

MANUAL PUSH: build toolchains on inbound to avoid clogging autoland

Differential Revision: https://phabricator.services.mozilla.com/D51450
2019-11-14 11:16:38 -04:00
Jesse Schwartzentruber
ddd306f948 Bug 1596227 - Fix Android platform_guess for x86_64 and aarch64. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52909

--HG--
extra : moz-landing-system : lando
2019-11-14 01:58:51 +00:00
Andi-Bogdan Postelnicu
a4b03d3e1f Bug 1406309 - add AUTOCLOBBER for our static-analysis targets. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D52169

--HG--
extra : moz-landing-system : lando
2019-11-12 14:01:46 +00:00
Ricky Stewart
7a000bc5ca Bug 1595906 - Allow opting out of hardening compile flags on a granular basis r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52756

--HG--
extra : moz-landing-system : lando
2019-11-14 17:13:28 +00:00
Andrew Halberstadt
99f6a2c376 Bug 1583353 - [moztest.resolve] Implement a TestLoader that doesn't rely on the build system, r=gbrown
This loader uses 'reader.find_variables_from_ast' to parse all *_MANIFESTS variables from
moz.build files using the abstract syntax tree. This means it will find all such variables
regardless of the current buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:13:20 +00:00
Andrew Halberstadt
48615d1c1b Bug 1583353 - [mozbuild.reader] Don't return root moz.build twice in 'all_mozbuild_paths', r=froydnj
Despite what the comment says, the finder *does* pick up the root moz.build. So
we end up processing it twice. This was never caught before because we only ever
used this function to read Sphinx related variables, of which the root moz.build
contains none.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:38:32 +00:00
Tom Prince
069263ab46 Bug 1595368: [firefox-ci] Use consitent logic to determine tooltool url; r=sfraser a=task-fix
Differential Revision: https://phabricator.services.mozilla.com/D52498

Depends on D52497

--HG--
extra : histedit_source : 4b7e40193155303d8757f08aabe670e4dd127924
2019-11-11 05:50:11 +01:00
Ricky Stewart
50a5dbb671 Bug 1573560 - Have Node compilation write directly into FINAL_TARGET instead of requiring a symlink r=firefox-build-system-reviewers,jlast,mshal
Differential Revision: https://phabricator.services.mozilla.com/D47367

--HG--
extra : moz-landing-system : lando
2019-11-04 23:15:19 +00:00
Edwin Takahashi
9497983d61 Bug 1592855 - run mach vendor rust with python3 r=froydnj
Changes:
- use regular strings instead of byte strings when matching
- encode files in UTF-8 prior to hashing

Depends on D51414

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

--HG--
extra : moz-landing-system : lando
2019-11-05 18:56:21 +00:00
Edwin Takahashi
c6e2eb6f8e Bug 1592855 - run mach vendor dav1d with python3 r=ahal
Changes:
- change `urlparse` import to `urllib.parse` to make switch over to python3

Depends on D51414

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:28:21 +00:00
Edwin Takahashi
9a7b0768dc Bug 1592855 - run mach vendor aom with python3 r=dminor
Changes:
- update sections of `generate_sources_mozbuild.py` and `cmakeparser.py` to be python3 compatible
- change import of `urlparse` to be python3 compatible

Depends on D51414

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

--HG--
extra : moz-landing-system : lando
2019-11-04 20:31:43 +00:00
Edwin Takahashi
b66e852ab2 Bug 1592855 - run mach vendor python with python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51414

--HG--
extra : moz-landing-system : lando
2019-11-05 15:29:44 +00:00
Geoff Brown
968cf06036 Bug 1592608 - Add more fields to ReftestManifest test descriptions; r=ahal,froydnj
Add test annotations to the ReftestManifest and TestResolver. For example, a
test description from the TestResolver might now contain 'skip-if': 'skiaContent';
similar to the content provided for manifestparser tests; this will allow
'mach test-info report' to filter tests based on reftest manifest test
annotations.
Also add the referenced-test field which identifies the test file associated
with test entries for reference files; this will allow test-verify to
run the correct reftest when only the reference file has been modified.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:09:41 +00:00
Edwin Takahashi
072601476a Bug 1591220 - migrate python-safety to run with python3 by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D51184

--HG--
extra : moz-landing-system : lando
2019-11-04 21:55:21 +00:00
Andrew Halberstadt
5b57c3d580 Bug 1583353 - [mozbuild] Forward unrecognized kwargs to underlying class in MozbuildObject.from_environment(), r=firefox-build-system-reviewers,mshal
This allows subclasses of MozbuildObject to define additional instance
arguments and still use 'from_environment'.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 18:02:09 +00:00
Edwin Takahashi
128ef1e636 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal,KWierso
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-30 20:42:50 +00:00
Andi-Bogdan Postelnicu
6cddfab802 Bug 1588283 - Incorrect build failure reported by coverity when using inline definitions. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D50961

--HG--
extra : moz-landing-system : lando
2019-10-29 18:15:28 +00:00
Mike Shal
413e5aee89 Bug 1589209 - Bump artifact cache limits; r=nalexander
On Windows, './mach bootstrap' downloads 8 artifacts taking up 1GiB+ of
space. Given the current limits of 6 artifacts and 1GiB, this means a
full run of './mach bootstrap' doesn't actually use anything from the
cache. Each new artifact is over the limits, so the oldest artifact gets
removed from the cache before downloading the next one. Doubling the
limits here should give us some space to work with.

Depends on D50676

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

--HG--
extra : moz-landing-system : lando
2019-10-29 14:17:24 +00:00
Mike Shal
11718d06c0 Bug 1589209 - Clarify messaging when artifacts are being downloaded; r=nalexander
Artifacts are fetched to a local cache, and if the artifact in the cache
exists it won't be re-downloaded. However, the messaging suggested that
artifacts were always being downloaded when they were just re-used from
the cache, leading to confusion.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 14:17:23 +00:00
Andi-Bogdan Postelnicu
e6103a88d6 Bug 1587079 - disable structured log when using requests.get(...) for Coverity analysis. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D50442

--HG--
extra : moz-landing-system : lando
2019-10-29 09:23:09 +00:00
Nathan Froyd
7f08913d02 Bug 1584296 - add C++17 bits to fake compiler definitions in test_toolchain_configure.py; r=glandium
Separating these changes out into a separate patch/bug makes them a
little easier to verify.  Turning on C++17 support should then be just a
matter of updating expected results.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:58:15 +00:00
Edwin Takahashi
98a12cfd37 Bug 1589206 - enable test_archive.py for python 2 in mozbuild suite and annotate expected failures r=firefox-build-system-reviewers,mshal
Changes:
- remove the `unicode_literals` import from `test_archive.py` as it was causing failures when dealing with file paths
- mark failing tests with `xfail` annotations, to be investigated at a later date

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

--HG--
extra : moz-landing-system : lando
2019-10-24 21:38:20 +00:00
Cosmin Sabou
b9bc1ef9d6 Backed out 2 changesets (bug 1476339, bug 1590714) for breaking windows coverage builds and at marco's request.
Backed out changeset 0a3621d900c8 (bug 1590714)
Backed out changeset db0e1ce31ac3 (bug 1476339)

--HG--
extra : rebase_source : 2421340b6220f0858ee449a1f5bc26bf3316943b
2019-10-23 23:10:17 +03:00
Anthony Ramine
e63ea2e660 Bug 1590344 - Don't unset PYTHONDONTWRITEBYTECODE anymore; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D50041

--HG--
extra : rebase_source : 765b06658c8ee027bb7bba033bb58f90cfa91d8a
extra : source : e2448f988af9e39a6957d44446b203c24759ea8c
2019-10-22 21:05:53 +00:00
Cosmin Sabou
9e99d55f30 Backed out changeset e2448f988af9 (bug 1590344) for causing python failures on configure/lint.py. 2019-10-23 22:33:00 +03:00
Anthony Ramine
a6fa34832e Bug 1590344 - Don't unset PYTHONDONTWRITEBYTECODE anymore; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D50041

--HG--
extra : moz-landing-system : lando
2019-10-22 21:05:53 +00:00
Marco Castelluccio
04a3124744 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 22:55:45 +00:00
Dorel Luca
cf3d2dccbb Backed out changeset 098dacd3fabe (bug 1476339) for Linting failure in mozbuild/mozbuild/frontend/context.py. CLOSED TREE
--HG--
extra : amend_source : a805d5f03e8127b4248a5f95943e1f33f3b92608
2019-10-23 01:26:46 +03:00
Marco Castelluccio
cfdcf5a828 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 21:00:34 +00:00
Dorel Luca
3d43b20c77 Backed out changeset ca117d13ca06 (bug 1212502) for Windows 2012 build bustage. CLOSED TREE 2019-10-22 20:53:27 +03:00
Wes Kocher
49fba76f39 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-22 17:33:13 +00:00
Ricky Stewart
c034560cf3 Bug 1582155 - Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48130

--HG--
extra : moz-landing-system : lando
2019-10-21 18:20:53 +00:00
Ricky Stewart
16a6c7da5c Bug 1587232 - ./mach vendor rust leaves the tree in an unclear state if it would bring in a file that's too large r=firefox-build-system-reviewers,mshal
Add code to clean up Git and Hg repositories, and invoke that where `./mach vendor rust` would throw an error. Unfortunately, `cargo vendor` also updates the repo's root `Cargo.lock` file in-place and while we could `git checkout`/`hg revert` that file for the user, `Cargo.lock` may have had pre-existing changes that would be overwritten by such a change. Instead of a potentially destructive update in the error case, I've opted to add an extra error message to tell you how to deal with that one file.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 18:23:36 +00:00
Edwin Takahashi
8eb4f8e716 Bug 1581224 - convert mach uuid to be compatible with both python2/3 r=Callek
Changes:
- remove `uuid` from the python3 blacklist in `mach`
- enable `test_telemetry.py` for python3
- adjust test outcome expectation for Windows + python3, suspect `mozpack.path` is not filtering Windows path correctly in python3 environment
- switch file read mode between `r` and `rb` depending on version of python

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

--HG--
extra : moz-landing-system : lando
2019-10-21 16:33:00 +00:00
Chris Manchester
079c3c1179 Bug 1587715 - Fix TypeError when submitting build telemetry without cpu_percent present. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49342

--HG--
extra : moz-landing-system : lando
2019-10-16 04:01:26 +00:00
Cosmin Sabou
af6083b6c6 Backed out changeset 015fd18edd63 (bug 1582155) for python failures on test_configure.py.
--HG--
extra : rebase_source : 0d9dcf79f447a91fb8acf3a41e91a0c18c1d8c7e
2019-10-21 19:05:02 +03:00
Ricky Stewart
bd328cad45 Bug 1582155 - Add categorization to ./configure --help r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48130

--HG--
extra : moz-landing-system : lando
2019-10-18 22:21:28 +00:00
Andi-Bogdan Postelnicu
c5b22adcf8 Bug 1590086 - Continue full Coverity analysis even if cov-run-desktop fails. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D49934

--HG--
extra : moz-landing-system : lando
2019-10-21 14:01:56 +00:00
Andrew Halberstadt
0912d6c960 Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander
The BuildReader's 'find_sphinx_variables' function is hardcoded to look for the
SPHINX_TREES and SPHINX_PYTHON_PACKAGE_DIRS variables. But it's otherwise
implemented to find any arbitrary variable (as long as they are a simple list
or dict).

This change simply moves the variable name(s) to the function call. The comment
about possibly wanted to use a higher level AST library to parse other kinds of
variables still applies, but for now this change is good enough to suit my
needs.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:05:49 +00:00
Makoto Kato
9f744d72cd Bug 1565634 - mach install should install GVE as default. r=nalexander
Fennec is removed, but mach install still tries to install Fennec. It should
install GVE instead.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 02:01:26 +00:00
Chris Manchester
e69835925b Bug 1587913 - Fix rust target detection for rustc 1.38. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D48996

--HG--
extra : moz-landing-system : lando
2019-10-16 22:16:13 +00:00
Calixte Denizet
98f3f94379 Bug 1586036 - Add the files under obj-dir/dist/xpcrs/rt|bt in generated-sources.json r=firefox-build-system-reviewers,chmanchester
Some generated files are missing in generated-sources.json so just add them.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 21:29:12 +00:00
Andi-Bogdan Postelnicu
d3a12373bd Bug 1584468 - for review-time static analysis try to match files from the obj directory to files from the repo. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D48702

--HG--
extra : moz-landing-system : lando
2019-10-15 11:36:12 +00:00
Ms2ger
30b4e2a534 Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in various mochitests.

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

--HG--
extra : moz-landing-system : lando
2019-10-15 08:22:15 +00:00
shindli
56880b8b3b Backed out changeset 8fb923925923 (bug 1194860) for causing perma mda3 failures in dom/media/webaudio/test/test_convolverNodeChannelInterpretationChanges.html CLOSED TREE
--HG--
extra : histedit_source : f6827f0392c7d385c8a78cb2ec2458cf679afa4a
2019-10-14 19:27:08 +03:00
Ms2ger
6d1c58e46c Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in mochitest-chrome
tests in dom/animation/test.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 15:13:32 +00:00
shindli
8aa10c0b78 Backed out changeset 73cbc0f61053 (bug 1194860) for causing lint failure in /builds/worker/checkouts/gecko/dom/imptests/testharness.js CLOSED TREE 2019-10-14 16:43:11 +03:00
Ms2ger
ea25c9e00d Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in mochitest-chrome
tests in dom/animation/test.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 12:59:10 +00:00
Andrew Halberstadt
91116caeac Bug 1587206 - [lint.flake8] Enable E117 across the tree, r=sylvestre
Prevents over-indentation.

Depends on D48611

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:51:45 +00:00
Andrew Halberstadt
142851700b Bug 1587206 - [lint.flake8] Enable F811 across the tree, r=sylvestre
This prevents redefinition of unused variables.

Depends on D48610

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:51:20 +00:00
Brendan Dahl
a51ca19772 Bug 1510785 - Support disabling XBL related tests. r=gbrown
Adds a way for mochitest, reftest, and crashtests to skip XBL related
tests when XBL is disabled. Also, add an app constant so JS can
check whether XBL is enabled.

Depends on D45614

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

--HG--
extra : moz-landing-system : lando
2019-10-08 23:52:33 +00:00
Mike Shal
07e8548c0b Bug 1581279 - Fix ./mach clobber --full for Python3; r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48615

--HG--
extra : moz-landing-system : lando
2019-10-08 22:49:07 +00:00
Bastien Abadie
cd9df12219 Bug 1584452 - Remove $SRCDIR prefix in chrome map generation, r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D48069

--HG--
extra : moz-landing-system : lando
2019-10-07 08:04:47 +00:00
Geoff Lankow
68b84bf193 Bug 1585828 - Replace is_firefox_or_android condition with has_build condition on mach run/mach install r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47992

--HG--
extra : moz-landing-system : lando
2019-10-04 13:20:07 +00:00