diff --git a/BUILD.gn b/BUILD.gn index ff13f50f96c042d6935836f836d6a5736c10b1e4..0207f3a05dc8670b9bd47b363beb6670d5ee4e9b 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 c2501b66ea765436bda9916299d994b5cd034fa6..54e718104a476b5e0e7d9db6b83ebb68d8f83d4f 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 +}