diff --git a/BUILD.gn b/BUILD.gn index e1303afe97f71bb4eabc463e127a0531147e5298..57e59982ff7cd1273de945a5ffe7e40e0c0f04de 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 0183533adf8c8cdfa0549e8651144831c1a13228..ff3cdbf2718ed554181c6590a68445efc3da3f7e 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": [],