diff --git a/BUILD.gn b/BUILD.gn index 52a3053d72aa099751e6ddf5ff94a97074fe4d69..3fc6ebbd9f628cd5ce4438e219716f6e8380b736 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -646,6 +646,8 @@ libdefault_common_sources = [ ] ohos_source_set("crypto_source") { + subsystem_name = "thirdparty" + part_name = "openssl" sources = [ "crypto/aes/aes_cfb.c", "crypto/aes/aes_ecb.c", @@ -1444,6 +1446,8 @@ ohos_source_set("crypto_source") { } ohos_static_library("libcrypto_static") { + subsystem_name = "thirdparty" + part_name = "openssl" deps = [ ":crypto_source" ] public_configs = [ ":crypto_config_public" ] complete_static_lib = true @@ -1456,8 +1460,8 @@ if (is_mingw || is_mac) { libs = [ "ws2_32" ] } deps = [ ":crypto_source" ] - subsystem_name = "security" - part_name = "huks" + subsystem_name = "thirdparty" + part_name = "openssl" public_configs = [ ":crypto_config_public" ] install_images = [ "system", @@ -1473,8 +1477,8 @@ ohos_shared_library("libcrypto_shared") { } deps = [ ":crypto_source" ] output_name = "libcrypto_openssl" - subsystem_name = "security" - part_name = "huks" + subsystem_name = "thirdparty" + part_name = "openssl" public_configs = [ ":crypto_config_public" ] install_images = [ "system", @@ -1513,6 +1517,8 @@ config("ssl_config_public") { } ohos_source_set("ssl_source") { + subsystem_name = "thirdparty" + part_name = "openssl" sources = [ "ssl/bio_ssl.c", "ssl/d1_lib.c", @@ -1571,6 +1577,8 @@ ohos_source_set("ssl_source") { } ohos_static_library("libssl_static") { + subsystem_name = "thirdparty" + part_name = "openssl" deps = [ ":ssl_source" ] public_configs = [ ":ssl_config_public" ] complete_static_lib = true @@ -1588,8 +1596,8 @@ ohos_shared_library("libssl_shared") { } output_name = "libssl_openssl" - subsystem_name = "developtools" - part_name = "profiler" + subsystem_name = "thirdparty" + part_name = "openssl" public_configs = [ ":crypto_config_public", diff --git a/bundle.json b/bundle.json index 529baf4881baba957d651315e5aa4f2a8f836b57..ada0e8b7ffedf075fc1ca8fa62a8bc95ab22a46e 100644 --- a/bundle.json +++ b/bundle.json @@ -13,8 +13,8 @@ "en": "README.md" }, "component": { - "name": "thirdparty_openssl", - "subsystem": "", + "name": "openssl", + "subsystem": "thirdparty", "syscap": [], "features": [], "adapted_system_type": [], diff --git a/compatible/BUILD.gn b/compatible/BUILD.gn index 5cb2056961695be765964e3b7ad445bb5bbeff5d..6bc2db5298300d65c74b251343f42f8d4ce30b50 100644 --- a/compatible/BUILD.gn +++ b/compatible/BUILD.gn @@ -170,6 +170,8 @@ config("crypto_config_public") { } ohos_source_set("crypto_source_compatible") { + subsystem_name = "thirdparty" + part_name = "openssl" sources = [ "crypto/aes/aes_cbc.c", "crypto/aes/aes_cfb.c", @@ -917,6 +919,8 @@ ohos_source_set("crypto_source_compatible") { } ohos_static_library("libcrypto_static_compatible") { + subsystem_name = "thirdparty" + part_name = "openssl" deps = [ ":crypto_source_compatible" ] public_configs = [ ":crypto_config_public" ] complete_static_lib = true @@ -995,6 +999,8 @@ config("ssl_config_public") { } ohos_source_set("ssl_source_compatible") { + subsystem_name = "thirdparty" + part_name = "openssl" sources = [ "ssl/bio_ssl.c", "ssl/d1_lib.c",