diff --git a/frameworks/reminder/test/unittest/BUILD.gn b/frameworks/reminder/test/unittest/BUILD.gn index 2a23300f84d358c6a928c25cad16cded5cf9ca8e..0d04ed81bc012b749d973f6040615c805474cf82 100644 --- a/frameworks/reminder/test/unittest/BUILD.gn +++ b/frameworks/reminder/test/unittest/BUILD.gn @@ -43,10 +43,6 @@ ohos_unittest("reminder_test") { ] defines = [] - if (distributed_notification_service_feature_distributed_db) { - defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] - deps += [ "${services_path}/distributed:libans_distributed" ] - } external_deps = [ "ability_base:base", diff --git a/services/reminder/BUILD.gn b/services/reminder/BUILD.gn index fc4f92880f14e4060d52b7606fee91047ab10ecd..2ea2b124ca44526375a936a1538c799a5fd86e0e 100644 --- a/services/reminder/BUILD.gn +++ b/services/reminder/BUILD.gn @@ -75,12 +75,6 @@ ohos_source_set("reminder_service_sources") { cflags += [ "-DCONFIG_DUAL_FRAMEWORK" ] } - if (distributed_notification_service_feature_distributed_db) { - defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] - deps += [ "${services_path}/distributed:libans_distributed" ] - include_dirs += [ "${services_path}/distributed/include" ] - } - if (notification_smart_reminder_supported) { defines += [ "NOTIFICATION_SMART_REMINDER_SUPPORTED" ] } @@ -103,7 +97,6 @@ ohos_source_set("reminder_service_sources") { "data_share:datashare_common", "data_share:datashare_consumer", "data_share:datashare_permission", - "device_manager:devicemanagersdk", "ffrt:libffrt", "i18n:intl_util", "image_framework:image_native", @@ -209,10 +202,6 @@ ohos_shared_library("libreminder") { deps = [ "${services_path}/reminder:reminder_service_sources" ] - if (distributed_notification_service_feature_distributed_db) { - deps += [ "${services_path}/distributed:libans_distributed" ] - } - external_deps = [ "ability_base:configuration", "ability_runtime:ability_manager", @@ -231,7 +220,6 @@ ohos_shared_library("libreminder") { "data_share:datashare_common", "data_share:datashare_consumer", "data_share:datashare_permission", - "device_manager:devicemanagersdk", "ffrt:libffrt", "i18n:intl_util", "image_framework:image_native", @@ -312,10 +300,6 @@ ohos_static_library("libreminder_static") { deps = [ "${services_path}/reminder:reminder_service_sources" ] - if (distributed_notification_service_feature_distributed_db) { - deps += [ "${services_path}/distributed:libans_distributed" ] - } - external_deps = [ "ability_base:configuration", "ability_runtime:ability_manager", @@ -334,7 +318,6 @@ ohos_static_library("libreminder_static") { "data_share:datashare_common", "data_share:datashare_consumer", "data_share:datashare_permission", - "device_manager:devicemanagersdk", "ffrt:libffrt", "i18n:intl_util", "image_framework:image_native", diff --git a/services/reminder/test/unittest/BUILD.gn b/services/reminder/test/unittest/BUILD.gn index 8963d357e982801a207709ffa52dcf23a32d7922..c1d302b95678997fe48c4cce3e7f8363054e3dcd 100644 --- a/services/reminder/test/unittest/BUILD.gn +++ b/services/reminder/test/unittest/BUILD.gn @@ -41,12 +41,6 @@ ohos_unittest("reminder_unit_test") { "${services_path}/reminder:libreminder_static", ] - if (distributed_notification_service_feature_distributed_db) { - defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] - deps += [ "${services_path}/distributed:libans_distributed" ] - include_dirs += [ "${services_path}/distributed/include" ] - } - external_deps = [ "ability_base:want", "ability_base:zuri", @@ -61,7 +55,6 @@ ohos_unittest("reminder_unit_test") { "common_event_service:cesfwk_innerkits", "data_share:datashare_common", "data_share:datashare_consumer", - "device_manager:devicemanagersdk", "eventhandler:libeventhandler", "ffrt:libffrt", "hilog:libhilog", @@ -257,12 +250,6 @@ ohos_unittest("reminder_service_test") { "${services_path}/reminder:libreminder_static", ] - if (distributed_notification_service_feature_distributed_db) { - defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] - deps += [ "${services_path}/distributed:libans_distributed" ] - include_dirs += [ "${services_path}/distributed/include" ] - } - external_deps = [ "ability_base:base", "ability_base:want", @@ -275,7 +262,6 @@ ohos_unittest("reminder_service_test") { "bundle_framework:appexecfwk_core", "c_utils:utils", "common_event_service:cesfwk_innerkits", - "device_manager:devicemanagersdk", "eventhandler:libeventhandler", "ffrt:libffrt", "hilog:libhilog", @@ -342,12 +328,6 @@ ohos_unittest("reminder_agent_service_ability_test") { "${services_path}/reminder:libreminder_static", ] - if (distributed_notification_service_feature_distributed_db) { - defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] - deps += [ "${services_path}/distributed:libans_distributed" ] - include_dirs += [ "${services_path}/distributed/include" ] - } - external_deps = [ "ability_base:base", "ability_base:want", @@ -362,7 +342,6 @@ ohos_unittest("reminder_agent_service_ability_test") { "common_event_service:cesfwk_innerkits", "data_share:datashare_common", "data_share:datashare_consumer", - "device_manager:devicemanagersdk", "eventhandler:libeventhandler", "ffrt:libffrt", "hilog:libhilog", diff --git a/test/fuzztest/reminderservice_fuzzer/BUILD.gn b/test/fuzztest/reminderservice_fuzzer/BUILD.gn index 973b01eb5887a746eb9a84789b915d9262bffe1c..72f018fdbb7c7a50e1af3c214ee61879611cd4e2 100644 --- a/test/fuzztest/reminderservice_fuzzer/BUILD.gn +++ b/test/fuzztest/reminderservice_fuzzer/BUILD.gn @@ -45,12 +45,6 @@ ohos_fuzztest("ReminderServiceFuzzTest") { cflags += [ "-DCONFIG_DUAL_FRAMEWORK" ] } - if (distributed_notification_service_feature_distributed_db) { - defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] - deps += [ "${services_path}/distributed:libans_distributed" ] - include_dirs += [ "${services_path}/distributed/include" ] - } - if (notification_smart_reminder_supported) { defines += [ "NOTIFICATION_SMART_REMINDER_SUPPORTED" ] } @@ -73,7 +67,6 @@ ohos_fuzztest("ReminderServiceFuzzTest") { "data_share:datashare_common", "data_share:datashare_consumer", "data_share:datashare_permission", - "device_manager:devicemanagersdk", "ffrt:libffrt", "hilog:libhilog", "i18n:intl_util",