diff --git a/BUILD.gn b/BUILD.gn index 6482fea17e31d11d02887870694da1ebaff8cf24..231359526fb9901755bb0d127c5dddd92a6f68e1 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 f4309f69bf60c7cad94e2603b67fc7a6613cea18..55736152496378e814ee265e52bdba7c3994bf9e 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": [] } }