[ion/simulator/android] Use ANDROID_HOME to point to the Android SDK

This commit is contained in:
Romain Goyet
2019-09-27 11:30:03 +02:00
committed by EmilieNumworks
parent 162d857a65
commit 31daf5ff8f
2 changed files with 3 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ epsilon_apk_deps += $(addprefix $(BUILD_DIR)/app/res/,mipmap/ic_launcher.png mip
.PHONY: gradle_%
gradle_%: $(epsilon_apk_deps)
@echo "GRADLE ion/src/simulator/android/build.gradle"
$(Q) ANDROID_HOME=/usr/local/android EPSILON_VERSION=$(EPSILON_VERSION) BUILD_DIR=$(BUILD_DIR) ion/src/simulator/android/gradlew -b ion/src/simulator/android/build.gradle $*
$(Q) ANDROID_HOME=$(ANDROID_HOME) EPSILON_VERSION=$(EPSILON_VERSION) BUILD_DIR=$(BUILD_DIR) ion/src/simulator/android/gradlew -b ion/src/simulator/android/build.gradle $*
DEFAULT = epsilon.apk