use ccache for jni if present

This commit is contained in:
Eric House 2014-01-21 07:20:51 -08:00
parent e6564c679c
commit 1b185d1575

View file

@ -89,5 +89,10 @@ LOCAL_LDLIBS := -L${SYSROOT}/usr/lib -llog -lz
include $(BUILD_SHARED_LIBRARY)
ifneq ($(shell which ccache),)
TARGET_CC = ccache $(TOOLCHAIN_PREFIX)gcc
TARGET_CXX = ccache $(TOOLCHAIN_PREFIX)g++
endif
COMMON_SRC_FILES :=
COMMON_PATH :=