diff --git a/bundle.json b/bundle.json index 07f3847b5bd9ed8df3839c0ba5a6bb67f98972da..461dd6ad55f68f301b855cc683fa016daa403184 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 2801e56efe22973807fe8b11d35379314b1906b9..5fab2063b3d67540bdefcb6788923c9a80e63df2 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 445517ad1c3077a88b064c198acfce5549a8246d..e37962d8ce264cdf12a31d966c276bde29ce7921 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 a1be9358f88d6d687a732f92f020562820a2f0f6..8e64cf81baf1c02fbf9bd5ce44379a13ab3aa111 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",