Android client support script fixes.
This commit is contained in:
parent
161685b25c
commit
196386f59b
@ -6,17 +6,6 @@
|
||||
android:versionCode="3"
|
||||
android:versionName="e83f97b" >
|
||||
|
||||
<uses-sdk
|
||||
android:targetSdkVersion="21"
|
||||
android:minSdkVersion="14"/>
|
||||
|
||||
<supports-screens
|
||||
android:anyDensity="true"
|
||||
android:smallScreens="true"
|
||||
android:normalScreens="true"
|
||||
android:largeScreens="true"
|
||||
android:xlargeScreens="true" />
|
||||
|
||||
<application android:name="com.freerdp.afreerdp.application.GlobalApp"
|
||||
android:label="aFreeRDP"
|
||||
android:icon="@drawable/icon_launcher_freerdp" >
|
||||
|
@ -6,10 +6,6 @@
|
||||
android:versionCode="3"
|
||||
android:versionName="e83f97b" >
|
||||
|
||||
<uses-sdk
|
||||
android:targetSdkVersion="21"
|
||||
android:minSdkVersion="14"/>
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||
|
@ -70,6 +70,11 @@ function common_parse_arguments {
|
||||
shift
|
||||
;;
|
||||
|
||||
--target)
|
||||
NDK_TARGET="$2"
|
||||
shift
|
||||
;;
|
||||
|
||||
--ndk)
|
||||
ANDROID_NDK="$2"
|
||||
shift
|
||||
|
@ -80,7 +80,7 @@ fi
|
||||
common_run mkdir -p $BUILD_SRC
|
||||
|
||||
CMAKE_CMD_ARGS="-DANDROID_NDK=$ANDROID_NDK \
|
||||
-DANDROID_NATIVE_API_LEVEL=${ANDROID_NATIVE_API_LEVEL} \
|
||||
-DANDROID_NATIVE_API_LEVEL=android-${NDK_TARGET} \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$SRC_DIR/cmake/AndroidToolchain.cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$BUILD_DST \
|
||||
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
|
||||
@ -98,6 +98,7 @@ do
|
||||
--src $BUILD_SRC/jpeg --dst $BUILD_DST \
|
||||
--ndk $ANDROID_NDK \
|
||||
--arch $ARCH \
|
||||
--target $NDK_TARGET \
|
||||
--tag $JPEG_TAG
|
||||
fi
|
||||
CMAKE_CMD_ARGS="$CMAKE_CMD_ARGS -DWITH_JPEG=ON"
|
||||
@ -110,6 +111,7 @@ do
|
||||
--src $BUILD_SRC/openh264 --dst $BUILD_DST \
|
||||
--ndk $ANDROID_NDK \
|
||||
--arch $ARCH \
|
||||
--target $NDK_TARGET \
|
||||
--tag $OPENH264_TAG
|
||||
fi
|
||||
CMAKE_CMD_ARGS="$CMAKE_CMD_ARGS -DWITH_OPENH264=ON"
|
||||
@ -122,6 +124,7 @@ do
|
||||
--src $BUILD_SRC/openssl --dst $BUILD_DST \
|
||||
--ndk $ANDROID_NDK \
|
||||
--arch $ARCH \
|
||||
--target $NDK_TARGET \
|
||||
--tag $OPENSSL_TAG
|
||||
fi
|
||||
fi
|
||||
|
@ -17,10 +17,10 @@ WITH_OPENH264=0
|
||||
WITH_OPENSSL=1
|
||||
BUILD_DEPS=1
|
||||
DEPS_ONLY=0
|
||||
ANDROID_NATIVE_API_LEVEL=android-21
|
||||
NDK_TARGET=21
|
||||
|
||||
JPEG_TAG=master
|
||||
OPENH264_TAG=v1.5.0
|
||||
OPENH264_TAG=v1.6.0
|
||||
OPENSSL_TAG=OpenSSL_1_0_2h
|
||||
|
||||
SRC_DIR=$SCRIPT_PATH/..
|
||||
|
Loading…
Reference in New Issue
Block a user