Commit Graph
4998 Commits
Author SHA1 Message Date
Eric Rahm 4872d41144 Bug 1555067 - Backed out changeset 0801165e3175. r=jcj
NSS_ALLOW_SSLKEYLOGFILE no longer has issues upstream, we can allow it again.

Differential Revision: https://phabricator.services.mozilla.com/D34915
2019-06-13 20:59:55 +00:00
Chris Manchester a04275cf2a Bug 1558996 - Require rust 1.35 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D34794
2019-06-13 06:02:05 +00:00
Bob Clary 3dbc898d06 Bug 1558931 - Improve performance of moz.build Schedules __or__, r=dustin.
Differential Revision: https://phabricator.services.mozilla.com/D34770
2019-06-13 16:07:26 +00:00
Andi-Bogdan Postelnicu dd1849e7c3 Bug 1559121 - Specify custom port for Coverity platform. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D34871
2019-06-13 12:58:30 +00:00
Justin Wood 618321aeb9 Bug 1533818 - Don't try to expand from a 'cose.manifest' file when repacking the l10n copy of omni.ja. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D34697
2019-06-12 23:03:22 +00:00
Mike Hommey b749e17fcf Bug 1558737 - Remove BUILD_FASTER define. r=nalexander
The last use of the define was removed in bug 1437942.

Differential Revision: https://phabricator.services.mozilla.com/D34669
2019-06-12 16:20:16 +00:00
Mike Hommey 1d228de266 Bug 1557547 - Actively reject clang < 4.0 during configure. r=mshal
Bug 1394825 bumped the minimum version of clang we use on automation,
for the base toolchain jobs, and there's a libclang test for bindgen,
but we should reject the compiler in the first place.

The check to do that works in both C and C++, contrary to the original
3.6 test that was checking a C++ feature ; the test was later changed
for 3.9, using a check that would have worked in both C and C++, but
the C exception was left around. We remove it now.

Differential Revision: https://phabricator.services.mozilla.com/D34083
2019-06-12 22:22:24 +00:00
Nick Alexander 10d782d532 Bug 1556162: Ignore non-deterministic localized resources in fat AARs. r=mshal
This works around the following situation: the Ngv/fat AAR task is
deterministic, but it depends on N tasks for multiple architectures,
adn the exact l10n changeset pulled by each N task depends on the tip
of the l10n HG repository at the time the N task executes.

For now, just ignore the obvious localized resources: *.ftl, *.dtd,
*.properties.

Differential Revision: https://phabricator.services.mozilla.com/D33413
2019-06-11 22:44:29 +00:00
Mike Hommey 56b158faf9 Bug 1557336 - Unset LC_CTYPE when executing pipenv. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34484
2019-06-11 20:24:04 +00:00
David Teller aed1aa8f56 Bug 1520001 - dependency cloudabi is BSD-2 and must appear in about:license;r=mhoye
Not sure why this wasn't done before, but it prevented me from running `./mach rust vendor`.

Differential Revision: https://phabricator.services.mozilla.com/D34127
2019-06-10 13:22:58 +00:00
Eric Rahm 02afd5f5a7 Bug 1551368 - Part 3: Don't remove the rust incremental cache when clobbering. r=chmanchester
Skips over the incremental cache when performing a clobber. The incremental compilation cache is located at:
  `$(objdir)/$(rust_target)/$(rust_build_kind)/incremental`

When cross compiling there can be two caches, one for the host and one for the target so we handle both.

Differential Revision: https://phabricator.services.mozilla.com/D31310
2019-06-06 18:35:33 +00:00
Eric Rahm d1eb320728 Bug 1551368 - Part 2: Make the Clobberer aware of substs. r=chmanchester
Pass in the substs dictionary to `Clobberer` so that we can use it to query `cargo` paths.

Differential Revision: https://phabricator.services.mozilla.com/D31309
2019-06-06 18:35:11 +00:00
Eric Rahm 44d1afe2d1 Bug 1551368 - Part 1: Factor out subdirectory logic. r=chmanchester
Pull out the logic for filtering subdirectories and deleting them into
reusable functions.

Differential Revision: https://phabricator.services.mozilla.com/D31308
2019-06-06 18:35:07 +00:00
Mike Hommey 9bda208298 Bug 1557855 - Use a sensible default for --with-android-ndk. r=nalexander
Use the same logic as for --with-android-sdk to use the NDK downloaded
by mach bootstrap by default.

Differential Revision: https://phabricator.services.mozilla.com/D34251
2019-06-07 22:23:37 +00:00
Henri Sivonen c5cb6d7aa4 Bug 1557278 - Avoid implicit conversion to Unicode when rewriting log lines. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33942
2019-06-06 16:46:40 +00:00
Mike Hommey 2c9abe5773 Bug 1472091 - Bootstrap clang from automation on Mac. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D34077
2019-06-07 00:46:15 +00:00
Mike Hommey 330b01d4cf Bug 1557213 - Remove CC/CXX from suggested mozconfig for Android builds. r=nalexander
After bug 1519954, the build system will pick the compiler in
~/.mozbuild on its own, so there's no need to suggest people to manually
put that in their mozconfig.

Differential Revision: https://phabricator.services.mozilla.com/D33903
2019-06-07 00:40:53 +00:00
Chris Manchester faee20bea9 Bug 1552120 - Add a flag to the packager to ignore broken symlinks and pass it for developer builds. r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D33893
2019-06-06 23:22:42 +00:00
shindli debee063dc Merge autoland to mozilla-central. a=merge 2019-06-06 12:28:43 +03:00
Mike Hommey 7c880c80a1 Bug 1551639 - Don't build generated source files during the export tier. r=nalexander
As established previously, generated source files that are not included
don't need to be built during the export tier.

Differential Revision: https://phabricator.services.mozilla.com/D33771
2019-06-06 04:35:00 +00:00
Jorg K aa6c3c9bf8 Backed out changeset bb3d70c37398 (bug 1543725) for busting Thunderbird builds. a=backout 2019-06-05 22:24:02 +02:00
Cosmin Sabou 5aaaf91d2c Backed out changeset 028c8f1b6b5b (bug 1551368) for linting failure on mozbuild/controller/clobber.py. 2019-06-06 00:40:06 +03:00
Eric Rahm f27acaaf4d Bug 1551368 - Part 1: Factor out subdirectory logic. r=firefox-build-system-reviewers,chmanchester
Pull out the logic for filtering subdirectories and deleting them into
reusable functions.

Differential Revision: https://phabricator.services.mozilla.com/D31308
2019-05-21 20:46:43 +00:00
Samuel Thibault a750b72f84 Bug 1543725 Add marionette support to thunderbird r=ato,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D27102
2019-06-05 07:59:19 +00:00
Mike Hommey 37ca8a0c62 Bug 1556662 - Fix a typo in change from bug 1469091. r=dmajor
In a branch for `isinstance(obj, (HostSources, HostGeneratedSources))`,
`isinstance(obj, GeneratedSources)` is clearly not going to match
anything. `isinstance(obj, HostGeneratedSources)` is what was intended.

Differential Revision: https://phabricator.services.mozilla.com/D33603
2019-06-04 11:39:44 +00:00
Chris Manchester 5a3fabb63e Bug 1556185 - Ensure autoconf.mk is tracked as a dependency when preprocessing webidls. r=nalexander
webidlsrcs.mk is treated specially by the build system, and this entire
process should be supported better by moz.build, but in the meantime this
fixes the clobber bug caused by not re-building these targets when defines
are updated.

Differential Revision: https://phabricator.services.mozilla.com/D33415
2019-06-03 20:33:36 +00:00
Jeremy Lempereur 0dd7533e90 Bug 1556257 - Add Funtoo support to mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D33425
2019-06-03 01:15:09 +00:00
Andrew Halberstadt 12596513b3 Bug 1555824 - Don't call MozbuildObject.substs from a MachCommandCondition r=nalexander
Invoking MozbuildObject.substs causes an exception to be raised if there is no
BuildEnvironment. This means that we hit an error on |mach help| if there is no
build, which is not ideal for people trying to learn how to build :).

Differential Revision: https://phabricator.services.mozilla.com/D33217
2019-05-30 21:47:56 +00:00
Nick Alexander 4ffabfe61b Bug 1508976 - Produce a multi-architecture GeckoView "fat AAR". r=glandium
This follows the model set down for EME artifacts:

- a new tier is added that uses a new Python build action to fetch and
  artifacts
- the action unpacks the fetched artifacts and moves specific inputs
  into places expected by the build and packager
- in automation, MOZ_ARTIFACT_TASK* is used to ensure the artifacts
  come from the correct tasks

In this case, the artifact fetching is done entirely in a new Python
build action that internally uses `mach artifact install --job ...`.
The action also verifies that the fetched artifacts are compatible and
that we're not assembling a fat AAR that is nonsensical.  The specific
inputs are not used in the Fennec APK that is produced; they're only
used in the GeckoView AAR that is produced.

The artifact fetching itself required tweaking to fetch only
`target.maven.zip` artifacts and to not unpack them.

The specific inputs used are the native libraries (libs/$ARCH/*.so)
and the architecture-specific preference files ($ARCH/greprefs.js and
defaults/pref/$ARCH/geckoview-prefs.js).  None of these inputs are
impacted by l10n.

Differential Revision: https://phabricator.services.mozilla.com/D31572
2019-05-30 15:22:09 +00:00
Nick Alexander a9f1441223 Bug 1508976 - Pre: Add --maven-zip and --no-process to mach artifacts install. r=glandium
This allows to use the existing artifacts VCS-based crawling to
download the "raw" target.maven.zip from Android jobs and not process
it further.  It's just put in a specific directory, ready for use.
This isn't a big deal in automation, where all URLs are known, but
it's very useful when building locally and the VCS and the pushlog
must be consulted to determine task URLs.

Differential Revision: https://phabricator.services.mozilla.com/D31571
2019-05-30 15:21:55 +00:00
prathiksha 4282135034 Bug 1549561 - Migrate strings from pipnss.properties to aboutCertError.ftl. r=flod CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D32513
2019-05-30 09:43:23 +03:00
Tom Prince d8ff5e3423 Bug 1549889: Add support for displaying WNP conditionally on build-id; r=nthomas
Differential Revision: https://phabricator.services.mozilla.com/D33039
2019-05-29 23:47:07 +00:00
Chris Manchester c0aaceaaed Bug 1555397 - Download sccache on macOS as a part of bootstrap. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33105
2019-05-29 23:55:37 +00:00
Justin Wood 322f81e893 Bug 1547730 - don't fail on an unsupported .seek() needed to support adding from compressed zipfile.ZipFile entries. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D29216
2019-05-28 14:28:55 +00:00
Justin Wood ac676f6155 Bug 1547730 - Set python test annotations to correspond to currently-passing py3 tests r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28122
2019-05-28 14:28:53 +00:00
Justin Wood 4f2612616f Bug 1547730 - Finish up some final py3-izing in getting mozjar.py to work in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28120
2019-05-28 14:28:45 +00:00
Justin Wood 20969c0ffc Bug 1547730 - Make more of configure/__init__ work in py3 r=glandium
(adds __build_class__ to the builtin sandbox and allow CombinedDependsFunction to be hashed)

Differential Revision: https://phabricator.services.mozilla.com/D28114
2019-05-28 14:28:41 +00:00
Justin Wood 0db61d8a26 Bug 1547730 - Use six.moves.builtins in the sandbox for configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28113
2019-05-28 14:28:36 +00:00
Justin Wood cc0a929dba Bug 1547730 - Use new inspection methods introduced in py3 but work in py2.7 for functions r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28112
2019-05-28 14:28:34 +00:00
Justin Wood 1c39c23f3c Bug 1547730 - Define __hash__ for SandboxDependsFunction and CombinedDependsFunction so we can reference it as a dictionary key in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28111
2019-05-28 14:28:30 +00:00
Justin Wood 9cc33a30f8 Bug 1547730 - Stop using some cases of types.NoneType. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D30966
2019-05-28 14:28:25 +00:00
Justin Wood 61037dd56d Bug 1547730 - Recognize StreamWriter exceptions for fileno() in py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28110
2019-05-28 14:28:23 +00:00
Justin Wood 622f6305e8 Bug 1547730 - Use six.moves.reduce for reduce() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28109
2019-05-28 14:28:18 +00:00
Justin Wood 9332d8536e Bug 1547730 - Use six.moves for urllib.urlparse r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28108
2019-05-28 14:28:01 +00:00
Justin Wood 76ba8192dc Bug 1547730 - Fix b''.join(rand.choice(bytestring)..) to use bytes() constructor instead r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28107
2019-05-28 14:26:10 +00:00
Justin Wood 3e9ff50669 Bug 1547730 - Use six.moves.xrange() instead of xrange() r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28106
2019-05-28 14:25:49 +00:00
Justin Wood 84c3342b4d Bug 1547730 - Compensate for __builtin__ use in files accessed by py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28105
2019-05-28 14:25:30 +00:00
Justin Wood 90f9969b4d Bug 1547730 - Don't try to py3-ize indented_repr yet. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28103
2019-05-28 14:25:23 +00:00
Justin Wood d7b3095878 Bug 1547730 - don't use py2 builtin 'unicode' in mozpack and deps r=glandium
Also adjust 'basestring' usage in some places.

Differential Revision: https://phabricator.services.mozilla.com/D28102
2019-05-28 14:25:15 +00:00
Justin Wood 438beac484 Bug 1547730 - do s/StringIO.StringIO/six.StringIO/ to support py3 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28101
2019-05-28 14:25:00 +00:00