From 37aa2b129dcd7422ecac364908e182dc960eae05 Mon Sep 17 00:00:00 2001 From: pwx1285814 Date: Wed, 1 Nov 2023 01:08:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4c=5Futils=E9=9D=99=E6=80=81?= =?UTF-8?q?=E5=BA=93,=E6=9B=BF=E6=8D=A2=E4=B8=BA=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: pwx1285814 --- common/BUILD.gn | 4 +++- services/screenclient/BUILD.gn | 1 + services/screenclient/test/unittest/BUILD.gn | 1 + services/screendemo/BUILD.gn | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/common/BUILD.gn b/common/BUILD.gn index 640c5a56..7231db1f 100644 --- a/common/BUILD.gn +++ b/common/BUILD.gn @@ -18,6 +18,9 @@ import( ohos_shared_library("distributed_screen_utils") { sanitize = { + cfi = true + cfi_cross_dso = true + debug = false boundary_sanitize = true integer_overflow = true ubsan = true @@ -38,7 +41,6 @@ ohos_shared_library("distributed_screen_utils") { external_deps = [ "c_utils:utils", - "c_utils:utilsbase", "distributed_hardware_fwk:libdhfwk_sdk", "dsoftbus:softbus_client", "hilog:libhilog", diff --git a/services/screenclient/BUILD.gn b/services/screenclient/BUILD.gn index 8b994db5..8d9bf6fe 100644 --- a/services/screenclient/BUILD.gn +++ b/services/screenclient/BUILD.gn @@ -50,6 +50,7 @@ ohos_shared_library("distributed_screen_client") { ] external_deps = [ + "c_utils:utils", "graphic_2d:libgraphic_utils", "graphic_2d:librender_service_client", "graphic_2d:surface", diff --git a/services/screenclient/test/unittest/BUILD.gn b/services/screenclient/test/unittest/BUILD.gn index fb49f3ea..72263d85 100644 --- a/services/screenclient/test/unittest/BUILD.gn +++ b/services/screenclient/test/unittest/BUILD.gn @@ -50,6 +50,7 @@ ohos_unittest("ScreenClientTest") { ] external_deps = [ + "c_utils:utils", "graphic_2d:librender_service_client", "graphic_2d:surface", "input:libmmi-client", diff --git a/services/screendemo/BUILD.gn b/services/screendemo/BUILD.gn index 42800c72..a424fa5d 100644 --- a/services/screendemo/BUILD.gn +++ b/services/screendemo/BUILD.gn @@ -55,6 +55,7 @@ ohos_executable("distributedScreenTest") { "access_token:libaccesstoken_sdk", "access_token:libnativetoken", "access_token:libtoken_setproc", + "c_utils:utils", "dsoftbus:softbus_client", "graphic_2d:librender_service_client", "graphic_2d:surface", -- Gitee