From 9dc10cc9b2b00d5c7d44f02bd926f666af941c54 Mon Sep 17 00:00:00 2001 From: lobty Date: Mon, 29 May 2023 10:15:01 +0800 Subject: [PATCH] rectify the sqlite bundle.json specification Signed-off-by: lobty --- BUILD.gn | 8 ++++++-- bundle.json | 10 +++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index e1303af..57e5998 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -91,7 +91,8 @@ ohos_shared_library("sqlite") { deps = [ "//third_party/openssl:libcrypto_shared" ] public_configs = [ ":sqlite_config" ] configs = [ ":sqlite3_private_config" ] - part_name = "common" + part_name = "sqlite" + subsystem_name = "thirdparty" install_images = [ system_base_dir ] relative_install_dir = "platformsdk" if (is_cross_platform_build) { @@ -191,6 +192,8 @@ if (is_mingw || is_mac) { "-Wno-error=implicit-function-declaration", "-Wno-implicit-fallthrough", ] + part_name = "sqlite" + subsystem_name = "thirdparty" } } @@ -254,6 +257,7 @@ if (is_cross_platform_build) { ] public_configs = [ ":sqlite_config" ] configs = [ ":sqlite3_private_config" ] - part_name = "common" + part_name = "sqlite" + subsystem_name = "thirdparty" } } diff --git a/bundle.json b/bundle.json index 0183533..ff3cdbf 100644 --- a/bundle.json +++ b/bundle.json @@ -10,7 +10,7 @@ "dirs": {}, "scripts": {}, "component": { - "name": "thirdparty_sqlite", + "name": "sqlite", "subsystem": "thirdparty", "syscap": [], "features": [], @@ -18,8 +18,12 @@ "rom": "", "ram": "", "deps": { - "components": [], - "third_party": [] + "components": [ + "c_utils" + ], + "third_party": [ + "openssl" + ] }, "build": { "sub_component": [], -- Gitee