Skip to content

Commit

Permalink
Remove intermediate APKs during build process. (flutter#52071)
Browse files Browse the repository at this point in the history
Found that these intermediates added a non-trivial amount of artifacts to the out directory. Folks run our of space because of the size of intermediates sometimes and this just exacerbates that problem.
  • Loading branch information
chinmaygarde authored Apr 11, 2024
1 parent 6b37b17 commit d9013ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testing/android/native_activity/native_activity_apk.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ def main():
]
run_command_checked(apksigner_command, env=env)

# Remove the intermediates so the out directory isn't full of large files.
os.remove(unaligned_apk_path)
os.remove(unsigned_apk_path)

return 0


Expand Down

0 comments on commit d9013ba

Please sign in to comment.