Merge "Make JAVA_HOME absolute inside build"

am: 194893ee6c

Change-Id: I0772f8063ee6a31cdc02a3b40fdadc298392762d
This commit is contained in:
Colin Cross 2017-07-25 08:13:31 +00:00 committed by android-build-merger
commit bac4bd6973
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ common_jdk_flags := -Xmaxerrs 9999999
ANDROID_JAVA_HOME := prebuilts/jdk/jdk8/$(HOST_PREBUILT_TAG) ANDROID_JAVA_HOME := prebuilts/jdk/jdk8/$(HOST_PREBUILT_TAG)
ANDROID_JAVA_TOOLCHAIN := $(ANDROID_JAVA_HOME)/bin ANDROID_JAVA_TOOLCHAIN := $(ANDROID_JAVA_HOME)/bin
export JAVA_HOME := $(ANDROID_JAVA_HOME) export JAVA_HOME := $(abspath $(ANDROID_JAVA_HOME))
# Use the indexer wrapper to index the codebase instead of the javac compiler # Use the indexer wrapper to index the codebase instead of the javac compiler
ifeq ($(ALTERNATE_JAVAC),) ifeq ($(ALTERNATE_JAVAC),)