Merge "Order entries in apex_info.pb"

This commit is contained in:
Treehugger Robot
2023-04-14 20:33:18 +00:00
committed by Gerrit Code Review

View File

@@ -626,7 +626,7 @@ def GetApexInfoFromTargetFiles(input_file, partition, compressed_only=True):
if os.path.isfile(deapexer_path): if os.path.isfile(deapexer_path):
deapexer = deapexer_path deapexer = deapexer_path
for apex_filename in os.listdir(target_dir): for apex_filename in sorted(os.listdir(target_dir)):
apex_filepath = os.path.join(target_dir, apex_filename) apex_filepath = os.path.join(target_dir, apex_filename)
if not os.path.isfile(apex_filepath) or \ if not os.path.isfile(apex_filepath) or \
not zipfile.is_zipfile(apex_filepath): not zipfile.is_zipfile(apex_filepath):