From abdf09607d9f02b8b2a961c239ce3b258ea2fac0 Mon Sep 17 00:00:00 2001 From: zwtmichael Date: Wed, 21 Aug 2024 17:50:22 +0800 Subject: [PATCH] delete redundance deps Signed-off-by: zwtmichael --- BUILD.gn | 8 ++------ bundle.json | 5 +---- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index ff13f50..0207f3a 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -74,9 +74,8 @@ ohos_shared_library("sqlite") { if (target_os != "ios") { ldflags = [ "-Wl,--exclude-libs,ALL" ] } - deps = [] public_configs = [ ":sqlite_config" ] - public_external_deps = [ "c_utils:utils" ] + external_deps = [ "openssl:libcrypto_shared" ] configs = [ ":sqlite3_private_config" ] innerapi_tags = [ "platformsdk_indirect" ] part_name = "sqlite" @@ -90,10 +89,7 @@ ohos_shared_library("sqlite") { deps += [ "//commonlibrary/c_utils/base:utils" ] } } else { - external_deps = [ - "c_utils:utils", - "openssl:libcrypto_shared", - ] + external_deps += [ "c_utils:utils" ] } } diff --git a/bundle.json b/bundle.json index c2501b6..54e7181 100644 --- a/bundle.json +++ b/bundle.json @@ -22,9 +22,6 @@ "components": [ "c_utils", "openssl" - ], - "third_party": [ - "openssl" ] }, "build": { @@ -44,4 +41,4 @@ "test": [] } } -} \ No newline at end of file +} -- Gitee