mirror of
https://github.com/openharmony/developtools_integration_verification.git
synced 2026-07-25 22:25:30 -04:00
update: 更新文件 passthrough.py
Signed-off-by: leokii <liangxinyan2@huawei.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user