From c5a146c776951d485f8d7bb1f62b3eae0af412b5 Mon Sep 17 00:00:00 2001 From: zhongjianfei Date: Tue, 26 Jul 2022 14:09:11 +0800 Subject: [PATCH] fix build warning for notification Signed-off-by: zhongjianfei Change-Id: Iea512325e2d134d4fb65fee65eb248ac6cec53f7 --- frameworks/ans/test/unittest/BUILD.gn | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/frameworks/ans/test/unittest/BUILD.gn b/frameworks/ans/test/unittest/BUILD.gn index 5520e9351..b22ac87a3 100644 --- a/frameworks/ans/test/unittest/BUILD.gn +++ b/frameworks/ans/test/unittest/BUILD.gn @@ -17,10 +17,6 @@ import("//build/test.gni") module_output_path = "${component_name}/unittest" -config("exception") { - cflags_cc = [ "-fexceptions" ] -} - ohos_unittest("ans_reminder_unit_test") { module_out_path = module_output_path @@ -40,10 +36,7 @@ ohos_unittest("ans_reminder_unit_test") { "${frameworks_module_ans_path}/test/unittest/reminder_request_timer_test.cpp", ] - configs = [ - "//commonlibrary/c_utils/base:utils_config", - ":exception", - ] + configs = [ "//commonlibrary/c_utils/base:utils_config" ] deps = [ "${core_path}:ans_core", -- Gitee