From f64003ad97227a56b779f2bd8bea38f7bba6688f Mon Sep 17 00:00:00 2001 From: yang-junfeng0621 Date: Mon, 28 Apr 2025 12:42:34 +0800 Subject: [PATCH 1/2] =?UTF-8?q?BUILD.GN=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- security/huks/BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/security/huks/BUILD.gn b/security/huks/BUILD.gn index 9c8b729850..4a8d8ea12a 100644 --- a/security/huks/BUILD.gn +++ b/security/huks/BUILD.gn @@ -19,7 +19,12 @@ ohos_ndk_library("libhuks_ndk") { ndk_description_file = "./libhuks.ndk.json" min_compact_version = "1" - # system_capability = "SystemCapability.Security.Huks" + system_capability = "SystemCapability.Security.Huks" + system_capability_headers = [ + "./include/native_huks_api.h", + "./include/native_huks_param.h", + "./include/native_huks_type.h", + ] } ohos_ndk_headers("huks_header") { -- Gitee From 95caae94f278f004bb66b5a1112c13fee9b166ca Mon Sep 17 00:00:00 2001 From: yang-junfeng0621 Date: Wed, 7 May 2025 14:46:31 +0800 Subject: [PATCH 2/2] =?UTF-8?q?BUILD.gn=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yang-junfeng0621 --- security/huks/BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/security/huks/BUILD.gn b/security/huks/BUILD.gn index 9c8b729850..4a8d8ea12a 100644 --- a/security/huks/BUILD.gn +++ b/security/huks/BUILD.gn @@ -19,7 +19,12 @@ ohos_ndk_library("libhuks_ndk") { ndk_description_file = "./libhuks.ndk.json" min_compact_version = "1" - # system_capability = "SystemCapability.Security.Huks" + system_capability = "SystemCapability.Security.Huks" + system_capability_headers = [ + "./include/native_huks_api.h", + "./include/native_huks_param.h", + "./include/native_huks_type.h", + ] } ohos_ndk_headers("huks_header") { -- Gitee