update: 更新文件 passthrough.py

Signed-off-by: leokii <liangxinyan2@huawei.com>
This commit is contained in:
leokii
2025-12-30 15:42:42 +08:00
parent 9a724def66
commit a3e19b7fd5
@@ -151,12 +151,6 @@ class PassthroughRule(BaseRule):
if "passthrough" in mod["path"] and "passthrough/indirect" not in mod["path"]:
if mod["name"] not in self.__passthroughs:
print(json.dumps({
"name": f"{mod['componentName']}:{mod['moduleName']}",
"so_file_name": mod["name"],
"path": mod['labelPath'],
"headers": []
}),end="\n")
# Not allowed
passed = False
self.error("NEED MODIFY: so file %s in %s should be add in file passthrough_info.json"
@@ -165,12 +159,6 @@ class PassthroughRule(BaseRule):
if "passthrough/indirect" in mod["path"]:
if mod["name"] not in self.__indirects:
print(json.dumps({
"name": f"{mod['componentName']}:{mod['moduleName']}",
"so_file_name": mod["name"],
"path": mod['labelPath'],
"headers": []
}),end="\n")
# Not allowed
passed = False
self.error("NEED MODIFY: so file %s in %s should be add in file passthrough_indirect_info.json"