Skip to content

Commit d9318ce

Browse files
sarthakroy2002Demon000
authored andcommitted
extract_utils: add logging for unprocessed files
Change-Id: Ic82f0ff6e2ce79a09c599a17a1285c7f2af3dc10
1 parent b3a33cf commit d9318ce

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

extract_utils/makefiles.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
FileTree,
2424
)
2525
from extract_utils.fixups_lib import lib_fixups_type, run_libs_fixup
26-
from extract_utils.utils import file_path_sha1
26+
from extract_utils.utils import Color, color_print, file_path_sha1
2727

2828
ALL_PARTITIONS = ['system', 'vendor', 'product', 'system_ext', 'odm']
2929
APEX_PARTITIONS = ['system', 'vendor', 'system_ext']
@@ -504,6 +504,12 @@ def wp(fn: write_package_fn, partition: str, sub_dir: str, *args, **kwargs):
504504
for part in ALL_PARTITIONS:
505505
wp(write_bin_package, part, 'bin', packages_ctx)
506506

507+
for file in base_file_tree:
508+
color_print(
509+
f'{file.dst}: does not match known package rules',
510+
color=Color.YELLOW,
511+
)
512+
507513
assert not list(base_file_tree)
508514

509515
write_packages_inclusion(package_names, ctx.product_mk_out)

0 commit comments

Comments
 (0)