mirror of
https://github.com/openharmony/developtools_integration_verification.git
synced 2026-07-24 21:55:24 -04:00
Feat: add shlib_type="sa" for sa modules
add shlib_type="sa" for sa modules Signed-off-by: handyohos <zhangxiaotian@huawei.com> Change-Id: I057a04f851aa55746c6197cf1c769481f9247219 #I6G8SS
This commit is contained in:
@@ -38,7 +38,7 @@ class ChipsetSDKRule(BaseRule):
|
||||
gotHeaders = True
|
||||
base = innerapi["header_base"]
|
||||
for f in innerapi["header_files"]:
|
||||
item["headers"].append(base + "/" + f)
|
||||
item["headers"].append(os.path.join(base, f))
|
||||
headers.append(item)
|
||||
|
||||
try:
|
||||
|
||||
@@ -56,9 +56,8 @@ class SaRule(BaseRule):
|
||||
self.warn('sa module %s has no shlib_type="sa", add it in %s' % (mod["name"], mod["labelPath"]))
|
||||
|
||||
if len(non_sa_with_sa_shlib_type) > 0:
|
||||
passed = False
|
||||
for mod in non_sa_with_sa_shlib_type:
|
||||
self.error('non sa module %s with shlib_type="sa", %s' % (mod["name"], mod["labelPath"]))
|
||||
self.warn('non sa module %s with shlib_type="sa", %s' % (mod["name"], mod["labelPath"]))
|
||||
|
||||
return passed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user