diff --git a/BUILD.gn b/BUILD.gn index aebd8145dc9df5fd3a19d117c285dcb08006c914..221b8a7c59fa547d603f424f7482fed7e75c4df3 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1511,6 +1511,16 @@ ohos_source_set("crypto_source") { deps = [ ":openssl_build_all_generated" ] } +ohos_source_set("arkui_crypto") { + subsystem_name = "thirdparty" + part_name = "openssl" + deps = [ + ":crypto_source", + ":openssl.cnf", + ] + public_configs = [ ":crypto_config_public" ] +} + ohos_static_library("libcrypto_static") { subsystem_name = "thirdparty" part_name = "openssl" @@ -1641,6 +1651,20 @@ ohos_source_set("ssl_source") { deps = [ ":openssl_build_all_generated" ] } +ohos_source_set("arkui_ssl") { + subsystem_name = "thirdparty" + part_name = "openssl" + deps = [ + ":libcrypto_static", + ":openssl.cnf", + ":ssl_source", + ] + public_configs = [ + ":crypto_config_public", + ":ssl_config_public", + ] +} + ohos_static_library("libssl_static") { subsystem_name = "thirdparty" part_name = "openssl"