From 4f3e5685fce44c359becde39141fdaf5f8d3db34 Mon Sep 17 00:00:00 2001 From: Yoshisato Yanagisawa Date: Mon, 5 Jun 2017 18:08:36 +0900 Subject: [PATCH] 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 --- core/config.mk | 1 + core/goma.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/core/config.mk b/core/config.mk index 5ff582a13..589512802 100644 --- a/core/config.mk +++ b/core/config.mk @@ -308,6 +308,7 @@ include $(BUILD_SYSTEM)/goma.mk export CC_WRAPPER export CXX_WRAPPER +export JAVAC_WRAPPER endif ifdef TARGET_PREFER_32_BIT diff --git a/core/goma.mk b/core/goma.mk index 4e8318a7f..2fb37a752 100644 --- a/core/goma.mk +++ b/core/goma.mk @@ -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