Commit Graph
264 Commits
Author SHA1 Message Date
Ted Mielczarek 4cc1fea125 bug 1357622 - update sccache to rev d3aa1116844b50c03015266d2f48235509fa7deb to pick up a fix for build failures. r=mshal
MozReview-Commit-ID: 8ixs6rYnE08
2017-05-09 09:12:26 -04:00
Jim Chen 3806a2a25e Bug 1360629 - Update NDK on builders to include AArch64/ARM64 support; r=nalexander
Use a new version of the packaged NDK that includes AArch64/ARM64
support and includes the 'source.properties' file, so we can detect the
NDK version.
2017-05-04 19:19:30 -04:00
Nick Alexander 169f28cd80 Bug 1361418 - Remove Java Addons from Firefox for Android. r=sebastian
The Java Addons mechanism never got traction and is not Web Extensions
compatible.  Removing it simplifies the product and the build system.

MozReview-Commit-ID: ABUxkqqMISa
2017-05-02 11:49:16 -07:00
Ralph Giles 232dd41e60 Bug 1360364 - Update builders to rust 1.17.0. r=mshal
Update tooltool manifests for official builds to use repacks
of the upstream rustc 1.17.0 (56124baa9 2017-04-24) stable release.

These repacks include cargo 0.19.0-beta.1 (03efb7fc8 2017-04-23)
to include support for the RUSTC_WRAPPER environment variable
needed for use of sccache with rust code.

MozReview-Commit-ID: L9Nq2iK4GK8
2017-04-27 15:24:57 -07:00
Ralph Giles c45f4c8f2a Bug 1359499 - Update builders to a cargo version with RUSTC_WRAPPER. r=mshal
Update tooltool manifests to reference rustc 1.16.0 stable repacks
which include cargo 1.19.0 nightly builds from 2017-04-19 which
support the RUSTC_WRAPPER environment override.

We're shipping with an unstable cargo while this feature makes its
way to release because it is necessary for deploying sccache support
for rust language code in our build and test automation.

MozReview-Commit-ID: Iow2894OPq7
2017-04-25 12:15:52 -07:00
Sylvestre Ledru 10c8ae8dba Bug 1354821 - Generate fennec nightly apk with org.mozilla.fennec_aurora as id r=rail
* nightly-aurora-id is a copy of nightly
* mobile/android/branding/aurora/ is a copy of nightly with the id and package name changed

MozReview-Commit-ID: 2VT0dHDXEMg
2017-04-18 11:59:55 +02:00
Ralph Giles 9267f09974 Bug 1357119 - Include aarch64 in rustc package for builders. r=mshal
Add the aarch64-linux-android libstd to the android-cross
repackage of the upstream rust 1.16.0 stable builds.

MozReview-Commit-ID: gmZL7QCodQ
2017-04-18 10:24:08 -07:00
Ted Mielczarek 0cb6d9e718 bug 1354048 - update sccache to rev 7a3847276d05deb564cb84a16b8c551b690aaa3e. r=mshal
MozReview-Commit-ID: C7o9uRGAeqd
2017-04-10 06:55:15 -04:00
Ralph Giles cd88202a83 Bug 1351031 - Update builders to rust 1.16.0. r=mshal
Repacks of upstream builds.

For release notes see https://blog.rust-lang.org/2017/03/16/Rust-1.16.html or
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1160-2017-03-16

MozReview-Commit-ID: 9dHGKGSbelG
2017-03-27 13:39:15 -07:00
Ralph Giles 192455dcb9 Bug 1346897 - Indent tooltool manifests. r=mshal
Apply a 2-character indent to in-tree tooltool manifests to make
them easier to read, and to make the formatting more consistent
so automating updates is simpler.

Modern editors will maintain json indentation. The only long
lines we have are already over 80 characters, so the extra space
shouldn't create new long lines.

Also update mercurial installer script to generate json with
the same indentation, even though its output is temporary.

Tooltool itself was updated to generate manifests with this
indentation in Bug 1325225.

MozReview-Commit-ID: DKj6nL9OENv
2017-03-15 12:27:51 -07:00
Aki Sasaki a86514209a bug 1339087 - adjust android merge day configs for tc builds. r=rail
MozReview-Commit-ID: 7l7w2KEUtbe
2017-02-13 13:34:26 -08:00
Ralph Giles 10048fb5ec Bug 1338311 - Update builders to rust 1.15.1. r=mshal
Update to the point release. These are repacks of the
upstream builds for 1.15.1 stable with appropriate
libstd builds for each target.

This incorporates the -fPIC fix for linux32 so we can
use upstream builds instead of our patched toolchain.
It also corrects the signature of vec::IntoIter::as_mut_slice
which was incorrect in 1.15.0.

MozReview-Commit-ID: JvEdGPwgS03
2017-02-09 14:43:26 -08:00
Ralph Giles 878b2aa026 Bug 1336155 - Update builders to rust 1.15.0 stable. r=mshal
Repack of the upstream builds of the rust 1.15.0 stable release.

MozReview-Commit-ID: KDjkSQSFrFA
2017-02-02 11:30:34 -08:00
Chris Manchester e79a7edfb9 Bug 1325485 - Upload buildsymbols from android artifact builds in automation. r=nalexander
MozReview-Commit-ID: GVUxwVCo91L
2017-02-08 12:22:17 -08:00
Benjamin Smedberg 32bc3d978c Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal
MozReview-Commit-ID: CuTK1hn0pVl
2017-01-25 12:30:49 -05:00
Justin Wood d593e8caeb Bug 1333921 - Taskcluster Android l10n nightlies broken due to missing API key. r=mshal a=bustage
MozReview-Commit-ID: CxiqFKZZpaz
2017-01-26 09:37:14 -05:00
Ralph Giles 92abef9515 Bug 1332759 - Update android builders to rust 1.15.0-beta.4. r=rillian
Bump the Android builders to the latest beta release to reduce
the variance when we update Firefox 53 to 1.15.0 stable early
in the Aurora phase.

Android builds were moved to 1.15 early to address a code generation
issue with devices without neon.

Work around an issue with tarball naming in the cargo packages.

MozReview-Commit-ID: KQfkWmXV9hQ
2017-01-20 15:18:26 -08:00
Andrzej Hunt 837011f5b4 Bug 1330986 - Override proguard config to fix VectorDrawable corruption on Android 4 r=sebastian
See https://code.google.com/p/android/issues/detail?id=209558 . On Devices
running Android 4 and below, VectorDrawable's can be corrupted due
to overzealous proguarding. This doesn't appear to have been
fixed in the support library yet, and even if it were fixed we
still wouldn't be able to switch to the most modern support
library without significant work.

MozReview-Commit-ID: 3ByogGygCEd
2017-01-17 12:16:42 +01:00
Ralph Giles 9e25037c94 Bug 1323773 - Update android builders to rust 1.15.0-beta.2. r=mshal
Fix code generation for armv7 devices without neon by switching
official builds to the 1.15 beta rust compiler. This fixes the
target generation (and standard library image) to not assume
neon is available, per Google's NDK guidelines.

We expect to update this to 1.15.0 stable before release.

MozReview-Commit-ID: HWJLLGJaUDY
2017-01-04 13:42:36 -08:00
Ralph Giles 8f62e20c84 Bug 1325445 - Update builders to rust 1.14.0 stable. r=mshal
Repacks of the upstream builds of rust 1.14.0 stable release.

MozReview-Commit-ID: B5DclOLeBjM
2016-12-23 13:20:26 -08:00
Carsten "Tomcat" Book ef798f401e Merge mozilla-central to mozilla-inbound 2016-12-22 16:25:35 +01:00
Ralph Giles 122f4e243c Bug 1322323 - Consolidate common artifact build mozconfig options. r=chmanchester
Collect common options used in artifact build tests in a single
mozconfig so they can be set more consistently.

Use this to make unsetting toolchain defines universal in these
tasks, fixing fallout from bug 1283898 which defined CARGO and
RUSTC everywhere, conflicting with --disable-compiler-environment
just like CC and CXX were conflicts in some artifact tasks.

MozReview-Commit-ID: 4SbxByjClQb
2016-12-21 15:44:48 -08:00
Nick Alexander ce8407ec28 Bug 1321408 - Move ENABLE_MARIONETTE to python configure. r=chmanchester
This patch tries to do three things:

1) Replace the ENABLE_MARIONETTE entrypoint with --enable-marionette.

2) Fold the default value -- forced on unless building for target OS
Android or building with toolkit gonk -- into the flag, rather than
embedding that condition in the tree.

3) Stop using AC_DEFINE and instead use only AC_SUBST, so that no
compiled code needs to be rebuilt if the flag is flipped locally.
n.b., each installer/Makefile.in knows that ENABLE_MARIONETTE is set
(in order to set -DENABLE_MARIONETTE=1 for
*/installer/package-manifest.in) due to it being an AC_SUBST.

MozReview-Commit-ID: AkkmybyP1uI
2016-12-16 15:49:14 -08:00
Ralph Giles d63932194c Bug 1283898 - Don't set RUSTC for artifact builds. r=gps
The --disable-compile-environment configure option used by
the artifact builds removes all support for toolchains,
including setting paths for them with environment options.

Unset the RUSTC and CARGO vars inherited from mozconfig.rust
in the artifact mozconfigs to accommodate the invalid option
check, just like we do for the CC and CXX options.

MozReview-Commit-ID: IwPetRaIY25
2016-12-13 11:16:53 -08:00
Ralph Giles 77fc8a00c3 Bug 1283898 - Make tooltool rust available in all automation. r=gps
Include mozconfig.rust in the common mozconfig so all jobs
will have the same rust config.

Automation mozconfigs all inherit from mozconfig.common,
so we can include mozconfig.rust there and not need it
anywhere else.

Remove --enable-rust from mozconfig.rust now that it's
the default. We only need the RUSTC and CARGO path
variables so jobs can find the toolchain installed from
the tooltool manifest. Also some automation jobs reject
the configure option if we set it unconditionally.

The --enable-rpath comment is no longer necessary; rust has
been consistently built this way for some time.

MozReview-Commit-ID: 2IeIIIinnPL
2016-11-30 16:10:33 -08:00
Ralph Giles 41610e26cd Bug 1283898 - Add rust to more automation builds. r=mshal
Jobs using these additional tooltool manifests need an appropriate
rust toolchain when rust code is enabled.

MozReview-Commit-ID: YM7yjJk3w5
2016-11-30 15:08:15 -08:00
Phil Ringnalda a19d006370 Merge autoland to m-c, a=merge
MozReview-Commit-ID: ZxgsQWdyOP
2016-11-30 19:17:54 -08:00
Nathan Froyd 14ea538bd6 Bug 1321073 - follow-up - don't --enable-rust for android-api-15-frontend; r=me 2016-11-30 09:27:27 -05:00
Nathan Froyd 4f717d0081 Bug 1321073 - enable Rust on Android builds; r=mshal 2016-11-30 05:38:17 -05:00
Ralph Giles bab1fcd8d9 Bug 1320960 - Add x86 target to tooltool rust android-cross. r=mshal
Update the tooltool manifests for the android builds to include
support for the i686-linux-android target.

MozReview-Commit-ID: EyALhnfG4Kz
2016-11-29 08:01:56 -08:00
Sebastian Kaspari 17d0340994 Bug 1320079 - Update tooltool manifests with findbugs deps. r=ahunt,maliu
MozReview-Commit-ID: 4Vu860y3Czm
2016-11-24 20:09:03 +01:00
Nick Alexander 28e3b417b3 Bug 1285608 - Part 1: Add Android moz.build and Gradle artifact build configs. r=maja_zf
MozReview-Commit-ID: AXh5ueeUs38
2016-11-29 20:10:31 -08:00
Ralph Giles 3a6857de1a Bug 1318531 - Update builders to rust 1.14.0-beta.2. r=mshal
Update tooltool manifests to repacks of upstream builds of
rustc 1.14.0-beta.2 (e627a2e6e 2016-11-16)
cargo 0.15.0-nightly (a9c23dd 2016-11-15)
for the relevent hosts and target platforms.

We prefer to use stable rust but this bump gets us debuginfo
for the rust standard library on all platforms, which we hope
will improve crash reporting (bug 1268328). That is higher
priority. The rust 1.14 version should be in stable release
before Firefox 53 goes to Aurora, so we'll still stabilize
and ship with stable rust.

This build also contains the fix for the arm code generation
bug blocking update from 1.12 on android, so we can use 1.13
language features in Firefox 53. For more information, see
https://github.com/rust-lang/rust/pull/37815

This doesn't update the native MacOS build because of an
openssl link issue with cargo. This is resolved upstream
for rust 1.15; getting that ported to a later 1.14 beta is
tracked in https://github.com/rust-lang/rust/issues/37969

MozReview-Commit-ID: JbJTd4D7VOu
2016-11-23 06:22:30 -08:00
Ralph Giles cc3559af93 Bug 1318531 - Fix whitespace in tooltool manifests. r=mshal
Run the tooltool manifests through a python script to read the
json as an OrderedDict and when write it back out with normal
tooltool formatting options. This regularizes the whitespace,
fixing trailing spaces written by older versions of the python
json serializer, dos-vs-unix line endings, and regularizing
opening '[{' and closing '}]' to be on separate lines.

The android manifests have a 'versions' key which has indenting,
unlike the rest of the files. I've left that as-is.

MozReview-Commit-ID: EVW1YlgRJJL
2016-11-22 16:15:27 -08:00
Carsten "Tomcat" Book 98e701bcdb merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Nick Alexander 5c04b75374 Bug 1318823 - Use com.getkeepsafe.dexcount in Gradle builds. r=sebastian
MozReview-Commit-ID: DHkWkztgJZB
2016-11-18 18:28:58 -08:00
Ted Mielczarek fce6e4e4a2 bug 1286934 - Switch to using sccache2. r=gps
This patch does a few things:
1) Change all the in-tree tooltool manifests to contain sccache2 instead of the existing Python sccache
2) Change mozconfig.cache to point at sccache.
3) Lightly tweak the --with-cccache configure option to support sccache, and detect whether we're using ccache or sccache and set an option appropriately.
4) Add a MOZ_SCCACHE_VERBOSE_STATS option, and add a target in the top-level Makefile to make sccache spit out its stats at the end of the build. This is useful to see the cache hits/errors until we get something better.
5) Add MOZ_USING_SCCACHE to the build telemetry. Not that I think it will be immediately useful, but for future use.

MozReview-Commit-ID: 9lrdLwNj5Bm
2016-08-25 18:39:57 -04:00
Nick Alexander cd2589424a Bug 1291372 - Produce Maven repository with GeckoView Javadoc and Sources JARs. r=snorp
We use a Maven repository and the (misleadingly named!) uploadArchives
task because this is the best way to make Android Studio download and
recognize the Javadoc and sources.  With this, it's automatic; with a
single AAR file, it's a nightmare of point-and-click configuration.

This patch does a bunch of Gradle hacking to make -javadoc and
-sources JARs; there's nothing special or particularly likely to break
here.

This patch also adds Proguard declarations to the :geckoview library
project.  That involves moving a good part of the Proguard
configuration into mobile/android/geckoview.  (I also expand upon the
existing configuration.)  This should be only a re-arrangement, and
the resulting file is included in the original, so nothing should be
changed.

MozReview-Commit-ID: BGNW1v92J0k
2016-11-07 20:07:30 -08:00
Nathan Froyd 4e679ce726 Bug 1029245 - part 2 - upgrade builds to use GCC 4.9.4; r=glandium 2016-12-21 04:28:08 -05:00
Eugen Sawin f561409ffe Bug 1307886 - [1.2] Remove szip support. r=glandium 2016-10-28 12:59:23 +02:00
Ralph Giles 25c209651f Bug 1306438 - Update builders to rust 1.12.0 stable; r=mshal
Update builders to repacks of the upstream stable builds.
2016-10-15 22:16:13 +00:00
Nick Alexander 872d085d9b Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian
We need to bump the Gradle Deps task, which fetches dependencies, to
include new test dependencies; and use freshly uploaded tooltool
archives (manually uploaded) containing the new test dependencies.

MozReview-Commit-ID: 8bNOVQPHlk6
2016-10-05 20:23:38 -07:00
Eugen Sawin 3c418c9f9e Bug 1305461 - [1.2] Add Android support annotation JAR to mozglue and import Android ProGuard config for extended annotation support. r=sebastian 2016-09-30 16:55:40 +02:00
Grigory Kruglov f972b88aa3 Bug 1300094 - Update robolectric to 3.1.2 r=sebastian
MozReview-Commit-ID: KuvzMbZ2n1q
2016-09-22 13:42:42 -07:00
Grigory Kruglov 6ba1730796 Bug 1300094 - Update Gradle to 2.14.1 and Gradle Plugin to 2.1.3 r=sebastian
MozReview-Commit-ID: KDimL7VeEA2
2016-09-22 14:31:01 -07:00
Ralph Giles e4e35b34b9 Bug 1296403 - Update tooltool rustc to 1.11.0. r=mshal
Repacks of upstream builds of rust 1.11.0 stable with std libraries
for the appropriate targets. Remove the separate rust-std package
references since the new repacks include the necessary targets.

Also update clang and hazard builds to the latest toolchain.

MozReview-Commit-ID: K7oBxQZnLPu
2016-09-06 13:09:56 -07:00
Nick Alexander 0bd924a1f9 Bug 1292762 - Set GRADLE_USER_HOME to avoid sdk-manager-plugin intermittent. r=sebastian
MozReview-Commit-ID: 2Ha0B9xelqm
2016-08-31 11:38:13 -07:00
Sebastian Kaspari 6ac66b0d04 Bug 1296335 - Update android-api-15-* mozconfig files to point to new gradle folder. r=Callek
MozReview-Commit-ID: 3iKKrXH4rJt
2016-08-19 16:14:14 +02:00
Sebastian Kaspari 47f51ad94f Bug 1296335 - Update releng.manifest files to point to new gradle archive. r=Callek
MozReview-Commit-ID: 6jwlnzkDVko
2016-08-19 16:11:04 +02:00
Mike Hommey d7bffee149 Bug 1292463 - Always set --enable-warnings-as-errors for MOZ_AUTOMATION builds. r=chmanchester
And remove it from mozconfigs.
2016-08-10 10:49:56 +09:00