summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2014-01-20 14:48:07 -0800
committerBrian Carlstrom <bdc@google.com>2014-01-20 14:48:19 -0800
commitb32a3ad73be87835faec086eb587d23570de3296 (patch)
tree61a6030cdeeb62fbae1d0d9260928910205ad5c4 /Android.mk
parent40afcfe964c45452ef22062f993949ef09bd519b (diff)
downloadart-b32a3ad73be87835faec086eb587d23570de3296.zip
art-b32a3ad73be87835faec086eb587d23570de3296.tar.gz
art-b32a3ad73be87835faec086eb587d23570de3296.tar.bz2
Fix bit-rot in clean-oat targets
Change-Id: If7f1681b34284b16ace6bafdacc2a19a3268480c
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 612fc40..bdd26da 100644
--- a/Android.mk
+++ b/Android.mk
@@ -55,6 +55,8 @@ clean-oat-host:
rm -f $(TARGET_OUT_JAVA_LIBRARIES)/*.odex
rm -f $(TARGET_OUT_JAVA_LIBRARIES)/*.oat
rm -f $(TARGET_OUT_JAVA_LIBRARIES)/*.art
+ rm -f $(DEXPREOPT_PRODUCT_DIR_FULL_PATH)/$(DEXPREOPT_BOOT_JAR_DIR)/*.oat
+ rm -f $(DEXPREOPT_PRODUCT_DIR_FULL_PATH)/$(DEXPREOPT_BOOT_JAR_DIR)/*.art
rm -f $(TARGET_OUT_UNSTRIPPED)/system/framework/*.odex
rm -f $(TARGET_OUT_UNSTRIPPED)/system/framework/*.oat
rm -f $(TARGET_OUT_APPS)/*.odex
@@ -71,9 +73,9 @@ clean-oat-target:
adb shell rm $(ART_TEST_DIR)/*.odex
adb shell rm $(ART_TEST_DIR)/*.oat
adb shell rm $(ART_TEST_DIR)/*.art
- adb shell rm $(DALVIK_CACHE_DIR)/*.dex
- adb shell rm $(DALVIK_CACHE_DIR)/*.oat
- adb shell rm $(DALVIK_CACHE_DIR)/*.art
+ adb shell rm $(ART_DALVIK_CACHE_DIR)/*.dex
+ adb shell rm $(ART_DALVIK_CACHE_DIR)/*.oat
+ adb shell rm $(ART_DALVIK_CACHE_DIR)/*.art
adb shell rm $(DEXPREOPT_BOOT_JAR_DIR)/*.oat
adb shell rm $(DEXPREOPT_BOOT_JAR_DIR)/*.art
adb shell rm system/app/*.odex