Skip to content

Commit

Permalink
Merge pull request FreeRDP#3438 from akallabeth/android_build_paths
Browse files Browse the repository at this point in the history
Fixed android libfreerdp install paths.
  • Loading branch information
mfleisz authored Jul 8, 2016
2 parents c4e3db0 + 40bfc17 commit 5d7027a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/Android/Studio/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.jvmargs=-Xmx4096M
5 changes: 5 additions & 0 deletions scripts/android-build-freerdp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,20 @@ do
fi

# Build and install the library.
if [ $DEPS_ONLY -eq 0 ];
then
common_run cd $BASE
common_run mkdir -p $BUILD_SRC/freerdp-build/$ARCH
common_run cd $BUILD_SRC/freerdp-build/$ARCH
common_run export ANDROID_NDK=$ANDROID_NDK
common_run cmake $CMAKE_CMD_ARGS \
-DANDROID_ABI=$ARCH \
-DCMAKE_INSTALL_PREFIX=$BUILD_DST \
-DCMAKE_INSTALL_LIBDIR=$ARCH \
$SRC_DIR
echo $(pwd)
common_run cmake --build . --target install
fi
done

echo "Successfully build library for architectures $BUILD_ARCH"
1 change: 1 addition & 0 deletions scripts/android-build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ WITH_JPEG=0
WITH_OPENH264=0
WITH_OPENSSL=1
BUILD_DEPS=1
DEPS_ONLY=0
ANDROID_NATIVE_API_LEVEL=android-21

JPEG_TAG=master
Expand Down

0 comments on commit 5d7027a

Please sign in to comment.