From e5f9ee56b53a7e68025644599a3c7d7fc164a09e Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Wed, 11 Sep 2019 14:50:08 +0100 Subject: [PATCH] Add `$ANDROID_HOST_OUT/apex` to the file set removed by target `installclean`. Before this change, host APEX (`.zipapex`) packages would still be there after `m installclean`. Test: Run `m installclean` and check that host APEX packages are removed. Change-Id: I446286ce700f12666be5aa90fbe3bbc648abd280 --- ui/build/cleanbuild.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/build/cleanbuild.go b/ui/build/cleanbuild.go index bfe2c36e4..0a2b51065 100644 --- a/ui/build/cleanbuild.go +++ b/ui/build/cleanbuild.go @@ -87,6 +87,7 @@ func installClean(ctx Context, config Config, what int) { // otherwise we'd have to rebuild any generated files created with // those tools. removeGlobs(ctx, + hostOut("apex"), hostOut("obj/NOTICE_FILES"), hostOut("obj/PACKAGING"), hostOut("coverage"),