Skip to content

Commit e1fa7eb

Browse files
committed
Correct handling of 'clean all'
1 parent 3f0595a commit e1fa7eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Android/android.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,10 @@ def clean_targets(context):
312312
if context.target in {"all", "build"}:
313313
clean("build")
314314

315-
if context.target == "hosts":
315+
if context.target in {"all", "hosts"}:
316316
for host in HOSTS:
317317
clean(host)
318-
elif context.target not in {"all", "build"}:
318+
elif context.target != "build":
319319
clean(context.target)
320320

321321

0 commit comments

Comments
 (0)