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

11 Коммитов

Автор SHA1 Сообщение Дата
Thom Chiovoloni 26fa2fa3c6 Update SQLcipher to 4.0.0 2018-12-14 14:10:21 -08:00
Nick Alexander 2f80134492 Produce libs/ and build `forUnitTests` artifacts for win32-x86-64 in automation.
This makes the `forUnitTests` artifacts include a .dll for
Windows (JNA's win32-x86-64) to go with the .so for Linux (JNA's
linux-x86-64) and macOS (JNA's darwin).

This uses the MingW 64-bit toolchain (i.e., the Rust target
x86_64-pc-windows-gnu) for libs/ and therefore requires it for
producing the DLL for unit testing against as well.  That's
unfortunate because local developers are probably happier building
against MSVC; but it's hard to ship libs/ for _static_ use against
MSVC out of our (Linux Docker-based) automation.

After installing MingW 64 on my Windows laptop, this works fine locally.
2018-11-28 14:20:01 -08:00
Nick Alexander 26001fc8f1 Use OpenSSL 1.0.2p. Fixes #193. 2018-11-16 15:14:10 -08:00
Nick Alexander 4299b40855 [automation] Cross compile libs from host Linux to target macOS.
This does a bunch of things:

- cross compiles OpenSSL and SQLcipher from host Linux to target macOS
- enables running the `testDebug` targets for the library projects
-- this runs the existing tests for logins against a real SQLcipher DB \o/

The `.a` files are not yet packaged for consumption by local builders;
that'll come next.
2018-11-01 20:40:29 -07:00
Thom Chiovoloni fb985a1736 Pre: Build sqlcipher as part of `./build-all.sh desktop` 2018-09-19 10:35:24 -07:00
Edouard Oger 9a2a57d2f1 Provide a helper script to set-up android toolchains (#182) 2018-08-20 10:17:35 -07: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 fc75924664 Remove cjose/jansson build 2018-07-11 15:07:07 -04:00
Edouard Oger 23e289693f
Add desktop library builds (#63) 2018-05-28 14:44:34 -04:00
Edouard Oger 29a1b675a7
Unify lib dependencies build scripts (#61) 2018-05-25 16:39:00 -04:00