From 94e485000987744880854abb46360fa48d504952 Mon Sep 17 00:00:00 2001 From: liangxinyan Date: Mon, 16 Jun 2025 20:44:35 +0800 Subject: [PATCH] IssueNo: https://gitee.com/openharmony/developtools_integration_verification/issues/ICFL6G Signed-off-by: liangxinyan --- .../elf_file_mgr/module_info/compile_info_loader.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/deps_guard/elf_file_mgr/module_info/compile_info_loader.py b/tools/deps_guard/elf_file_mgr/module_info/compile_info_loader.py index 6012032..0b586bc 100755 --- a/tools/deps_guard/elf_file_mgr/module_info/compile_info_loader.py +++ b/tools/deps_guard/elf_file_mgr/module_info/compile_info_loader.py @@ -86,7 +86,11 @@ class CompileInfoLoader(object): @staticmethod def __get_modules_from_file(product_out_path_): try: - with open(os.path.join(product_out_path_, "packages/phone/system_module_info.json")) as f: + system_module_info_file = os.path.join(product_out_path_, "packages/phone/system_module_info.json") + if not os.path.exists(system_module_info_file): + system_module_info_file = os.path.join(product_out_path_, + "packages/phone/single/phone_install_module/system_module_info.json") + with open(system_module_info_file) as f: modules = json.load(f) return modules except FileNotFoundError: -- Gitee