From 971e0dddb54f593fe72056da2bd3c7f27b202463 Mon Sep 17 00:00:00 2001 From: liyufan Date: Thu, 3 Aug 2023 16:36:58 +0800 Subject: [PATCH] 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 6482fea..2313595 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 f4309f6..5573615 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": [] } } -- GitLab