nc-wc-ndk_pub/README_DEV.rst

77 lines
1.5 KiB
ReStructuredText

================
DEVELOPER README
================
Project Details
---------------
* ./wolfssl-lib
- builds source from OEM WolfSSL repository!! =)
- only needs to be built once (when you want a new library)
- generates BOTH shared (.so) and static (.a)
- static (.a) is really just a zip of all the files compiled staticly
* ./wolfssl-jni
- JNI for the WolfSSL library
- contains BOTH C and Java files (for JNI to work dummy)
- expects "libwolfssl.a" file to link with during cmake compile
- example: ./wolfssl-jni/libs/wolfssl-lib/arm64-v8a
- OUTPUT: "wolfssl-jni.aar"
* ./ccc-jni (default main source code)
- TEST: test code only, does nothing more, no C files at this time
- no C files at this time, just java files to test lib
- broken!! maybe replace
Requirements
------------
How To Build
------------
WOLFSSL
1. $ ./init.sh
2. $ gradle build
BUILD Information
=================
ndk 2018
--------
* NDK: 18.1.5063045
* Android Bulid tools: 28.0.3
* CMake: 3.6.4111459
* Gradle: 4.10.2
* Android Gradle plugin: 3.2.1
* SDK Target: 26
* SDK Min: 23
gradle version
--------------
Gradle version: Gradle 4.10.2.
Build time: 2018-09-19 18:10:15 UTC
Revision: b4d8d5d170bb4ba516e88d7fe5647e2323d791dd
Kotlin DSL: 1.0-rc-6
Kotlin: 1.2.61
Groovy: 2.4.15
Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b06)
OS: Mac OS X 10.13.6 x86_64