0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-11-24 12:15:12 +00:00

clean gradle build in Android.mk

This commit is contained in:
Simon Wörner 2015-05-03 16:47:20 +02:00
parent 8942f6beaa
commit 8740cf3b22

View file

@ -24,13 +24,10 @@ gmscore_dir := $(LOCAL_PATH)
gmscore_apk := play-services-core/build/outputs/apk/play-services-core-debug.apk gmscore_apk := play-services-core/build/outputs/apk/play-services-core-debug.apk
$(LOCAL_PATH)/$(gmscore_apk): $(LOCAL_PATH)/$(gmscore_apk):
old_java_tool_options=$(JAVA_TOOL_OPTIONS)
export JAVA_TOOL_OPTIONS="$(JAVA_TOOL_OPTIONS) -Dfile.encoding=UTF8"
echo "sdk.dir=$(ANDROID_HOME)" > $(gmscore_dir)/local.properties echo "sdk.dir=$(ANDROID_HOME)" > $(gmscore_dir)/local.properties
cd $(gmscore_dir) && git submodule update --recursive --init cd $(gmscore_dir) && git submodule update --recursive --init
# cd $(gmscore_dir) && gradle assembleRelease # cd $(gmscore_dir) && JAVA_TOOL_OPTIONS="$(JAVA_TOOL_OPTIONS) -Dfile.encoding=UTF8" ./gradlew assembleRelease
cd $(gmscore_dir) && gradle assembleDebug cd $(gmscore_dir) && JAVA_TOOL_OPTIONS="$(JAVA_TOOL_OPTIONS) -Dfile.encoding=UTF8" ./gradlew assembleDebug
export JAVA_TOOL_OPTIONS=$(old_java_tool_options)
LOCAL_CERTIFICATE := platform LOCAL_CERTIFICATE := platform
LOCAL_SRC_FILES := $(gmscore_apk) LOCAL_SRC_FILES := $(gmscore_apk)