Merge "Remove out/host/common/obj/PACKAGING during installclean"

This commit is contained in:
Treehugger Robot 2020-10-12 20:48:09 +00:00 committed by Gerrit Code Review
commit 79bb3d4784
1 changed files with 5 additions and 0 deletions

View File

@ -80,6 +80,10 @@ func installClean(ctx Context, config Config, what int) {
return filepath.Join(hostOutPath, path) return filepath.Join(hostOutPath, path)
} }
hostCommonOut := func(path string) string {
return filepath.Join(config.hostOutRoot(), "common", path)
}
productOutPath := config.ProductOut() productOutPath := config.ProductOut()
productOut := func(path string) string { productOut := func(path string) string {
return filepath.Join(productOutPath, path) return filepath.Join(productOutPath, path)
@ -101,6 +105,7 @@ func installClean(ctx Context, config Config, what int) {
hostOut("vts"), hostOut("vts"),
hostOut("vts10"), hostOut("vts10"),
hostOut("vts-core"), hostOut("vts-core"),
hostCommonOut("obj/PACKAGING"),
productOut("*.img"), productOut("*.img"),
productOut("*.zip"), productOut("*.zip"),
productOut("android-info.txt"), productOut("android-info.txt"),