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

18 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander a3bcf301bf
Publish logins AAR to nalexander's personal bintray. (Fixes #189) (#199) r=vladikoff,tcsc
* Pre: Bump version to 0.3.2.

This just needs to be greater than 0.3.1, the last version I pushed in
testing.

* Publish logins AAR to nalexander's personal bintray.

* Post: Bump task timeout for build and publishing.

Building everything for three architectures just takes a long time --
15 minutes per architecture or more.

I investigated speeding this up, and I conclude that compiling the
architectures in parallel is both work (you need to work around cargo
a little bit, and you need to use a Make jobserver to limit the total
thread pool) and doesn't pay off (I witnessed only about a 5-10%
speed-up locally).  My guess is that it pays off even less in AWS,
where IO throughput is relatively low and context switching relatively
more expensive.
2018-09-12 11:39:25 -07:00
Nick Alexander ef47e0565c [logins-api] Build `org.mozilla.sync15.logins` AAR. (#178)
* [logins-api] Pre: Extract version and dependency details to top-level project.

* [logins-api] Pre: Fix issue with launching intents on Android 21 devices.

When invoked outside of an `Activity` `Context`, we need to launch a
new Android task.

* [logins-api] Use `rust-android-gradle` plugin to integrate Rust into logins-api.

* [logins-api] Publish `org.mozilla.sync15.logins` when tagged.

* Add `scopes` map to the tag task in .taskcluster.yml

* Comment out bintray portions of .taskcluster.yml for now (#189)
2018-08-20 10:41:04 -07:00
Edouard Oger 1a70dc04a8 Fix taskcluster artifact location 2018-08-14 21:58:42 -07:00
Edouard Oger 86c78dcdac Clone in application-services
This should hopefully fix CI
2018-08-13 10:26:51 -07:00
Nick Alexander ab293349d8
[fxa-client] Statically link OpenSSL into `libfxa_client.so`. (Fixes #172) (#173) r=@eoger
This reduces the set of artifacts and will require changes in the
`android-components` repository.

SQLcipher is still built (statically), but it's not exposed as a Task
Cluster artifact.  When we get to shipping the Logins API, we'll use
`libsqlcipher.a` (statically, like we do `lib{crypto,ssl}.a`.
2018-08-09 16:49:02 -07:00
Nick Alexander a0733d77a5
[fxa-client] Target Android API 21 when building native code. (#170) r=@eoger
It's non-trivial to build OpenSSL and target Android API 21.  NDK
r17{b} has problems that I wasn't able to work-around, either for
OpenSSL 1.0.2* or for 1.1.0*.  Using an older NDK with the
--deprecated-headers flag to `make_standalone_toolchain.py` (in the
Docker image) addresses the problem... but the --deprecated-headers
flag is itself removed from r17*.
2018-08-09 16:23:42 -07:00
Edouard Oger c23022ab96 Rename fxa-rust-client to fxa-client 2018-08-09 15:32:18 -04:00
Nick Alexander 85a266775e
Build SQLcipher for Android in automation. (#148) r=eoger
SQLcipher depends on OpenSSL, so it's not worth much effort to try to
separate them.
2018-08-03 16:26:45 -07:00
Nick Alexander ac7e7fb4ae
Build FxA Rust client in pull requests. (#141) r=eoger
There are a number of changes here.  The most obvious is that we run a
decision task and build a taskgraph for PRs now.  But internally, many
things are ready to generalize to non-FxA Rust Client projects.  The
NDK and Rust toolchains are built into a Docker image (with a very
verbose name!) that is shared with Mentat.  It's nice!  The standalone
toolchains are installed in that image.  The image sets:

ANDROID_NDK_HOME=/build/android-ndk
ANDROID_NDK_API_VERSION=26
ANDROID_NDK_TOOLCHAIN_DIR=/build/android-ndk-toolchain

In $ANDROID_NDK_TOOLCHAIN_DIR the toolchains are named like
$ARCH-$ANDROID_NDK_API_VERSION; this allows to cache multiple versions
of the toolchain (if needed).  So we have, say

/build/android-ndk-toolchain/arm-26
/build/android-ndk-toolchain/arm64-26
/build/android-ndk-toolchain/x86-26

This configuration is what the `rust-android-gradle` plugin expects.
That plugin will be used for the Android Logins API in this repository.

The Dockerfile is in the Mentat repository right now, but I expect it
to migrate to application-services (or even android-components)
eventually.
2018-08-03 16:25:10 -07:00
Edouard Oger 0f72142e10 Reduce produced binary size 2018-07-11 16:42:01 -04:00
Edouard Oger f52e8ccf37 Point to the right zips 2018-06-21 11:39:38 -04:00
Edouard Oger 9901717918 Do not zip fxa-client* folders 2018-06-21 10:43:28 -04:00
Edouard Oger 9c4ab24677 Flatten taskcluster dependencies 2018-06-20 11:29:49 -04:00
Edouard Oger 77060e57ea Use event.version instead of event.head.sha 2018-06-19 16:12:30 -04:00
Edouard Oger 4a401e0a85 Quote variables in command 2018-06-19 16:05:43 -04:00
Edouard Oger 61df378017 Fix .taskcluster.yml 2018-06-19 16:00:11 -04:00
Edouard Oger 44a34ca451
Add taskcluster versionned route (#75) 2018-06-18 10:02:08 -07:00
Edouard Oger 16eb3cb98d
Taskcluster Android build (#72) 2018-06-07 14:54:11 -04:00