OSDN Git Service

ART: Fix clean-oat-host rule
authorAndreas Gampe <agampe@google.com>
Tue, 21 Feb 2017 19:44:04 +0000 (11:44 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 22 Feb 2017 19:51:54 +0000 (11:51 -0800)
Add vdex to the rule.

Test: m && m clean-oat-host && find $OUT -name '*.vdex'
Change-Id: If04f1006b16a46b7a63955867669b2de44d9fbc8

Android.mk

index f3ab3c1..0e86188 100644 (file)
@@ -42,7 +42,7 @@ clean-oat: clean-oat-host clean-oat-target
 
 .PHONY: clean-oat-host
 clean-oat-host:
-       find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" | xargs rm -f
+       find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*.vdex' | xargs rm -f
 ifneq ($(TMPDIR),)
        rm -rf $(TMPDIR)/$(USER)/test-*/dalvik-cache/*
        rm -rf $(TMPDIR)/android-data/dalvik-cache/*