Fix CleanSpec.
It should be $(OUT_DIR), not $(OUT).
Change-Id: I57336f6c5c09155c7b302c36b37c1435bb2bd6c1
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 93d70e9..993d1df 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -21,13 +21,13 @@
#
# E.g.:
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
-# $(call add-clean-step, rm -rf $(OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
+# $(call add-clean-step, rm -rf $(OUT_DIR)/obj/STATIC_LIBRARIES/libz_intermediates)
#
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
# files that are missing or have been moved.
#
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
-# Use $(OUT) to refer to the "out" directory.
+# Use $(OUT_DIR) to refer to the "out" directory.
#
# If you need to re-do something that's already mentioned, just copy
# the command and add it to the bottom of the list. E.g., if a change
@@ -40,18 +40,20 @@
# ************************************************
# For example:
-#$(call add-clean-step, rm -rf $(OUT)/target/common/obj/APPS/AndroidTests_intermediates)
-#$(call add-clean-step, rm -rf $(OUT)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
-#$(call add-clean-step, find $(OUT) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
+#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
+#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
+#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
-#$(call add-clean-step, rm -rf $(OUT)/obj/SHARED_LIBRARIES/libdvm*)
-$(call add-clean-step, rm -rf $(OUT)/system/framework/conscrypt-nojarjar.jar)
-$(call add-clean-step, rm -rf $(OUT)/system/framework/conscrypt-nojarjar.jar)
-$(call add-clean-step, rm -rf $(OUT)/target/common/obj/JAVA_LIBRARIES/core*)
-$(call add-clean-step, rm -rf $(OUT)/host/common/obj/JAVA_LIBRARIES/core*)
-$(call add-clean-step, rm -rf $(OUT)/system/etc/security/cacerts/*)
-$(call add-clean-step, rm -rf $(OUT)/target/common/obj/JAVA_LIBRARIES/core*)
-$(call add-clean-step, rm -rf $(OUT)/host/common/obj/JAVA_LIBRARIES/core*)
+#$(call add-clean-step, rm -rf $(OUT_DIR)/obj/SHARED_LIBRARIES/libdvm*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/system/framework/conscrypt-nojarjar.jar)
+$(call add-clean-step, rm -rf $(OUT_DIR)/system/framework/conscrypt-nojarjar.jar)
+$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/JAVA_LIBRARIES/core*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/system/etc/security/cacerts/*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/JAVA_LIBRARIES/core*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/JAVA_LIBRARIES/core*)
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************