mirror of
https://github.com/openharmony/developtools_integration_verification.git
synced 2026-07-25 14:15:39 -04:00
Signed-off-by: liangxinyan <liangxinyan2@huawei.com>
This commit is contained in:
@@ -158,10 +158,8 @@ class BaseRule(object):
|
||||
continue
|
||||
|
||||
# llndk can dep system only sofile
|
||||
if "system" in valid_dep_tags and not self.is_only(callee) == "system":
|
||||
passed = False
|
||||
self.error("NEED MODIFY: %s with innerapi_tags [%s] cannot depend system only file %s with %s"
|
||||
% (mod["name"], ",".join(innerapi_tags), callee["name"], callee["labelPath"]))
|
||||
if "system" in valid_dep_tags and self.is_only(callee) == "system":
|
||||
continue
|
||||
|
||||
# check system/vendor only
|
||||
if self.is_only(callee) == "system":
|
||||
|
||||
@@ -30,7 +30,8 @@ class LLndkRule(BaseRule):
|
||||
self.__out_path = mgr.get_product_out_path()
|
||||
self.__white_lists = self.load_llndk_json("llndk_info.json")
|
||||
self.__ignored_tags = ["platformsdk", "sasdk", "platformsdk_indirect", "ndk"]
|
||||
self.__valid_mod_tags = ["llndk", "passthrough"] + self.__ignored_tags
|
||||
self.__valid_mod_tags = ["llndk", "chipsetsdk", "chipsetsdk_indirect", "chipsetsdk_sp",
|
||||
"chipsetsdk_sp_indirect", "passthrough", "system"] + self.__ignored_tags
|
||||
|
||||
def get_white_lists(self):
|
||||
return self.__white_lists
|
||||
@@ -142,4 +143,4 @@ class LLndkRule(BaseRule):
|
||||
return passed
|
||||
|
||||
def __load_llndks(self):
|
||||
self.__llndks = self.load_llndk_json("llndk_info.json")
|
||||
self.__llndks = self.load_llndk_json("llndk_info.json")
|
||||
|
||||
Reference in New Issue
Block a user