1 # Selects a Java compiler. 2 # 3 # Outputs: 4 # ANDROID_JAVA_TOOLCHAIN -- Directory that contains javac and other java tools 5 # 6 7 ANDROID_COMPILE_WITH_JACK := false 8 9 ifdef TARGET_BUILD_APPS 10 ifndef TURBINE_ENABLED 11 TURBINE_ENABLED := false 12 endif 13 endif 14 15 ANDROID_JAVA_TOOLCHAIN := $(ANDROID_JAVA_HOME)/bin 16 17 # TODO(ccross): remove this, it is needed for now because it is used by 18 # config.mk before makevars from soong are loaded 19 JAVA := $(ANDROID_JAVA_TOOLCHAIN)/java 20