Merge "Use target-specific PRIVATE_CLEAN_FILES"
diff --git a/Android.libv8.mk b/Android.libv8.mk
index 35e5e5f..fdbac23 100644
--- a/Android.libv8.mk
+++ b/Android.libv8.mk
@@ -15,7 +15,8 @@
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
intermediates := $(call local-intermediates-dir)
-PRIVATE_CLEAN_FILES := $(HOST_OUT)/bin/mksnapshot.$(TARGET_ARCH) \
+# clean-$(LOCAL_MODULE) is a target defined build/core/base_rules.mk.
+clean-$(LOCAL_MODULE): PRIVATE_CLEAN_FILES := $(HOST_OUT)/bin/mksnapshot.$(TARGET_ARCH) \
$(HOST_OUT)/obj/EXECUTABLES/mksnapshot.$(TARGET_ARCH)_intermediates
# Android.v8common.mk defines common V8_LOCAL_SRC_FILES