From 971e0dddb54f593fe72056da2bd3c7f27b202463 Mon Sep 17 00:00:00 2001 From: liyufan Date: Thu, 3 Aug 2023 16:36:58 +0800 Subject: [PATCH 1/2] add sasdk Signed-off-by: liyufan --- BUILD.gn | 5 ++++- bundle.json | 14 +++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 6482fea17..231359526 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -130,7 +130,10 @@ if (defined(ohos_lite)) { public_configs = [ ":mbedtls_config" ] output_name = "mbedtls" subsystem_name = "thirdparty" - innerapi_tags = [ "platformsdk_indirect" ] + innerapi_tags = [ + "platformsdk_indirect", + "sasdk", + ] part_name = "mbedtls" sources = MBEDTLS_SOURCES install_images = [ diff --git a/bundle.json b/bundle.json index f4309f69b..557361524 100755 --- a/bundle.json +++ b/bundle.json @@ -23,7 +23,19 @@ }, "build": { "sub_component": [], - "inner_kits": [], + "inner_kits": [ + { + "header" : { + "header_base": "//third_party/mbedtls/include", + "header_files": [ + "md.h", + "rsa.h", + "x509.h" + ] + }, + "name" : "//third_party/mbedtls:mbedtls_shared" + } + ], "test": [] } } -- Gitee From 1932185e1d29892f6a98dd5702ffcee4844c13a4 Mon Sep 17 00:00:00 2001 From: liyufan Date: Thu, 3 Aug 2023 17:20:40 +0800 Subject: [PATCH 2/2] bundle check Signed-off-by: liyufan --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index 557361524..e7221f6e5 100755 --- a/bundle.json +++ b/bundle.json @@ -14,7 +14,7 @@ "subsystem": "thirdparty", "syscap": [], "features": [], - "adapted_system_type": [], + "adapted_system_type": ["small", "standard"], "rom": "", "ram": "", "deps": { -- Gitee