trygon support
Change-Id: I27ff7e26b583614f2577aed79dcd629ad4595e63
diff --git a/build/Android.common.mk b/build/Android.common.mk
index d233ab0..26d4d22 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -18,6 +18,11 @@
ART_CACHE_DIR := /data/art-cache
ART_CACHE_OUT := $(TARGET_OUT_DATA)/art-cache
+# $(1): pathname
+define art-cache-out
+$(ART_CACHE_OUT)/$(subst /,@,$(1))
+endef
+
# directory used for gtests on device
ART_NATIVETEST_DIR := /data/nativetest/art
ART_NATIVETEST_OUT := $(TARGET_OUT_DATA_NATIVE_TESTS)/art