From bbfef17eaf2ea611e84de24a5f83674c02108cea Mon Sep 17 00:00:00 2001 From: y30053096 Date: Fri, 12 Jul 2024 15:36:31 +0800 Subject: [PATCH] modify macro Signed-off-by: y30053096 Change-Id: I6ddd1e9785f7280c0ff3db8cb2386789a617ac9e --- BUILD.gn | 4 ++-- bundle.json | 4 +++- mbedtls.gni | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 231887019..db533cab9 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -77,8 +77,8 @@ if (defined(ohos_lite)) { group("mbedtls") { if (ohos_kernel_type == "liteos_m") { - if (ohos_security_huks_mbedtls_porting_path != "") { - public_deps = [ ohos_security_huks_mbedtls_porting_path ] + if (mbedtls_porting_path != "") { + public_deps = [ mbedtls_porting_path ] } else { public_deps = [ ":mbedtls_static" ] } diff --git a/bundle.json b/bundle.json index 2a5d25afe..57eec1799 100755 --- a/bundle.json +++ b/bundle.json @@ -13,7 +13,9 @@ "name": "mbedtls", "subsystem": "thirdparty", "syscap": [], - "features": [], + "features": [ + "mbedtls_porting_path" + ], "adapted_system_type": [ "mini", "small", diff --git a/mbedtls.gni b/mbedtls.gni index 9298c3ba2..b2bd2dcc3 100755 --- a/mbedtls.gni +++ b/mbedtls.gni @@ -32,7 +32,7 @@ KERNELDIR = "//kernel/liteos_m/" defines = [] declare_args() { # custom compile flag for bestechnic - ohos_security_huks_mbedtls_porting_path = "" + mbedtls_porting_path = "" } LIBRARYFILES = [ -- Gitee