From 52706f32fb0535351bf94350b14ad675d18085af Mon Sep 17 00:00:00 2001 From: Lotol Date: Thu, 11 May 2023 06:04:16 +0000 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E4=BB=B6=E5=8C=96=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lotol Change-Id: I414e8a2a432f3700f139f66f7311be5a7580eea9 --- bundle.json | 13 +++++++++---- interfaces/innerkits/appverify/BUILD.gn | 1 - interfaces/innerkits/appverify/test/BUILD.gn | 1 - .../innerkits/appverify_lite/unittest/BUILD.gn | 5 ----- 4 files changed, 9 insertions(+), 11 deletions(-) diff --git a/bundle.json b/bundle.json index 07f3847..461dd6a 100644 --- a/bundle.json +++ b/bundle.json @@ -1,7 +1,7 @@ { "name": "@ohos/appverify", "description": "Signature verification for HAP packages", - "version": "3.1", + "version": "4.0", "license": "Apache License 2.0", "publishAs": "code-segment", "segment": { @@ -12,7 +12,7 @@ "component": { "name": "appverify", "subsystem": "security", - "syscap": [ "SystemCapability.Security.AppVerify" ], + "syscap": [], "features": [], "adapted_system_type": [ "standard", @@ -25,11 +25,16 @@ "components": [ "hiviewdfx_hilog_native", "init", - "c_utils" + "c_utils", + "os_account", + "shared_library" ], "third_party": [ "json", - "openssl" + "openssl", + "cJSON", + "bounds_checking_function", + "mbedtls" ] }, "build": { diff --git a/interfaces/innerkits/appverify/BUILD.gn b/interfaces/innerkits/appverify/BUILD.gn index 2801e56..5fab206 100644 --- a/interfaces/innerkits/appverify/BUILD.gn +++ b/interfaces/innerkits/appverify/BUILD.gn @@ -75,7 +75,6 @@ if (os_level == "standard") { ] if (!build_public_version) { - deps += [ "//base/security/securityadapter/interfaces/innerkits/securitydiagnose:libsecuritydiagnose_static" ] defines += [ "SUPPORT_GET_DEVICE_TYPES" ] } } diff --git a/interfaces/innerkits/appverify/test/BUILD.gn b/interfaces/innerkits/appverify/test/BUILD.gn index 445517a..e37962d 100644 --- a/interfaces/innerkits/appverify/test/BUILD.gn +++ b/interfaces/innerkits/appverify/test/BUILD.gn @@ -22,7 +22,6 @@ config("verify_test_config") { "//base/security/appverify/interfaces/innerkits/appverify/include", "//third_party/openssl/include", "//third_party/json/single_include", - "//commonlibrary/c_utils/base/include", ] cflags = [ "-fvisibility=hidden" ] ldflags = [ "-Wl,--exclude-libs,ALL" ] diff --git a/interfaces/innerkits/appverify_lite/unittest/BUILD.gn b/interfaces/innerkits/appverify_lite/unittest/BUILD.gn index a1be935..8e64cf8 100644 --- a/interfaces/innerkits/appverify_lite/unittest/BUILD.gn +++ b/interfaces/innerkits/appverify_lite/unittest/BUILD.gn @@ -37,17 +37,12 @@ unittest("app_verify_test") { include_dirs = [ "src", "//base/security/appverify/interfaces/innerkits/appverify_lite/include", - "//base/startup/init/interfaces/innerkits/include/syspara", - "//base/security/permission_lite/interfaces/innerkits", "//third_party/bounds_checking_function/include", "//third_party/cJSON", ] deps = [ - "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_shared", "//base/security/appverify/interfaces/innerkits/appverify_lite:verify", - "//base/security/permission_lite/services/pms_client:pms_client", - "//base/startup/init/interfaces/innerkits:libbegetutil", "//build/lite/config/component/cJSON:cjson_shared", "//third_party/bounds_checking_function:libsec_shared", "//third_party/mbedtls:mbedtls_shared", -- Gitee