From 7574cb582d0a6299355e95a63b03dd12f2d86091 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 29 Feb 2016 15:15:16 -0800 Subject: [PATCH] Remove special cases in installclean When switch build types or products, it's no longer necessary to special case these projects that change their command line based on the build type or product. Ninja keeps track of the command line last used to create a file, and will mark it as dirty if the new command line is different. Change-Id: I905ff9599eae2952bddc05e7328f77f0849be20a --- core/cleanbuild.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/core/cleanbuild.mk b/core/cleanbuild.mk index 0d6a406ce..f61e3f70a 100644 --- a/core/cleanbuild.mk +++ b/core/cleanbuild.mk @@ -246,15 +246,7 @@ installclean_files := \ $(PRODUCT_OUT)/oem \ $(PRODUCT_OUT)/dex_bootjars \ $(PRODUCT_OUT)/obj/JAVA_LIBRARIES \ - $(PRODUCT_OUT)/obj/FAKE \ - $(PRODUCT_OUT)/obj/EXECUTABLES/adbd_intermediates \ - $(PRODUCT_OUT)/obj/EXECUTABLES/logd_intermediates \ - $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libfs_mgr_intermediates \ - $(PRODUCT_OUT)/obj/EXECUTABLES/init_intermediates \ - $(PRODUCT_OUT)/obj/ETC/mac_permissions.xml_intermediates \ - $(PRODUCT_OUT)/obj/ETC/sepolicy_intermediates \ - $(PRODUCT_OUT)/obj/ETC/sepolicy.recovery_intermediates \ - $(PRODUCT_OUT)/obj/ETC/init.environ.rc_intermediates + $(PRODUCT_OUT)/obj/FAKE # The files/dirs to delete during a dataclean, which removes any files # in the staging and emulator data partitions.