diff --git a/testing/android/native_activity/native_activity_apk.py b/testing/android/native_activity/native_activity_apk.py index 2286d868799b9..61e8141e6c3ad 100644 --- a/testing/android/native_activity/native_activity_apk.py +++ b/testing/android/native_activity/native_activity_apk.py @@ -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