aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-07-23 19:12:29 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-07-23 19:17:01 +0200
commitcebab02bf4ee3f8d38609d4c76030607073ca179 (patch)
treedc1e15685c3968e6c08b3c71b0c6428e72709acf /src/csharp
parent53d2899374e74b4185a55e3fc26b64d0a02840a8 (diff)
C# native libraries should support Android 4.4+ (=api level 19)
Diffstat (limited to 'src/csharp')
-rwxr-xr-xsrc/csharp/experimental/build_native_ext_for_android.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/csharp/experimental/build_native_ext_for_android.sh b/src/csharp/experimental/build_native_ext_for_android.sh
index 5687a43a4e..6518e03c53 100755
--- a/src/csharp/experimental/build_native_ext_for_android.sh
+++ b/src/csharp/experimental/build_native_ext_for_android.sh
@@ -36,6 +36,7 @@ cd build
# ANDROID_ABI in ('arm64-v8a', 'armeabi-v7a')
# e.g. ANDROID_ABI=armeabi-v7a
+# android-19 corresponds to Kitkat 4.4
${ANDROID_SDK_CMAKE} ../.. \
-DCMAKE_TOOLCHAIN_FILE="${ANDROID_NDK_PATH}/build/cmake/android.toolchain.cmake" \
-DCMAKE_ANDROID_NDK="${ANDROID_NDK_PATH}" \
@@ -44,7 +45,7 @@ ${ANDROID_SDK_CMAKE} ../.. \
-DRUN_HAVE_STD_REGEX=0 \
-DRUN_HAVE_STEADY_CLOCK=0 \
-DCMAKE_BUILD_TYPE=Release \
- -DANDROID_PLATFORM=android-28 \
+ -DANDROID_PLATFORM=android-19 \
-DANDROID_ABI="${ANDROID_ABI}" \
-DANDROID_NDK="${ANDROID_NDK_PATH}"