提交 afb6b70e 编写于 作者: C CheungVane

部件化整改

Signed-off-by: Nzhangwenzhi <zhangwenzhi3@huawei.com>
上级 efd9eb8d
...@@ -646,6 +646,8 @@ libdefault_common_sources = [ ...@@ -646,6 +646,8 @@ libdefault_common_sources = [
] ]
ohos_source_set("crypto_source") { ohos_source_set("crypto_source") {
subsystem_name = "thirdparty"
part_name = "openssl"
sources = [ sources = [
"crypto/aes/aes_cfb.c", "crypto/aes/aes_cfb.c",
"crypto/aes/aes_ecb.c", "crypto/aes/aes_ecb.c",
...@@ -1444,6 +1446,8 @@ ohos_source_set("crypto_source") { ...@@ -1444,6 +1446,8 @@ ohos_source_set("crypto_source") {
} }
ohos_static_library("libcrypto_static") { ohos_static_library("libcrypto_static") {
subsystem_name = "thirdparty"
part_name = "openssl"
deps = [ ":crypto_source" ] deps = [ ":crypto_source" ]
public_configs = [ ":crypto_config_public" ] public_configs = [ ":crypto_config_public" ]
complete_static_lib = true complete_static_lib = true
...@@ -1456,8 +1460,8 @@ if (is_mingw || is_mac) { ...@@ -1456,8 +1460,8 @@ if (is_mingw || is_mac) {
libs = [ "ws2_32" ] libs = [ "ws2_32" ]
} }
deps = [ ":crypto_source" ] deps = [ ":crypto_source" ]
subsystem_name = "security" subsystem_name = "thirdparty"
part_name = "huks" part_name = "openssl"
public_configs = [ ":crypto_config_public" ] public_configs = [ ":crypto_config_public" ]
install_images = [ install_images = [
"system", "system",
...@@ -1473,8 +1477,8 @@ ohos_shared_library("libcrypto_shared") { ...@@ -1473,8 +1477,8 @@ ohos_shared_library("libcrypto_shared") {
} }
deps = [ ":crypto_source" ] deps = [ ":crypto_source" ]
output_name = "libcrypto_openssl" output_name = "libcrypto_openssl"
subsystem_name = "security" subsystem_name = "thirdparty"
part_name = "huks" part_name = "openssl"
public_configs = [ ":crypto_config_public" ] public_configs = [ ":crypto_config_public" ]
install_images = [ install_images = [
"system", "system",
...@@ -1513,6 +1517,8 @@ config("ssl_config_public") { ...@@ -1513,6 +1517,8 @@ config("ssl_config_public") {
} }
ohos_source_set("ssl_source") { ohos_source_set("ssl_source") {
subsystem_name = "thirdparty"
part_name = "openssl"
sources = [ sources = [
"ssl/bio_ssl.c", "ssl/bio_ssl.c",
"ssl/d1_lib.c", "ssl/d1_lib.c",
...@@ -1571,6 +1577,8 @@ ohos_source_set("ssl_source") { ...@@ -1571,6 +1577,8 @@ ohos_source_set("ssl_source") {
} }
ohos_static_library("libssl_static") { ohos_static_library("libssl_static") {
subsystem_name = "thirdparty"
part_name = "openssl"
deps = [ ":ssl_source" ] deps = [ ":ssl_source" ]
public_configs = [ ":ssl_config_public" ] public_configs = [ ":ssl_config_public" ]
complete_static_lib = true complete_static_lib = true
...@@ -1588,8 +1596,8 @@ ohos_shared_library("libssl_shared") { ...@@ -1588,8 +1596,8 @@ ohos_shared_library("libssl_shared") {
} }
output_name = "libssl_openssl" output_name = "libssl_openssl"
subsystem_name = "developtools" subsystem_name = "thirdparty"
part_name = "profiler" part_name = "openssl"
public_configs = [ public_configs = [
":crypto_config_public", ":crypto_config_public",
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
"en": "README.md" "en": "README.md"
}, },
"component": { "component": {
"name": "thirdparty_openssl", "name": "openssl",
"subsystem": "", "subsystem": "thirdparty",
"syscap": [], "syscap": [],
"features": [], "features": [],
"adapted_system_type": [], "adapted_system_type": [],
......
...@@ -170,6 +170,8 @@ config("crypto_config_public") { ...@@ -170,6 +170,8 @@ config("crypto_config_public") {
} }
ohos_source_set("crypto_source_compatible") { ohos_source_set("crypto_source_compatible") {
subsystem_name = "thirdparty"
part_name = "openssl"
sources = [ sources = [
"crypto/aes/aes_cbc.c", "crypto/aes/aes_cbc.c",
"crypto/aes/aes_cfb.c", "crypto/aes/aes_cfb.c",
...@@ -917,6 +919,8 @@ ohos_source_set("crypto_source_compatible") { ...@@ -917,6 +919,8 @@ ohos_source_set("crypto_source_compatible") {
} }
ohos_static_library("libcrypto_static_compatible") { ohos_static_library("libcrypto_static_compatible") {
subsystem_name = "thirdparty"
part_name = "openssl"
deps = [ ":crypto_source_compatible" ] deps = [ ":crypto_source_compatible" ]
public_configs = [ ":crypto_config_public" ] public_configs = [ ":crypto_config_public" ]
complete_static_lib = true complete_static_lib = true
...@@ -995,6 +999,8 @@ config("ssl_config_public") { ...@@ -995,6 +999,8 @@ config("ssl_config_public") {
} }
ohos_source_set("ssl_source_compatible") { ohos_source_set("ssl_source_compatible") {
subsystem_name = "thirdparty"
part_name = "openssl"
sources = [ sources = [
"ssl/bio_ssl.c", "ssl/bio_ssl.c",
"ssl/d1_lib.c", "ssl/d1_lib.c",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册