Граф коммитов

296 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander 7a883b81e5 Bug 1384695 - Use jcenter and maven.google.com Gradle tooltool archives. r=sebastian
These archives were produced by
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b6d8156b5e765b1a9087ff27902268968ae36df6&selectedJob=118204985,
which will of course expire shortly.

MozReview-Commit-ID: 1op5wdp81vZ

--HG--
extra : rebase_source : e546c629506e3c29d0720ef4709a14f4a24de45b
2017-07-26 15:36:54 -07:00
Nick Alexander 727570c6d9 Bug 1384695 - Fetch Android Gradle dependencies from jcenter and maven.google.com. r=sebastian
I took the time to change jcentral (which is just wrong) to jcenter,
which is the tag used in the nexus.xml.

Order matters!  Gradle resolves dependencies in the order given.  That
is, jcenter is preferred to google.

MozReview-Commit-ID: CcWBukhiHa4

--HG--
extra : rebase_source : 73a3b3f013d9154ff3f5732593ba9fbe2b75d1f0
2017-07-26 12:03:45 -07:00
Nick Alexander 1d27f5cfe8 Bug 1376306 - Use new Android SDK and Java 1.8 tooltool toolchains. r=sebastian
MozReview-Commit-ID: 8xwg3bgkBqD

--HG--
extra : rebase_source : 1d6629c6efa85737d155853568d755670f3ea6e0
2017-07-27 11:23:30 -07:00
Nick Alexander 6e4a13fad8 Bug 1376306 - Bootstrap and upload java_home.tar.xz; bump Java to 1.8. r=dustin,sebastian
MozReview-Commit-ID: 3EOsrOp924f

--HG--
rename : taskcluster/scripts/misc/repackage-jdk-centos.sh => taskcluster/docker/android-gradle-build/bin/repackage-jdk-centos.sh
extra : rebase_source : 308d03828a78036076f6cdb68587be6694ac49ae
2017-07-25 20:43:14 -07:00
Nick Alexander fcb4a0775e Bug 1255227 - Part 2: Bootstrap and upload android-sdk-linux.tar.xz. r=dustin,sebastian
Before this patch, we used the Gradle sdk-manager-plugin to download
and install Android SDKs and other dependencies.  This plugin is now
deprecated; the main dependency downloading functionality has been
incorporated into the Android-Gradle build plugin.  Unfortunately,
it's been incorporated into newer versions that in turn require newer
toolchains than we currently support, so we can't use the new
functionality immediately.

Rather than replace sdk-manager-plugin with equivalent Gradle-based
functionality, this ticket uses recently added bootstrap functionality
to bootstrap the Android SDK during the dependencies task.  It then
_uses_ that SDK to run the dependency fetching task, _produces_ an
android-sdk-linux.tar.xz, and then _uploads_ the new artifact as a
private artifact, ready to be pushed into tooltool.  This avoids
engineers building this critical part of the toolchain locally
themselves, and will also feed into ongoing work to push toolchain
artifacts into build jobs in Task Cluster.


MozReview-Commit-ID: B6FC0ugaCef

--HG--
extra : rebase_source : 782719438a464b8021db58be398be9d5afb3b543
2017-07-19 15:45:31 -07:00
Nick Alexander 4bbca312cf Bug 1384680 - Generalize GRADLE_MAVEN_REPOSITORY to GRADLE_MAVEN_REPOSITORIES. r=gps,sebastian
I'm confident nobody is configuring this locally, so there's no reason
to keep the existing name (and grow the new semantics) nor to
deprecate the existing name explicitly.

MozReview-Commit-ID: HW3epgwZFpO

--HG--
extra : rebase_source : d328f9ce9299dcd80e508925314236747aee1ea3
2017-07-26 11:28:07 -07:00
Wes Kocher f261d30656 Merge inbound to central, a=merge
MozReview-Commit-ID: LIvzHYZ1ar8
2017-07-27 15:44:09 -07:00
Mike Hommey 752fca1923 No bug - Use l10n tooltool manifest for osx repacks and disable compile environment for android l10n. r=Callek,a=bustage
This should fix the repacks bustage from bugs 1384418, 1384419 and 1384420.
2017-07-28 06:59:30 +09:00
Mike Hommey 0f1ddd55b2 Bug 1384418 - Remove gcc entries from tooltool manifests. r=gps
--HG--
extra : rebase_source : 815c57f65ee9a9954d11ac890fb6e0ba56f1842c
2017-07-26 15:28:29 +09:00
Mike Hommey ba682f0aa4 Bug 1384417 - Remove sccache entries from tooltool manifests. r=gps
--HG--
extra : rebase_source : 11719df12969beea3f717dad9dc596e4d842bf69
2017-07-26 15:05:13 +09:00
maliu f4647149e4 Bug 1316462 - Increase minsdk to 16 and remove EOL notification. r=sebastian, r=snorp, r=rnewman
MozReview-Commit-ID: 7o1xqIqVWC6

--HG--
extra : amend_source : acfca8a9899399772a0387f2a3cbba27969d367a
2017-07-27 08:27:08 -04:00
Mike Hommey f751ce9e63 Bug 1382502 - Include mozconfig.cache in most cases. r=ted
We want most builds to be actually using sccache, so we include
mozconfig.cache from mozconfig.common. However, since the --with-ccache
configure option doesn't exist on non-compile jobs (e.g. artifact
builds), we move to using the CCACHE environment variable instead, which
allows us to unset it in mozconfig.no-compile.

And since mozconfig.no-compile is always included where no_sccache is
set, we can remove that variable.

--HG--
extra : rebase_source : a8c743de1fd7a3c0fbc53f7c233df36585897767
2017-07-20 11:07:53 +09:00
Ralph Giles 9cc4f48d33 Bug 1382743 - Update builders to rust 1.19.0. r=mshal
New upstream stable release.

Unions (untagged enums) for (unsafe) interoperability with C.
The `break` keyword can yield an expression value from a `loop`.
Non-capturing closures coerce to function pointers.
Numeric initializers for tuple structs.

MozReview-Commit-ID: 6TMjzXZuBKg

--HG--
extra : rebase_source : 3596ad4a1a1e299a4520fe064389912aeb986968
2017-07-20 11:38:13 -07:00
Nick Alexander e3e9c413f0 Bug 1382774 - Configure android-gradle-dependencies to use jcenter instead of central. r=sebastian
The nexus.xml included in this patch is the result of starting Nexus
and manually adding the jcenter proxy repository using the Nexus web
administration interface (all in a Docker container).  I know of no
way to do this configuration incrementally without the web interface.
The diff between new and the default generated configuration is a
single new <repository>..</repository> element.

MozReview-Commit-ID: 2Bg5qX41pHB

--HG--
extra : rebase_source : c945acabcedd98439a0ca0e26251bab1a41de197
extra : source : 9b794a7fc266da1ae81afd795f91e72d04bbc992
2017-07-18 17:59:57 -07:00
Sebastian Hengst 98341b81c6 Backed out changeset 2bec8580742b (bug 1370753) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: JpJRsrL0r9B
2017-07-14 15:04:53 +02:00
Gian-Carlo Pascutto a52e2588ca Bug 1370753 - Add Google API key to Android builds. r=glandium
MozReview-Commit-ID: KDgbZr7ygpk

--HG--
extra : rebase_source : 1c930e544c989cf3cd194e772e607998bfc29a3c
2017-07-10 16:53:12 +02:00
Ted Mielczarek 20e3bc272b bug 1376593 - update sccache to 69334a26ba65fc88e3934271a2ce6781c51b445e to fix a regression. r=froydnj
MozReview-Commit-ID: E1WQIZ7RLIF

--HG--
extra : rebase_source : 923b606ebf149a2c6c91623db85e46621494d7c8
2017-07-05 15:41:45 -04:00
Mike Hommey 2160b355d0 Bug 1375859 - Build fennec with in-tree zlib. r=snorp
--HG--
extra : rebase_source : dc43403e5778a88897670475ace4832837cf9a6f
2017-06-28 04:00:41 +09:00
Ted Mielczarek 75cc29f027 bug 1357825 - Update sccache to 9155425cfc038d6a60deb50816055f4e93b93ad1. r=mshal
MozReview-Commit-ID: 73YTvhIAKYZ

--HG--
extra : rebase_source : 417bd1b26720d73bf28e91e3ee0bb9c0453c990a
extra : histedit_source : d3e8c8d9a84c8bd28dd44611845a8155e6a8b6b3
2017-05-26 12:43:18 -04:00
Justin Wood cf6c86c339 Bug 1372541 - explicitly disable MOZ_INSTALL_TRACKING for l10n, to avoid failures from missing sdk keys, which will all be inherited from en-US anyway. r=ted
MozReview-Commit-ID: 8Iec6BWnPnj

--HG--
extra : rebase_source : 4ed3a8380945104df8b3ee636fe9606994f1163c
2017-06-13 09:24:26 -04:00
Ralph Giles 041eca1efd Bug 1371406 - Update builders to rust 1.18.0. r=mshal
New stable release.

Slightly faster build times, finer-grained 'pub' and better
struct packing.

MozReview-Commit-ID: 5A62HcWbT1S

--HG--
extra : rebase_source : a011f55e8fbbdcf294ba8f2b05ef7c576209c17b
2017-06-08 13:28:52 -07:00
Nick Thomas 8b05c9515f Bug 1369551 - Remove unused release mozconfigs for fennec, r=mtabara
* removes old files mobile/android/config/mozconfigs/*/{release,l10n-release}
* updates merge day scripts (did some config dumping to verify, but didn't run migration)
* updates testing/mozharness/configs/single_locale/{staging_,}mozilla-{beta,release}_android-api-15.py to remove bogus mozconfig definition, which now comes from single_locale/tc_android-api-15.py

I could go on and look at configs/multi_locale, which appear to be unused, but I've got to draw a line somewhere.

MozReview-Commit-ID: 2zLYlMj0B9t

--HG--
extra : rebase_source : 2aee89720391890fd0c637589282af0066edb4bc
2017-06-02 12:20:57 +12:00
Nevin Chen 0f2aff9431 Bug 1361664 - Part2. Create MVP Triggers and Deeplinks for Mobile Marketing Automatin. r=maliu
This patch do 6 things. They are related so I put them in the same patch.
1. Extract MmaEvent Name
2. If MMA is diabled, don't send event.
3. Add check before sending 'Set Default Borwser' deep link
4. Add user attribute for delay messaging focus install status.
5. If the user pref off at runtime, we ask Leanplum to stop and prevent our app sending event to Leanplum.
6. Fix proguard. Only keep necceary files.

MozReview-Commit-ID: APEmr1JXBLH

--HG--
extra : rebase_source : 35b54c11004905c950c1ace84507554a2e1b4f39
2017-05-17 01:25:45 +08:00
Nick Alexander d59f61ebff Bug 1365089 - Follow-up: Don't require Leanplum SDK secrets for repacks. r=nthomas
The l10n builders don't have the access to secrets that the regular
builders do, so don't expect Leanplum SDK secrets in l10n repacks.

Since MOZ_ANDROID_MMA requires a Leanplum SDK token file, we'd also
need to opt-out of MOZ_ANDROID_MMA in this case.  I interpret this to
show that the update channel is not the right mechanism with which to
enable the Nightly-only MOZ_ANDROID_MMA feature; it's better to just
opt-in for Nightly builds.  This patch does that.

MozReview-Commit-ID: 81WTFjsT7br

--HG--
extra : rebase_source : 5338fb33c13733335ed4f9e58cc3ea969d6e705a
2017-05-29 09:48:32 -07:00
Nick Alexander b6fef5fc95 Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : f85706c5a0911c7d2edc109d8c47ecc1c1bc6ffc
2017-05-26 12:31:20 -07:00
Sebastian Hengst 66d9eb3103 Backed out changeset 9c7688e54e92 (bug 1365089) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: FxH7nBskSNj
2017-05-28 16:53:10 +02:00
Nick Alexander 0a0a08ec4c Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : 5390cf8c5c2eb7ffe675757b372debbb639bc900
2017-05-26 12:31:20 -07:00
Jim Chen f3b0a31d44 Bug 1366404 - Add AArch64 Nightly build; r=nalexander r=dustin
Add configurations for building and uploading AArch64 Nightly builds, in
tier 1 and without artifact support for now.

As for not denoting AArch64 builds as "api-21", I don't really think we
will split AArch64 the way we split ARMv7 before.  Originally, we split
into API 9 and API 11+ because of lots of "constrained" devices that
were stuck with API 9. We made an API 9 APK in order to lower our
footprint on those devices. That probably will not be a problem for
AArch64, because devices with API 21+ and AArch64 support are usually
more than capable for running Fennec. Secondly, it was a big change for
Android going from API 9 to API 11+, so we saved quite a bit of
code/resources when we stripped out API 11+.  I don't see such drastic
changes going from API 21 to upcoming versions, so even if we did split,
I don't think it'll get us much benefit.

MozReview-Commit-ID: 7N7Slv1pPgb
2017-05-25 16:53:33 -04:00
Ben Hearsum 40c77afec8 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn 2017-05-24 15:27:40 -04:00
Ben Hearsum e815bd14cc Backout bug 1357808 for android mochitest bustage. 2017-05-24 12:32:03 -04:00
Ben Hearsum 6803270aa6 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn
--HG--
extra : amend_source : d9338464f772e662701936d575248769cb996039
2017-05-24 10:40:07 -04:00
cnevinc e20c89db7b Bug 1351585 - Part 3. Add proguard for leanplum. r=maliu
MozReview-Commit-ID: L2wpreGGYDP

--HG--
extra : rebase_source : f2852989744e1bce0ee77a94eba92891acc9b256
2017-05-13 13:37:27 -07:00
Ted Mielczarek 9bcc883e51 bug 1357622 - update sccache to rev d3aa1116844b50c03015266d2f48235509fa7deb to pick up a fix for build failures. r=mshal
MozReview-Commit-ID: 8ixs6rYnE08

--HG--
extra : rebase_source : b4c315007cfb6c03e6534e381f6231d6c9bab54a
2017-05-09 09:12:26 -04:00
Jim Chen 8d537c0b39 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 744e5386aa 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

--HG--
extra : rebase_source : 346f88882774f072316714cf637a54d771d81a9a
2017-05-02 11:49:16 -07:00
Ralph Giles 819141aa38 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

--HG--
extra : rebase_source : 882b201282a0e13ed77ec5876972657eab81a562
2017-04-27 15:24:57 -07:00
Ralph Giles a256407bbf 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

--HG--
extra : rebase_source : f1a8e6cab612714f7b73ca8a14d14cabe9f4aef7
2017-04-25 12:15:52 -07:00
Sylvestre Ledru 392d4c4a1a 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

--HG--
extra : rebase_source : 7396a1a7eabb4037fb6936bfc1af10666a677e14
2017-04-18 11:59:55 +02:00
Ralph Giles 927fc2a00a 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

--HG--
extra : rebase_source : dc4072c3214188195aa6abda939d550df4e617d9
2017-04-18 10:24:08 -07:00
Ted Mielczarek adf4bd2737 bug 1354048 - update sccache to rev 7a3847276d05deb564cb84a16b8c551b690aaa3e. r=mshal
MozReview-Commit-ID: C7o9uRGAeqd

--HG--
extra : rebase_source : a432ff8bba31d3d33afe45d4a5d613a294106533
2017-04-10 06:55:15 -04:00
Ralph Giles e734305b80 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

--HG--
extra : rebase_source : 0fb93f9d7cc6e663f3c7eb662e29f4f0061244db
2017-03-27 13:39:15 -07:00
Ralph Giles a6e5969607 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

--HG--
extra : rebase_source : fc3f8616ec689d74e06c0db84c2b261825f86453
2017-03-15 12:27:51 -07:00
Aki Sasaki 6ea7c08a3a bug 1339087 - adjust android merge day configs for tc builds. r=rail
MozReview-Commit-ID: 7l7w2KEUtbe

--HG--
extra : rebase_source : 219e22ccb08e11a2aff944bb0fdf3cb4d3b42636
2017-02-13 13:34:26 -08:00
Ralph Giles 35ff9b03f3 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

--HG--
extra : rebase_source : 9edd9970d8328274311493c2c3c4fffa97b258a9
2017-02-09 14:43:26 -08:00
Ralph Giles 9fa33697c2 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

--HG--
extra : rebase_source : 7ca562b3d1cc4d051d9cfc25ef14fbbe2dbd77bb
2017-02-02 11:30:34 -08:00
Chris Manchester 9b25d55fc6 Bug 1325485 - Upload buildsymbols from android artifact builds in automation. r=nalexander
MozReview-Commit-ID: GVUxwVCo91L

--HG--
extra : rebase_source : ed6c112460128d1c0495a0ed2266170ced248222
2017-02-08 12:22:17 -08:00
Benjamin Smedberg 270de3f511 Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal
MozReview-Commit-ID: CuTK1hn0pVl

--HG--
extra : rebase_source : 4581c71360ccd81505079ee9e068ed2ca0431a6a
2017-01-25 12:30:49 -05:00
Justin Wood d01d00bce4 Bug 1333921 - Taskcluster Android l10n nightlies broken due to missing API key. r=mshal a=bustage
MozReview-Commit-ID: CxiqFKZZpaz

--HG--
extra : source : ea60d075a998cf5037cd9c31bf5ee8d0719bd816
2017-01-26 09:37:14 -05:00
Ralph Giles 6af75bbd06 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

--HG--
extra : rebase_source : 9448e0b948740fc3905ef70c8df316dc7342d52e
2017-01-20 15:18:26 -08:00
Andrzej Hunt e75d6e42c4 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

--HG--
extra : rebase_source : 2adeed63f88ca39a71feec60627fb812b76d3bb4
2017-01-17 12:16:42 +01:00