From 8a94f28f088fa1235147a7daba0332cb071886db Mon Sep 17 00:00:00 2001 From: zhaohang Date: Thu, 29 Feb 2024 10:31:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E4=BB=B6=E7=8B=AC=E7=AB=8B=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhaohang --- BUILD.gn | 4 ++++ bundle.json | 22 ++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 05495db..0ff9096 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -48,6 +48,8 @@ if (defined(ohos_lite)) { ohos_static_library("libsec_static") { sources = libsec_sources all_dependent_configs = [ ":libsec_public_config" ] + public_configs = [ ":libsec_public_config" ] + cflags = [ "-D_INC_STRING_S", "-D_INC_WCHAR_S", @@ -63,6 +65,8 @@ if (defined(ohos_lite)) { ohos_shared_library("libsec_shared") { sources = libsec_sources all_dependent_configs = [ ":libsec_public_config" ] + public_configs = [ ":libsec_public_config" ] + cflags = [ "-D_INC_STRING_S", "-D_INC_WCHAR_S", diff --git a/bundle.json b/bundle.json index 7e8d037..321df48 100644 --- a/bundle.json +++ b/bundle.json @@ -14,7 +14,11 @@ "subsystem": "thirdparty", "syscap": [], "features": [], - "adapted_system_type": [ "mini", "small", "standard" ], + "adapted_system_type": [ + "mini", + "small", + "standard" + ], "rom": "", "ram": "", "deps": { @@ -22,14 +26,16 @@ "third_party": [] }, "build": { - "sub_component": [ "//third_party/bounds_checking_function:libsec_shared" ], + "sub_component": [ + "//third_party/bounds_checking_function:libsec_shared" + ], "inner_kits": [ { "name": "//third_party/bounds_checking_function:libsec_shared", "header": { - "header_files": [ - "securec.h", - "securectype.h" + "header_files": [ + "securec.h", + "securectype.h" ], "header_base": "//third_party/bounds_checking_function/include" } @@ -37,9 +43,9 @@ { "name": "//third_party/bounds_checking_function:libsec_static", "header": { - "header_files": [ - "securec.h", - "securectype.h" + "header_files": [ + "securec.h", + "securectype.h" ], "header_base": "//third_party/bounds_checking_function/include" }