From 5a79fdecffbea657ebecd4cf19078925239eb1c3 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Wed, 6 Aug 2014 13:12:26 -0700 Subject: ART: Use TMPDIR for test directories Bug: 16499668 Change-Id: I0d3db4697ef7b1706807e7daa5e000bb89df14e0 --- Android.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index 451edf1..15e8308 100644 --- a/Android.mk +++ b/Android.mk @@ -67,8 +67,13 @@ ifdef TARGET_2ND_ARCH rm -f $(2ND_TARGET_OUT_INTERMEDIATES)/JAVA_LIBRARIES/*_intermediates/javalib.odex rm -f $(2ND_TARGET_OUT_INTERMEDIATES)/APPS/*_intermediates/*.odex endif +ifneq ($(TMPDIR),) + rm -rf $(TMPDIR)/$(USER)/test-*/dalvik-cache/* + rm -rf $(TMPDIR)/android-data/dalvik-cache/* +else rm -rf /tmp/$(USER)/test-*/dalvik-cache/* rm -rf /tmp/android-data/dalvik-cache/* +endif .PHONY: clean-oat-target clean-oat-target: -- cgit v1.1