Skip flattened apexes while check_target_files_vintf

Flattened apexes should be handled differently. For now just skip
flattened apexes to fix the build breakage.

Bug: 253669548
Bug: 253700117
Bug: 239055765
Test: m otapackage for targets with "flattened apexes"
Change-Id: I102a961fc1365f42881ca9ee6546e71246792d2a
This commit is contained in:
Jooyung Han 2022-10-17 10:24:09 +09:00
parent ddfc1ebf14
commit 62283b9649

View file

@ -241,6 +241,10 @@ def PrepareApexDirectory(inp):
for f in os.listdir(path):
logger.info(' adding APEX %s', os.path.basename(f))
apex = os.path.join(path, f)
if os.path.isdir(apex):
# TODO(b/242314000) Handle "flattened" apex
pass
else:
cmd = [deapexer,
'--debugfs_path', debugfs_path,
'info',