Fix Android makefile

This commit is contained in:
Sophie Taylor 2017-02-08 10:17:49 +10:00 committed by GitHub
parent ae4831eadf
commit c267f95f8d

View File

@ -27,8 +27,8 @@ gmscore_apk := build/outputs/apk/play-services-core-release-unsigned.apk
$(gmscore_root)/$(gmscore_dir)/$(gmscore_apk):
rm -Rf $(gmscore_build)
mkdir -p $(gmscore_out)
ln -s $(gmscore_out) $(gmscore_build)
mkdir -p $(ANDROID_BUILD_TOP)/$(gmscore_out)
ln -s $(ANDROID_BUILD_TOP)/$(gmscore_out) $(ANDROID_BUILD_TOP)/$(gmscore_build)
echo "sdk.dir=$(ANDROID_HOME)" > $(gmscore_root)/local.properties
cd $(gmscore_root) && git submodule update --recursive --init
cd $(gmscore_root)/$(gmscore_dir) && JAVA_TOOL_OPTIONS="$(JAVA_TOOL_OPTIONS) -Dfile.encoding=UTF8" ../gradlew assembleRelease