OSDN Git Service

Add clean step to remove old framework intermediates
authorRoboErik <epastern@google.com>
Fri, 25 Jul 2014 20:29:59 +0000 (13:29 -0700)
committerErik Pasternak <roboerik@android.com>
Fri, 25 Jul 2014 20:36:50 +0000 (20:36 +0000)
The framework intermediates path moved. Failing to notice this will
cause your classpath to be wrong and you'll get red on new aidl methods.
This removes the old path which makes it more obvious that it's moved.

Change-Id: If1a36fefc703b7899e09687e2de598c3830fa72e

CleanSpec.mk

index 3014e0f..abec4c8 100644 (file)
@@ -212,6 +212,7 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framew
 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework-base_intermediates/src/telecomm/java/com/android/internal/telecomm)
 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates)
 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework.* $(PRODUCT_OUT)/system/framework2.*)
+$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework-base_intermediates)
 
 # ******************************************************************
 # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THIS BANNER