diff --git a/frameworks/ans/test/unittest/BUILD.gn b/frameworks/ans/test/unittest/BUILD.gn index 5520e93510f6180f2d9c6a979009fec699bc6cb3..b22ac87a3792885f99fbd12dcd9b424ea1787cd5 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",