From a0777417a413b20288233ed49c418cc6b120d347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B0=B8=E5=BF=A0?= Date: Mon, 18 Aug 2025 02:44:11 +0000 Subject: [PATCH 1/3] add build options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王永忠 --- interfaces/inner_api/datatransmitmgr/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interfaces/inner_api/datatransmitmgr/BUILD.gn b/interfaces/inner_api/datatransmitmgr/BUILD.gn index d2042f9..1f0dfe4 100644 --- a/interfaces/inner_api/datatransmitmgr/BUILD.gn +++ b/interfaces/inner_api/datatransmitmgr/BUILD.gn @@ -64,7 +64,9 @@ ohos_shared_library("data_transit_mgr") { defines = [ "HILOG_ENABLE" ] cflags = [ + "-D_FORTIFY_SOURCE=2", "-DHILOG_ENABLE", "-Wall", + "-fstack-protector-strong", ] } -- Gitee From 73cbcc4b1c033d1624b403c89486892e692df89e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B0=B8=E5=BF=A0?= Date: Mon, 18 Aug 2025 07:32:06 +0000 Subject: [PATCH 2/3] fixed deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王永忠 --- bundle.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index c0e585b..de811ed 100644 --- a/bundle.json +++ b/bundle.json @@ -31,7 +31,8 @@ "device_security_level", "hilog", "init", - "c_utils" + "c_utils", + "cJSON" ], "third_party": [] }, -- Gitee From 462a127418ac2ad7ee4161f9cb81881b54a8a8f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B0=B8=E5=BF=A0?= Date: Mon, 18 Aug 2025 07:46:34 +0000 Subject: [PATCH 3/3] fix deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王永忠 --- bundle.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index de811ed..1a9d2b3 100644 --- a/bundle.json +++ b/bundle.json @@ -32,7 +32,8 @@ "hilog", "init", "c_utils", - "cJSON" + "cJSON", + "selinux_adapter" ], "third_party": [] }, -- Gitee