am d0f0918b: Merge "Reenable ccache."

* commit 'd0f0918b8fa2a1794050a3cecf3ad3943ad378ab':
  Reenable ccache.
This commit is contained in:
Ying Wang
2014-06-06 18:24:31 +00:00
committed by Android Git Automerger

View File

@@ -92,8 +92,12 @@ ifneq ($(USE_CCACHE),)
# Check that the executable is here.
ccache := $(strip $(wildcard $(ccache)))
ifdef ccache
CC_WRAPPER ?= $(ccache)
CXX_WRAPPER ?= $(ccache)
ifndef CC_WRAPPER
CC_WRAPPER := $(ccache)
endif
ifndef CXX_WRAPPER
CXX_WRAPPER := $(ccache)
endif
ccache =
endif
endif