add android target (initial)

This commit is contained in:
Jeff Becker 2018-11-06 08:03:10 -05:00
parent ebf5adb495
commit bea13cef04
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
2 changed files with 1703 additions and 0 deletions

View File

@ -31,6 +31,9 @@ TESTNET_CLIENTS ?= 50
TESTNET_SERVERS ?= 50
TESTNET_DEBUG ?= 0
ANDROID_NDK ?= $(HOME)/Android/Ndk
ANDROID_SDK ?= $(HOME)/Android/Sdk
JSONRPC = OFF
CXX17 = ON
@ -127,6 +130,13 @@ testnet:
test: debug
$(TEST_EXE)
android-configure: clean
mkdir -p '$(BUILD_ROOT)'
cd '$(BUILD_ROOT)' && cmake -DANDROID=ON -DANDROID_NDK='$(ANDROID_NDK)' -DANDROID_ABI='$(ANDROID_ABI)' -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE='$(REPO)/contrib/cross/android.toolchain.cmake' '$(REPO)'
android: android-configure
$(MAKE) -C '$(BUILD_ROOT)'
abyss: debug
$(ABYSS_EXE)

File diff suppressed because it is too large Load Diff