diff --git a/BUILD.gn b/BUILD.gn index 3ae3aedb3d2bed28974d64e207082c12a855c5ef..289d1cf13c5d018a65097e8d915286029cd3e895 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -191,7 +191,6 @@ if (is_mingw || is_mac) { include_dirs = [ "include", "//third_party/bounds_checking_function/include", - "//third_party/openssl/include", ] sources = [ "src/sqlite3.c" ] @@ -222,10 +221,8 @@ if (is_mingw || is_mac) { "OPENSSL_SUPPRESS_DEPRECATED", ] remove_configs = [ "//build/config/compiler:chromium_code" ] - deps = [ - "//third_party/bounds_checking_function:libsec_shared", - "//third_party/openssl:libcrypto_restool", - ] + deps = [ "//third_party/bounds_checking_function:libsec_shared" ] + external_deps = [ "openssl:libcrypto_restool" ] if (is_mingw) { libs = [ "//prebuilts/mingw-w64/ohos/linux-x86_64/clang-mingw/x86_64-w64-mingw32/lib/libws2_32.a" ] } @@ -291,10 +288,8 @@ if (is_cross_platform_build) { "-Wno-implicit-fallthrough", ] - deps = [ - "//third_party/bounds_checking_function:libsec_static", - "//third_party/openssl:libcrypto_static", - ] + deps = [ "//third_party/bounds_checking_function:libsec_static" ] + external_deps = [ "openssl:libcrypto_static" ] public_configs = [ ":sqlite_config" ] configs = [ ":sqlite3_private_config" ] part_name = "sqlite"