Skip to content

Commit

Permalink
Merge pull request xbmc#2467 from koying/chgdroidapi14
Browse files Browse the repository at this point in the history
CHG: [droid] set minimum API to 14 (ICS)
  • Loading branch information
MartijnKaijser committed Apr 1, 2013
2 parents 918719f + 07185d9 commit 4587fed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/README.android
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ specifies where the resulting toolchain should be installed (your choice).
# ls platforms
# cd build/tools
# ./make-standalone-toolchain.sh --ndk-dir=../../ \
--install-dir=<android-toolchain>/android-9 --platform=android-9
--install-dir=<android-toolchain>/android-14 --platform=android-14

ATTENTION FOR X86 BUILDS - THIS DOES NOT APPLY TO 99% OF BUILDS:
If you want to build for the x86 platform there is a flaw in the mentioned
Expand Down
2 changes: 1 addition & 1 deletion tools/android/packaging/xbmc/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
android:versionName="13.0-ALPHA3" >

<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="9" />
<uses-sdk android:minSdkVersion="14" />

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
Expand Down
2 changes: 1 addition & 1 deletion tools/depends/README
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ IOS:
./configure --host=arm-apple-darwin --with-sdk=4.3 --prefix=home/foo/xbmc-deps

Android:
./configure --with-toolchain=/opt/toolchains/android-ndk-r7-crystax-5.beta3-toolchain --prefix=/opt/xbmc-deps --host=arm-linux-androideabi
./configure --with-toolchain=/opt/toolchains/android-ndk-r7-crystax-5.beta3-toolchain-14 --prefix=/opt/xbmc-deps --host=arm-linux-androideabi --with-sdk-path=/opt/android-sdk --with-ndk=/opt/android-ndk-r7-crystax-5.beta3 --with-sdk=android-14 --with-tarballs=/tmp/xbmc-android

Linux:
ARM toolchain (codesourcery/lenaro/etc)
Expand Down
6 changes: 3 additions & 3 deletions tools/depends/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ AC_ARG_WITH([sdk-path],

AC_ARG_WITH([sdk],
[AS_HELP_STRING([--with-sdk],
[spcify sdk platform version (optional for android). default is android-10])],
[spcify sdk platform version (optional for android). default is android-14])],
[use_sdk=$withval])

AC_ARG_ENABLE([gplv3],
Expand Down Expand Up @@ -88,7 +88,7 @@ case $host in
if test "x$use_cpu" = "xarmeabi-v7a"; then
platform_cflags+=" -march=armv7-a -mtune=cortex-a9 -mfloat-abi=softfp -mfpu=neon "
fi
use_sdk="${use_sdk:-android-10}"
use_sdk="${use_sdk:-android-14}"
deps_dir="$use_host-$use_sdk"
platform_cflags+=" -DANDROID -Os -fexceptions"
platform_cxxflags="$platform_cflags -frtti"
Expand All @@ -105,7 +105,7 @@ case $host in
if test "x$use_cpu" = "xauto"; then
use_cpu=$host_cpu
fi
use_sdk="${use_sdk:-android-10}"
use_sdk="${use_sdk:-android-14}"
deps_dir="$use_host-$use_sdk"
platform_cflags="-DANDROID -Os -fexceptions"
platform_cxxflags="$platform_cflags -frtti"
Expand Down

0 comments on commit 4587fed

Please sign in to comment.