From 92d84c0c04e8a4043f331f56d2b89177229d4f1f Mon Sep 17 00:00:00 2001 From: Xin Li Date: Mon, 21 Aug 2023 13:34:40 -0700 Subject: [PATCH] Clean up android.hardware.automotive.vehicle intermediates. In ag/20886210, the VHAL properties were separated into a new AIDL interface but the names remained the same. In incremental builds with pre-existing old versions of AIDL, these generated headers would remain there and gets picked up due to include directory ordering. Eliminate this possiblity by performing a cleanup of the generated primary headers directory. Change-Id: Ic5ef401b427b2772e8527b2dc9804781a51125be --- CleanSpec.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/CleanSpec.mk b/CleanSpec.mk index 1eca2a1c21..2e9d9ab328 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -85,3 +85,4 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.cas@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.cas@1.1*) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.cas@1.1*) $(call add-clean-step, rm -rf $(OUT_DIR)/soong/.intermediates/hardware/interfaces/wifi/1.4/android.hardware.wifi@1.4-adapter_genc++/) +$(call add-clean-step, rm -rf $(OUT_DIR)/soong/.intermediates/hardware/interfaces/automotive/vehicle/aidl/android.hardware.automotive.vehicle-V2-ndk-source/)