-
Notifications
You must be signed in to change notification settings - Fork 64
/
android.yml
32 lines (30 loc) · 1.06 KB
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- # ceedling project file for android
:import:
- 3rd_party_deps.yml
- unix.yml
:release_build:
:output: libhelium.a
:dependencies:
:libraries:
- :name: WolfSSL
:source_path: third_party/wolfssl
:artifact_path: third_party/builds/wolfssl_build
:fetch:
:method: :git
:source: $HE_WOLFSSL_SOURCE
:tag: $HE_WOLFSSL_TAG
:environment:
- C_EXTRA_FLAGS= -fPIC -D_FORTIFY_SOURCE=2 -DWOLFSSL_MIN_RSA_BITS=2048 -DWOLFSSL_MIN_ECC_BITS=256 -DFP_MAX_BITS=8192 -fomit-frame-pointer -DWOLFSSL_NO_SPHINCS -DWOLFSSL_TLS13_MIDDLEBOX_COMPAT
- LIBS=-llog -landroid
:build:
- git apply ../../wolfssl/*.patch
- autoreconf -i
- ./configure $CROSS_OPTS C_EXTRA_FLAGS="$C_EXTRA_FLAGS" --prefix=$(pwd)/../builds/wolfssl_build $HE_WOLFSSL_CONF_FLAGS --disable-crypttests
- make
- make install
:artifacts:
:includes:
- include
- include/wolfssl # needed e.g. for mock_ssl.h to find wolfssl/ssl.h
:static_libraries:
- lib/libwolfssl.a