Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit d9013ba

Browse files
authored
Remove intermediate APKs during build process. (#52071)
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.
1 parent 6b37b17 commit d9013ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing/android/native_activity/native_activity_apk.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ def main():
110110
]
111111
run_command_checked(apksigner_command, env=env)
112112

113+
# Remove the intermediates so the out directory isn't full of large files.
114+
os.remove(unaligned_apk_path)
115+
os.remove(unsigned_apk_path)
116+
113117
return 0
114118

115119

0 commit comments

Comments
 (0)