Set JAVAC_WRAPPER if USE_GOMA is set.
Now, people can also use goma for building javac. Let me make it by default. Test: USE_GOMA=true m -j4 Bug: 62334576 Change-Id: I941ce42dc0f9cbd0dcc00e6fd19368c3af11695f
This commit is contained in:
parent
9baf675285
commit
4f3e5685fc
2 changed files with 2 additions and 0 deletions
|
@ -308,6 +308,7 @@ include $(BUILD_SYSTEM)/goma.mk
|
|||
|
||||
export CC_WRAPPER
|
||||
export CXX_WRAPPER
|
||||
export JAVAC_WRAPPER
|
||||
endif
|
||||
|
||||
ifdef TARGET_PREFER_32_BIT
|
||||
|
|
|
@ -45,6 +45,7 @@ ifneq ($(filter-out false,$(USE_GOMA)),)
|
|||
# use both ccache and gomacc.
|
||||
CC_WRAPPER := $(strip $(CC_WRAPPER) $(GOMA_CC))
|
||||
CXX_WRAPPER := $(strip $(CXX_WRAPPER) $(GOMA_CC))
|
||||
JAVAC_WRAPPER := $(strip $(JAVAC_WRAPPER) $(GOMA_CC))
|
||||
|
||||
# gomacc can start goma client's daemon process automatically, but
|
||||
# it is safer and faster to start up it beforehand. We run this as a
|
||||
|
|
Loading…
Reference in a new issue