2009-03-04 04:28:42 +01:00
|
|
|
# Selects a Java compiler.
|
|
|
|
#
|
|
|
|
# Outputs:
|
2017-08-10 01:24:02 +02:00
|
|
|
# ANDROID_JAVA_TOOLCHAIN -- Directory that contains javac and other java tools
|
2013-09-21 02:11:43 +02:00
|
|
|
#
|
2015-01-05 16:10:59 +01:00
|
|
|
|
2017-09-27 22:17:59 +02:00
|
|
|
ANDROID_COMPILE_WITH_JACK := false
|
2016-12-21 23:29:13 +01:00
|
|
|
|
2017-09-27 01:22:00 +02:00
|
|
|
ifdef TARGET_BUILD_APPS
|
|
|
|
ifndef TURBINE_ENABLED
|
|
|
|
TURBINE_ENABLED := false
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2017-07-01 01:01:45 +02:00
|
|
|
ANDROID_JAVA_TOOLCHAIN := $(ANDROID_JAVA_HOME)/bin
|
|
|
|
|
2017-08-10 01:24:02 +02:00
|
|
|
# TODO(ccross): remove this, it is needed for now because it is used by
|
|
|
|
# config.mk before makevars from soong are loaded
|
2019-06-11 22:29:12 +02:00
|
|
|
JAVA := $(ANDROID_JAVA_TOOLCHAIN)/java -XX:OnError="cat hs_err_pid%p.log" -XX:CICompilerCount=6 -XX:+UseDynamicNumberOfGCThreads
|
|
|
|
|