diff --git a/BUILD.gn b/BUILD.gn index 23188701998cdfd212b3a119ed7b0a6a571ccc32..db533cab9f558a11580873b7ab90ccb6d2200893 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 2a5d25afe8cb520981231c62aa1c2ce39b7c8aa8..57eec17992bccb8f89ed1c001224f0ab43424358 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 9298c3ba26488529c41390560d5e5b9e47914a7f..b2bd2dcc39738832b678f8da10958e4f0c663984 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 = [