mirror of
https://gitee.com/openharmony/xts_tools
synced 2024-11-23 16:00:16 +00:00
update build/judgePart.py.
Signed-off-by: zhouhouyue <1282054757@qq.com>
This commit is contained in:
parent
1cea83eef5
commit
8fd7334aab
@ -31,7 +31,7 @@ def get_modulename_by_buildtarget(module_list_file, build_target):
|
||||
with open(module_list_file, "r") as module_file:
|
||||
module_info_data = json.load(module_file)
|
||||
for module in module_info_data:
|
||||
if module == build_target:
|
||||
if module in [build_target, f'{build_target}_override']:
|
||||
return module_info_data[module];
|
||||
return ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user