From cb532ab857c5a3857c5a9e51a68af916d0afe6b8 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 6 Mar 2023 16:57:04 +0800 Subject: [PATCH] allow missing dependent hsp Signed-off-by: xushizhe --- adapter/ohos/HapVerify.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adapter/ohos/HapVerify.java b/adapter/ohos/HapVerify.java index 2568dc8c..62041243 100644 --- a/adapter/ohos/HapVerify.java +++ b/adapter/ohos/HapVerify.java @@ -967,8 +967,8 @@ class HapVerify { continue; } if (!checkDependencyInFileList(dependency, allHapVerifyInfo)) { - LOG.error("Dependent module " + dependency.getModuleName() + " missing, check the HSP-Path"); - return false; + LOG.warning("Dependent module " + dependency.getModuleName() + " missing, check the HSP-Path"); + continue; } List layerDependencyList = getLayerDependency( dependency.getModuleName(), hapVerifyInfo, allHapVerifyInfo); -- Gitee