Commit e0ca4b86 authored by Max Kellermann's avatar Max Kellermann

android: require SDK version 14

Closes #213.
parent 31c206bf
...@@ -2,6 +2,8 @@ ver 0.20.17 (not yet released) ...@@ -2,6 +2,8 @@ ver 0.20.17 (not yet released)
* output * output
- alsa: fix crash bug with 8 channels - alsa: fix crash bug with 8 channels
* fix real-time and idle scheduling with Musl * fix real-time and idle scheduling with Musl
* Android
- fix compatibility with Android 4.0
ver 0.20.16 (2018/02/03) ver 0.20.16 (2018/02/03)
* output * output
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
android:versionCode="16" android:versionCode="16"
android:versionName="0.20.17"> android:versionName="0.20.17">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17"/> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17"/>
<application android:icon="@drawable/icon" android:label="@string/app_name"> <application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".Main" <activity android:name=".Main"
......
...@@ -46,7 +46,7 @@ class AndroidNdkToolchain: ...@@ -46,7 +46,7 @@ class AndroidNdkToolchain:
self.ndk_arch = 'arm' self.ndk_arch = 'arm'
android_abi = 'armeabi-v7a' android_abi = 'armeabi-v7a'
ndk_platform = 'android-21' ndk_platform = 'android-14'
# select the NDK compiler # select the NDK compiler
gcc_version = '4.9' gcc_version = '4.9'
...@@ -87,7 +87,7 @@ class AndroidNdkToolchain: ...@@ -87,7 +87,7 @@ class AndroidNdkToolchain:
self.cppflags = '--sysroot=' + sysroot + \ self.cppflags = '--sysroot=' + sysroot + \
' -isystem ' + os.path.join(install_prefix, 'include') + \ ' -isystem ' + os.path.join(install_prefix, 'include') + \
' -isystem ' + os.path.join(sysroot, 'usr', 'include', arch) + \ ' -isystem ' + os.path.join(sysroot, 'usr', 'include', arch) + \
' -D__ANDROID_API__=21' ' -D__ANDROID_API__=14'
self.ldflags = '--sysroot=' + sysroot + \ self.ldflags = '--sysroot=' + sysroot + \
' -L' + os.path.join(install_prefix, 'lib') + \ ' -L' + os.path.join(install_prefix, 'lib') + \
' -L' + os.path.join(target_root, 'usr', 'lib') + \ ' -L' + os.path.join(target_root, 'usr', 'lib') + \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment