Telegram-Android/TMessagesProj/jni/boringssl/README.MD

35 lines
1.1 KiB
Markdown
Raw Normal View History

2015-09-24 22:52:02 +02:00
cmake, ninja, go are required
2018-07-30 04:07:02 +02:00
export ANDROID_NDK=/Applications/sdk/ndk-bundle
/Applications/sdk/cmake/3.6.4111459/bin/cmake -DANDROID_ABI=armeabi-v7a \
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
-DANDROID_NATIVE_API_LEVEL=16 \
-DCMAKE_BUILD_TYPE=Release \
-DARCH=arm \
-DOPENSSL_NO_ASM=1 \
-GNinja ..
/Applications/sdk/cmake/3.6.4111459/bin/cmake -DANDROID_ABI=x86 \
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
-DANDROID_NATIVE_API_LEVEL=16 \
-DCMAKE_BUILD_TYPE=Release \
-DARCH=x86 \
-GNinja ..
/Applications/sdk/cmake/3.6.4111459/bin/cmake -DANDROID_ABI=x86_64 \
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
-DANDROID_NATIVE_API_LEVEL=21 \
-DCMAKE_BUILD_TYPE=Release \
-DARCH=x86_64 \
-GNinja ..
/Applications/sdk/cmake/3.6.4111459/bin/cmake -DANDROID_ABI=arm64-v8a \
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
-DANDROID_NATIVE_API_LEVEL=21 \
-DCMAKE_BUILD_TYPE=Release \
-DARCH=arm64-v8a \
-GNinja ..
/Applications/sdk/cmake/3.6.4111459/bin/cmake --build .