1885b47fbSopenharmony_ci# Copyright (C) 2022 Huawei Device Co., Ltd. 2885b47fbSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3885b47fbSopenharmony_ci# you may not use this file except in compliance with the License. 4885b47fbSopenharmony_ci# You may obtain a copy of the License at 5885b47fbSopenharmony_ci# 6885b47fbSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7885b47fbSopenharmony_ci# 8885b47fbSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9885b47fbSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10885b47fbSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11885b47fbSopenharmony_ci# See the License for the specific language governing permissions and 12885b47fbSopenharmony_ci# limitations under the License. 13885b47fbSopenharmony_ci 14885b47fbSopenharmony_ciimport("//build/test.gni") 15885b47fbSopenharmony_ciimport("../../accessibility_manager_service.gni") 16885b47fbSopenharmony_ciimport("./aamstestmock.gni") 17885b47fbSopenharmony_ci 18885b47fbSopenharmony_cimodule_output_path = "accessibility/accessibility" 19885b47fbSopenharmony_ci 20885b47fbSopenharmony_ci############################################################################### 21885b47fbSopenharmony_ci#1. intent(c++) get/set test without transport 22885b47fbSopenharmony_ci 23885b47fbSopenharmony_ciconfig("module_private_config") { 24885b47fbSopenharmony_ci visibility = [ ":*" ] 25885b47fbSopenharmony_ci cflags = [] 26885b47fbSopenharmony_ci if (target_cpu == "arm") { 27885b47fbSopenharmony_ci cflags += [ "-DBINDER_IPC_32BIT" ] 28885b47fbSopenharmony_ci } 29885b47fbSopenharmony_ci 30885b47fbSopenharmony_ci include_dirs = aams_mock_include_dirs 31885b47fbSopenharmony_ci include_dirs += [ 32885b47fbSopenharmony_ci "${AAMS_COMMON_PATH}/log/include", 33885b47fbSopenharmony_ci "${AAMS_COMMON_PATH}/interface/include/parcel", 34885b47fbSopenharmony_ci "${AAMS_FRAMEWORKS_PATH}/aafwk/include", 35885b47fbSopenharmony_ci "${AAMS_FRAMEWORKS_PATH}/acfwk/include", 36885b47fbSopenharmony_ci "${AAMS_FRAMEWORKS_PATH}/asacfwk/include", 37885b47fbSopenharmony_ci "${AAMS_INTERFACES_PATH}/innerkits/aafwk/include", 38885b47fbSopenharmony_ci "${AAMS_INTERFACES_PATH}/innerkits/acfwk/include", 39885b47fbSopenharmony_ci "${AAMS_INTERFACES_PATH}/innerkits/asacfwk/include", 40885b47fbSopenharmony_ci "${AAMS_INTERFACES_PATH}/innerkits/common/include", 41885b47fbSopenharmony_ci "../aams/include", 42885b47fbSopenharmony_ci "mock", 43885b47fbSopenharmony_ci "./mock/common", 44885b47fbSopenharmony_ci "${ability_runtime_path}/interfaces/kits/native/ability/native/", 45885b47fbSopenharmony_ci "${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime", 46885b47fbSopenharmony_ci "${ability_runtime_path}/interfaces/kits/native/appkit/ability_runtime/context", 47885b47fbSopenharmony_ci "${ability_runtime_path}/interfaces/kits/native/appkit/app/", 48885b47fbSopenharmony_ci "${ability_runtime_inner_api_path}/ability_manager/include", 49885b47fbSopenharmony_ci "${ability_runtime_inner_api_path}/app_manager/include/appmgr", 50885b47fbSopenharmony_ci "${ability_runtime_services_path}/abilitymgr/include", 51885b47fbSopenharmony_ci "mock/aafwk/include", 52885b47fbSopenharmony_ci "${AAMS_FOUNDATION_PATH}/window/window_manager/utils/include", 53885b47fbSopenharmony_ci "../../../graphic/graphic_2d/rosen/modules/2d_graphics/include", 54885b47fbSopenharmony_ci ] 55885b47fbSopenharmony_ci 56885b47fbSopenharmony_ci defines = [ 57885b47fbSopenharmony_ci "AAMS_LOG_TAG = \"accessibility_test\"", 58885b47fbSopenharmony_ci "AAMS_LOG_DOMAIN = 0xD001D05", 59885b47fbSopenharmony_ci ] 60885b47fbSopenharmony_ci 61885b47fbSopenharmony_ci defines += accessibility_default_defines 62885b47fbSopenharmony_ci} 63885b47fbSopenharmony_ci 64885b47fbSopenharmony_ciMockDistributedscheduleSrc = [] 65885b47fbSopenharmony_ci 66885b47fbSopenharmony_ci################################################################################ 67885b47fbSopenharmony_ciohos_moduletest("aams_accessibility_touch_guider_test") { 68885b47fbSopenharmony_ci module_out_path = module_output_path 69885b47fbSopenharmony_ci 70885b47fbSopenharmony_ci sources = [ 71885b47fbSopenharmony_ci "../../frameworks/common/src/accessibility_window_info.cpp", 72885b47fbSopenharmony_ci "../aams/src/accessibility_account_data.cpp", 73885b47fbSopenharmony_ci "../aams/src/accessibility_circle_drawing_manager.cpp", 74885b47fbSopenharmony_ci "../aams/src/accessibility_common_event.cpp", 75885b47fbSopenharmony_ci "../aams/src/accessibility_datashare_helper.cpp", 76885b47fbSopenharmony_ci "../aams/src/accessibility_display_manager.cpp", 77885b47fbSopenharmony_ci "../aams/src/accessibility_dumper.cpp", 78885b47fbSopenharmony_ci "../aams/src/accessibility_event_transmission.cpp", 79885b47fbSopenharmony_ci "../aams/src/accessibility_gesture_recognizer.cpp", 80885b47fbSopenharmony_ci "../aams/src/accessibility_input_interceptor.cpp", 81885b47fbSopenharmony_ci "../aams/src/accessibility_keyevent_filter.cpp", 82885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_autoclick.cpp", 83885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_key.cpp", 84885b47fbSopenharmony_ci "../aams/src/accessibility_multifinger_multitap.cpp", 85885b47fbSopenharmony_ci "../aams/src/accessibility_power_manager.cpp", 86885b47fbSopenharmony_ci "../aams/src/accessibility_screen_touch.cpp", 87885b47fbSopenharmony_ci "../aams/src/accessibility_setting_observer.cpp", 88885b47fbSopenharmony_ci "../aams/src/accessibility_settings.cpp", 89885b47fbSopenharmony_ci "../aams/src/accessibility_settings_config.cpp", 90885b47fbSopenharmony_ci "../aams/src/accessibility_short_key.cpp", 91885b47fbSopenharmony_ci "../aams/src/accessibility_touchEvent_injector.cpp", 92885b47fbSopenharmony_ci "../aams/src/accessibility_touch_guider.cpp", 93885b47fbSopenharmony_ci "../aams/src/accessibility_window_connection.cpp", 94885b47fbSopenharmony_ci "../aams/src/accessibility_window_manager.cpp", 95885b47fbSopenharmony_ci "../aams/src/accessibility_zoom_gesture.cpp", 96885b47fbSopenharmony_ci "../aams/src/accessible_ability_channel.cpp", 97885b47fbSopenharmony_ci "../aams/src/accessible_ability_connection.cpp", 98885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service.cpp", 99885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service_event_handler.cpp", 100885b47fbSopenharmony_ci "../aams/src/utils.cpp", 101885b47fbSopenharmony_ci "./mock/mock_ability_connect_callback_stub.cpp", 102885b47fbSopenharmony_ci "./mock/mock_ability_manager_client.cpp", 103885b47fbSopenharmony_ci "./mock/mock_accessibility_element_operator_impl.cpp", 104885b47fbSopenharmony_ci "./mock/mock_accessibility_element_operator_proxy.cpp", 105885b47fbSopenharmony_ci "./mock/mock_accessibility_setting_provider.cpp", 106885b47fbSopenharmony_ci "./mock/mock_accessibility_short_key_dialog.cpp", 107885b47fbSopenharmony_ci "./mock/mock_accessible_ability_client_proxy.cpp", 108885b47fbSopenharmony_ci "./mock/mock_accessible_ability_manager_service_stub.cpp", 109885b47fbSopenharmony_ci "./mock/mock_bundle_manager.cpp", 110885b47fbSopenharmony_ci "./mock/mock_bundle_mgr_proxy.cpp", 111885b47fbSopenharmony_ci "./mock/mock_display.cpp", 112885b47fbSopenharmony_ci "./mock/mock_display_manager.cpp", 113885b47fbSopenharmony_ci "./mock/mock_os_account_manager.cpp", 114885b47fbSopenharmony_ci "./mock/mock_parameter.c", 115885b47fbSopenharmony_ci "./mock/mock_service_registry.cpp", 116885b47fbSopenharmony_ci "./mock/mock_system_ability.cpp", 117885b47fbSopenharmony_ci "moduletest/aamstest/aams_accessibility_touch_guider_test/aams_accessibility_touch_guider_test.cpp", 118885b47fbSopenharmony_ci ] 119885b47fbSopenharmony_ci sources += aams_mock_distributeddatamgr_src 120885b47fbSopenharmony_ci sources += aams_mock_multimodalinput_src 121885b47fbSopenharmony_ci sources += aams_mock_powermanager_src 122885b47fbSopenharmony_ci sources += MockDistributedscheduleSrc 123885b47fbSopenharmony_ci 124885b47fbSopenharmony_ci configs = [ 125885b47fbSopenharmony_ci ":module_private_config", 126885b47fbSopenharmony_ci "../../resources/config/build:coverage_flags", 127885b47fbSopenharmony_ci ] 128885b47fbSopenharmony_ci 129885b47fbSopenharmony_ci deps = [ 130885b47fbSopenharmony_ci "../../../../../third_party/googletest:gmock_main", 131885b47fbSopenharmony_ci "../../../../../third_party/googletest:gtest_main", 132885b47fbSopenharmony_ci "../../common/interface:accessibility_interface", 133885b47fbSopenharmony_ci "../../interfaces/innerkits/common:accessibility_common", 134885b47fbSopenharmony_ci ] 135885b47fbSopenharmony_ci 136885b47fbSopenharmony_ci external_deps = [ 137885b47fbSopenharmony_ci "ability_base:want", 138885b47fbSopenharmony_ci "ability_base:zuri", 139885b47fbSopenharmony_ci "ability_runtime:abilitykit_native", 140885b47fbSopenharmony_ci "ability_runtime:dataobs_manager", 141885b47fbSopenharmony_ci "ability_runtime:extension_manager", 142885b47fbSopenharmony_ci "bundle_framework:appexecfwk_core", 143885b47fbSopenharmony_ci "c_utils:utils", 144885b47fbSopenharmony_ci "common_event_service:cesfwk_innerkits", 145885b47fbSopenharmony_ci "data_share:datashare_common", 146885b47fbSopenharmony_ci "data_share:datashare_consumer", 147885b47fbSopenharmony_ci "display_manager:displaymgr", 148885b47fbSopenharmony_ci "eventhandler:libeventhandler", 149885b47fbSopenharmony_ci "ffrt:libffrt", 150885b47fbSopenharmony_ci "graphic_2d:2d_graphics", 151885b47fbSopenharmony_ci "graphic_2d:librender_service_client", 152885b47fbSopenharmony_ci "hicollie:libhicollie", 153885b47fbSopenharmony_ci "hilog:libhilog", 154885b47fbSopenharmony_ci "hisysevent:libhisysevent", 155885b47fbSopenharmony_ci "hitrace:hitrace_meter", 156885b47fbSopenharmony_ci "image_framework:image_native", 157885b47fbSopenharmony_ci "init:libbegetutil", 158885b47fbSopenharmony_ci "input:libmmi-client", 159885b47fbSopenharmony_ci "ipc:ipc_core", 160885b47fbSopenharmony_ci "os_account:os_account_innerkits", 161885b47fbSopenharmony_ci "power_manager:powermgr_client", 162885b47fbSopenharmony_ci "window_manager:libdm", 163885b47fbSopenharmony_ci "window_manager:libwm", 164885b47fbSopenharmony_ci ] 165885b47fbSopenharmony_ci} 166885b47fbSopenharmony_ci 167885b47fbSopenharmony_ci################################################################################ 168885b47fbSopenharmony_ciohos_moduletest("aams_accessibility_touchEvent_injector_test") { 169885b47fbSopenharmony_ci module_out_path = module_output_path 170885b47fbSopenharmony_ci 171885b47fbSopenharmony_ci sources = [ 172885b47fbSopenharmony_ci "../aams/src/accessibility_account_data.cpp", 173885b47fbSopenharmony_ci "../aams/src/accessibility_circle_drawing_manager.cpp", 174885b47fbSopenharmony_ci "../aams/src/accessibility_common_event.cpp", 175885b47fbSopenharmony_ci "../aams/src/accessibility_datashare_helper.cpp", 176885b47fbSopenharmony_ci "../aams/src/accessibility_display_manager.cpp", 177885b47fbSopenharmony_ci "../aams/src/accessibility_dumper.cpp", 178885b47fbSopenharmony_ci "../aams/src/accessibility_event_transmission.cpp", 179885b47fbSopenharmony_ci "../aams/src/accessibility_gesture_recognizer.cpp", 180885b47fbSopenharmony_ci "../aams/src/accessibility_input_interceptor.cpp", 181885b47fbSopenharmony_ci "../aams/src/accessibility_keyevent_filter.cpp", 182885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_autoclick.cpp", 183885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_key.cpp", 184885b47fbSopenharmony_ci "../aams/src/accessibility_multifinger_multitap.cpp", 185885b47fbSopenharmony_ci "../aams/src/accessibility_power_manager.cpp", 186885b47fbSopenharmony_ci "../aams/src/accessibility_screen_touch.cpp", 187885b47fbSopenharmony_ci "../aams/src/accessibility_setting_observer.cpp", 188885b47fbSopenharmony_ci "../aams/src/accessibility_settings.cpp", 189885b47fbSopenharmony_ci "../aams/src/accessibility_settings_config.cpp", 190885b47fbSopenharmony_ci "../aams/src/accessibility_short_key.cpp", 191885b47fbSopenharmony_ci "../aams/src/accessibility_touchEvent_injector.cpp", 192885b47fbSopenharmony_ci "../aams/src/accessibility_touch_guider.cpp", 193885b47fbSopenharmony_ci "../aams/src/accessibility_window_connection.cpp", 194885b47fbSopenharmony_ci "../aams/src/accessibility_window_manager.cpp", 195885b47fbSopenharmony_ci "../aams/src/accessibility_zoom_gesture.cpp", 196885b47fbSopenharmony_ci "../aams/src/accessible_ability_channel.cpp", 197885b47fbSopenharmony_ci "../aams/src/accessible_ability_connection.cpp", 198885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service.cpp", 199885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service_event_handler.cpp", 200885b47fbSopenharmony_ci "../aams/src/utils.cpp", 201885b47fbSopenharmony_ci "./mock/mock_ability_connect_callback_stub.cpp", 202885b47fbSopenharmony_ci "./mock/mock_ability_manager_client.cpp", 203885b47fbSopenharmony_ci "./mock/mock_accessibility_element_operator_impl.cpp", 204885b47fbSopenharmony_ci "./mock/mock_accessibility_element_operator_proxy.cpp", 205885b47fbSopenharmony_ci "./mock/mock_accessibility_setting_provider.cpp", 206885b47fbSopenharmony_ci "./mock/mock_accessibility_short_key_dialog.cpp", 207885b47fbSopenharmony_ci "./mock/mock_accessible_ability_client_proxy.cpp", 208885b47fbSopenharmony_ci "./mock/mock_accessible_ability_manager_service_stub.cpp", 209885b47fbSopenharmony_ci "./mock/mock_bundle_manager.cpp", 210885b47fbSopenharmony_ci "./mock/mock_bundle_mgr_proxy.cpp", 211885b47fbSopenharmony_ci "./mock/mock_display.cpp", 212885b47fbSopenharmony_ci "./mock/mock_display_manager.cpp", 213885b47fbSopenharmony_ci "./mock/mock_os_account_manager.cpp", 214885b47fbSopenharmony_ci "./mock/mock_parameter.c", 215885b47fbSopenharmony_ci "./mock/mock_service_registry.cpp", 216885b47fbSopenharmony_ci "./mock/mock_system_ability.cpp", 217885b47fbSopenharmony_ci "moduletest/aamstest/aams_accessibility_touchEvent_injector_test/aams_accessibility_touchEvent_injector_test.cpp", 218885b47fbSopenharmony_ci ] 219885b47fbSopenharmony_ci 220885b47fbSopenharmony_ci sources += aams_mock_distributeddatamgr_src 221885b47fbSopenharmony_ci sources += aams_mock_multimodalinput_src 222885b47fbSopenharmony_ci sources += aams_mock_powermanager_src 223885b47fbSopenharmony_ci sources += MockDistributedscheduleSrc 224885b47fbSopenharmony_ci 225885b47fbSopenharmony_ci configs = [ 226885b47fbSopenharmony_ci ":module_private_config", 227885b47fbSopenharmony_ci "../../resources/config/build:coverage_flags", 228885b47fbSopenharmony_ci ] 229885b47fbSopenharmony_ci 230885b47fbSopenharmony_ci deps = [ 231885b47fbSopenharmony_ci "../../../../../third_party/googletest:gmock_main", 232885b47fbSopenharmony_ci "../../../../../third_party/googletest:gtest_main", 233885b47fbSopenharmony_ci "../../common/interface:accessibility_interface", 234885b47fbSopenharmony_ci "../../interfaces/innerkits/common:accessibility_common", 235885b47fbSopenharmony_ci ] 236885b47fbSopenharmony_ci 237885b47fbSopenharmony_ci external_deps = [ 238885b47fbSopenharmony_ci "ability_base:want", 239885b47fbSopenharmony_ci "ability_base:zuri", 240885b47fbSopenharmony_ci "ability_runtime:abilitykit_native", 241885b47fbSopenharmony_ci "ability_runtime:dataobs_manager", 242885b47fbSopenharmony_ci "ability_runtime:extension_manager", 243885b47fbSopenharmony_ci "bundle_framework:appexecfwk_core", 244885b47fbSopenharmony_ci "c_utils:utils", 245885b47fbSopenharmony_ci "common_event_service:cesfwk_innerkits", 246885b47fbSopenharmony_ci "data_share:datashare_common", 247885b47fbSopenharmony_ci "data_share:datashare_consumer", 248885b47fbSopenharmony_ci "display_manager:displaymgr", 249885b47fbSopenharmony_ci "eventhandler:libeventhandler", 250885b47fbSopenharmony_ci "ffrt:libffrt", 251885b47fbSopenharmony_ci "graphic_2d:2d_graphics", 252885b47fbSopenharmony_ci "graphic_2d:librender_service_client", 253885b47fbSopenharmony_ci "hicollie:libhicollie", 254885b47fbSopenharmony_ci "hilog:libhilog", 255885b47fbSopenharmony_ci "hisysevent:libhisysevent", 256885b47fbSopenharmony_ci "hitrace:hitrace_meter", 257885b47fbSopenharmony_ci "image_framework:image_native", 258885b47fbSopenharmony_ci "init:libbegetutil", 259885b47fbSopenharmony_ci "input:libmmi-client", 260885b47fbSopenharmony_ci "ipc:ipc_core", 261885b47fbSopenharmony_ci "os_account:os_account_innerkits", 262885b47fbSopenharmony_ci "power_manager:powermgr_client", 263885b47fbSopenharmony_ci "window_manager:libdm", 264885b47fbSopenharmony_ci "window_manager:libwm", 265885b47fbSopenharmony_ci ] 266885b47fbSopenharmony_ci} 267885b47fbSopenharmony_ci 268885b47fbSopenharmony_ci################################################################################ 269885b47fbSopenharmony_ciohos_moduletest("aams_accessible_ability_channel_test") { 270885b47fbSopenharmony_ci module_out_path = module_output_path 271885b47fbSopenharmony_ci 272885b47fbSopenharmony_ci sources = [ 273885b47fbSopenharmony_ci "../aams/src/accessibility_account_data.cpp", 274885b47fbSopenharmony_ci "../aams/src/accessibility_circle_drawing_manager.cpp", 275885b47fbSopenharmony_ci "../aams/src/accessibility_common_event.cpp", 276885b47fbSopenharmony_ci "../aams/src/accessibility_datashare_helper.cpp", 277885b47fbSopenharmony_ci "../aams/src/accessibility_display_manager.cpp", 278885b47fbSopenharmony_ci "../aams/src/accessibility_dumper.cpp", 279885b47fbSopenharmony_ci "../aams/src/accessibility_event_transmission.cpp", 280885b47fbSopenharmony_ci "../aams/src/accessibility_gesture_recognizer.cpp", 281885b47fbSopenharmony_ci "../aams/src/accessibility_input_interceptor.cpp", 282885b47fbSopenharmony_ci "../aams/src/accessibility_keyevent_filter.cpp", 283885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_autoclick.cpp", 284885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_key.cpp", 285885b47fbSopenharmony_ci "../aams/src/accessibility_multifinger_multitap.cpp", 286885b47fbSopenharmony_ci "../aams/src/accessibility_power_manager.cpp", 287885b47fbSopenharmony_ci "../aams/src/accessibility_screen_touch.cpp", 288885b47fbSopenharmony_ci "../aams/src/accessibility_setting_observer.cpp", 289885b47fbSopenharmony_ci "../aams/src/accessibility_settings.cpp", 290885b47fbSopenharmony_ci "../aams/src/accessibility_settings_config.cpp", 291885b47fbSopenharmony_ci "../aams/src/accessibility_short_key.cpp", 292885b47fbSopenharmony_ci "../aams/src/accessibility_touchEvent_injector.cpp", 293885b47fbSopenharmony_ci "../aams/src/accessibility_touch_guider.cpp", 294885b47fbSopenharmony_ci "../aams/src/accessibility_window_connection.cpp", 295885b47fbSopenharmony_ci "../aams/src/accessibility_window_manager.cpp", 296885b47fbSopenharmony_ci "../aams/src/accessibility_zoom_gesture.cpp", 297885b47fbSopenharmony_ci "../aams/src/accessible_ability_channel.cpp", 298885b47fbSopenharmony_ci "../aams/src/accessible_ability_connection.cpp", 299885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service.cpp", 300885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service_event_handler.cpp", 301885b47fbSopenharmony_ci "../aams/src/utils.cpp", 302885b47fbSopenharmony_ci "./mock/mock_ability_connect_callback_stub.cpp", 303885b47fbSopenharmony_ci "./mock/mock_ability_manager_client.cpp", 304885b47fbSopenharmony_ci "./mock/mock_accessibility_element_operator_impl.cpp", 305885b47fbSopenharmony_ci "./mock/mock_accessibility_element_operator_proxy.cpp", 306885b47fbSopenharmony_ci "./mock/mock_accessibility_setting_provider.cpp", 307885b47fbSopenharmony_ci "./mock/mock_accessibility_short_key_dialog.cpp", 308885b47fbSopenharmony_ci "./mock/mock_accessible_ability_client_proxy.cpp", 309885b47fbSopenharmony_ci "./mock/mock_accessible_ability_manager_service_stub.cpp", 310885b47fbSopenharmony_ci "./mock/mock_bundle_manager.cpp", 311885b47fbSopenharmony_ci "./mock/mock_bundle_mgr_proxy.cpp", 312885b47fbSopenharmony_ci "./mock/mock_common_event_data.cpp", 313885b47fbSopenharmony_ci "./mock/mock_common_event_manager.cpp", 314885b47fbSopenharmony_ci "./mock/mock_common_event_subscribe_info.cpp", 315885b47fbSopenharmony_ci "./mock/mock_common_event_subscriber.cpp", 316885b47fbSopenharmony_ci "./mock/mock_common_event_support.cpp", 317885b47fbSopenharmony_ci "./mock/mock_display.cpp", 318885b47fbSopenharmony_ci "./mock/mock_display_manager.cpp", 319885b47fbSopenharmony_ci "./mock/mock_matching_skill.cpp", 320885b47fbSopenharmony_ci "./mock/mock_os_account_manager.cpp", 321885b47fbSopenharmony_ci "./mock/mock_parameter.c", 322885b47fbSopenharmony_ci "./mock/mock_service_registry.cpp", 323885b47fbSopenharmony_ci "./mock/mock_system_ability.cpp", 324885b47fbSopenharmony_ci "moduletest/aamstest/aams_accessible_ability_channel_test/aams_accessible_ability_channel_test.cpp", 325885b47fbSopenharmony_ci ] 326885b47fbSopenharmony_ci 327885b47fbSopenharmony_ci sources += aams_mock_distributeddatamgr_src 328885b47fbSopenharmony_ci sources += aams_mock_multimodalinput_src 329885b47fbSopenharmony_ci sources += aams_mock_powermanager_src 330885b47fbSopenharmony_ci sources += MockDistributedscheduleSrc 331885b47fbSopenharmony_ci 332885b47fbSopenharmony_ci configs = [ 333885b47fbSopenharmony_ci ":module_private_config", 334885b47fbSopenharmony_ci "../../resources/config/build:coverage_flags", 335885b47fbSopenharmony_ci ] 336885b47fbSopenharmony_ci 337885b47fbSopenharmony_ci deps = [ 338885b47fbSopenharmony_ci "../../../../../third_party/googletest:gmock_main", 339885b47fbSopenharmony_ci "../../../../../third_party/googletest:gtest_main", 340885b47fbSopenharmony_ci "../../common/interface:accessibility_interface", 341885b47fbSopenharmony_ci "../../interfaces/innerkits/common:accessibility_common", 342885b47fbSopenharmony_ci ] 343885b47fbSopenharmony_ci 344885b47fbSopenharmony_ci external_deps = [ 345885b47fbSopenharmony_ci "ability_base:want", 346885b47fbSopenharmony_ci "ability_base:zuri", 347885b47fbSopenharmony_ci "ability_runtime:abilitykit_native", 348885b47fbSopenharmony_ci "ability_runtime:dataobs_manager", 349885b47fbSopenharmony_ci "ability_runtime:extension_manager", 350885b47fbSopenharmony_ci "bundle_framework:appexecfwk_core", 351885b47fbSopenharmony_ci "c_utils:utils", 352885b47fbSopenharmony_ci "data_share:datashare_common", 353885b47fbSopenharmony_ci "data_share:datashare_consumer", 354885b47fbSopenharmony_ci "display_manager:displaymgr", 355885b47fbSopenharmony_ci "eventhandler:libeventhandler", 356885b47fbSopenharmony_ci "ffrt:libffrt", 357885b47fbSopenharmony_ci "graphic_2d:2d_graphics", 358885b47fbSopenharmony_ci "graphic_2d:librender_service_client", 359885b47fbSopenharmony_ci "hicollie:libhicollie", 360885b47fbSopenharmony_ci "hilog:libhilog", 361885b47fbSopenharmony_ci "hisysevent:libhisysevent", 362885b47fbSopenharmony_ci "hitrace:hitrace_meter", 363885b47fbSopenharmony_ci "image_framework:image_native", 364885b47fbSopenharmony_ci "init:libbegetutil", 365885b47fbSopenharmony_ci "input:libmmi-client", 366885b47fbSopenharmony_ci "ipc:ipc_core", 367885b47fbSopenharmony_ci "os_account:os_account_innerkits", 368885b47fbSopenharmony_ci "power_manager:powermgr_client", 369885b47fbSopenharmony_ci "window_manager:libdm", 370885b47fbSopenharmony_ci "window_manager:libwm", 371885b47fbSopenharmony_ci ] 372885b47fbSopenharmony_ci} 373885b47fbSopenharmony_ci 374885b47fbSopenharmony_ci################################################################################ 375885b47fbSopenharmony_ciohos_moduletest("aams_server_test") { 376885b47fbSopenharmony_ci module_out_path = module_output_path 377885b47fbSopenharmony_ci 378885b47fbSopenharmony_ci sources = [ 379885b47fbSopenharmony_ci "../aams/src/accessibility_account_data.cpp", 380885b47fbSopenharmony_ci "../aams/src/accessibility_circle_drawing_manager.cpp", 381885b47fbSopenharmony_ci "../aams/src/accessibility_common_event.cpp", 382885b47fbSopenharmony_ci "../aams/src/accessibility_datashare_helper.cpp", 383885b47fbSopenharmony_ci "../aams/src/accessibility_display_manager.cpp", 384885b47fbSopenharmony_ci "../aams/src/accessibility_dumper.cpp", 385885b47fbSopenharmony_ci "../aams/src/accessibility_event_transmission.cpp", 386885b47fbSopenharmony_ci "../aams/src/accessibility_gesture_recognizer.cpp", 387885b47fbSopenharmony_ci "../aams/src/accessibility_input_interceptor.cpp", 388885b47fbSopenharmony_ci "../aams/src/accessibility_keyevent_filter.cpp", 389885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_autoclick.cpp", 390885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_key.cpp", 391885b47fbSopenharmony_ci "../aams/src/accessibility_multifinger_multitap.cpp", 392885b47fbSopenharmony_ci "../aams/src/accessibility_power_manager.cpp", 393885b47fbSopenharmony_ci "../aams/src/accessibility_screen_touch.cpp", 394885b47fbSopenharmony_ci "../aams/src/accessibility_setting_observer.cpp", 395885b47fbSopenharmony_ci "../aams/src/accessibility_settings.cpp", 396885b47fbSopenharmony_ci "../aams/src/accessibility_settings_config.cpp", 397885b47fbSopenharmony_ci "../aams/src/accessibility_short_key.cpp", 398885b47fbSopenharmony_ci "../aams/src/accessibility_touchEvent_injector.cpp", 399885b47fbSopenharmony_ci "../aams/src/accessibility_touch_guider.cpp", 400885b47fbSopenharmony_ci "../aams/src/accessibility_window_connection.cpp", 401885b47fbSopenharmony_ci "../aams/src/accessibility_window_manager.cpp", 402885b47fbSopenharmony_ci "../aams/src/accessibility_zoom_gesture.cpp", 403885b47fbSopenharmony_ci "../aams/src/accessible_ability_channel.cpp", 404885b47fbSopenharmony_ci "../aams/src/accessible_ability_connection.cpp", 405885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service.cpp", 406885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service_event_handler.cpp", 407885b47fbSopenharmony_ci "../aams/src/utils.cpp", 408885b47fbSopenharmony_ci "./mock/mock_ability_connect_callback_stub.cpp", 409885b47fbSopenharmony_ci "./mock/mock_ability_manager_client.cpp", 410885b47fbSopenharmony_ci "./mock/mock_accessibility_setting_provider.cpp", 411885b47fbSopenharmony_ci "./mock/mock_accessibility_short_key_dialog.cpp", 412885b47fbSopenharmony_ci "./mock/mock_accessible_ability_client_proxy.cpp", 413885b47fbSopenharmony_ci "./mock/mock_accessible_ability_manager_service_stub.cpp", 414885b47fbSopenharmony_ci "./mock/mock_bundle_manager.cpp", 415885b47fbSopenharmony_ci "./mock/mock_bundle_mgr_proxy.cpp", 416885b47fbSopenharmony_ci "./mock/mock_common_event_data.cpp", 417885b47fbSopenharmony_ci "./mock/mock_common_event_manager.cpp", 418885b47fbSopenharmony_ci "./mock/mock_common_event_subscribe_info.cpp", 419885b47fbSopenharmony_ci "./mock/mock_common_event_subscriber.cpp", 420885b47fbSopenharmony_ci "./mock/mock_common_event_support.cpp", 421885b47fbSopenharmony_ci "./mock/mock_display.cpp", 422885b47fbSopenharmony_ci "./mock/mock_display_manager.cpp", 423885b47fbSopenharmony_ci "./mock/mock_matching_skill.cpp", 424885b47fbSopenharmony_ci "./mock/mock_os_account_manager.cpp", 425885b47fbSopenharmony_ci "./mock/mock_parameter.c", 426885b47fbSopenharmony_ci "./mock/mock_service_registry.cpp", 427885b47fbSopenharmony_ci "./mock/mock_system_ability.cpp", 428885b47fbSopenharmony_ci "moduletest/aamstest/aams_server_test/aams_server_test.cpp", 429885b47fbSopenharmony_ci ] 430885b47fbSopenharmony_ci 431885b47fbSopenharmony_ci sources += aams_mock_distributeddatamgr_src 432885b47fbSopenharmony_ci sources += aams_mock_multimodalinput_src 433885b47fbSopenharmony_ci sources += aams_mock_powermanager_src 434885b47fbSopenharmony_ci sources += MockDistributedscheduleSrc 435885b47fbSopenharmony_ci 436885b47fbSopenharmony_ci configs = [ 437885b47fbSopenharmony_ci ":module_private_config", 438885b47fbSopenharmony_ci "../../resources/config/build:coverage_flags", 439885b47fbSopenharmony_ci ] 440885b47fbSopenharmony_ci 441885b47fbSopenharmony_ci deps = [ 442885b47fbSopenharmony_ci "../../../../../third_party/googletest:gmock_main", 443885b47fbSopenharmony_ci "../../../../../third_party/googletest:gtest_main", 444885b47fbSopenharmony_ci "../../common/interface:accessibility_interface", 445885b47fbSopenharmony_ci "../../interfaces/innerkits/common:accessibility_common", 446885b47fbSopenharmony_ci ] 447885b47fbSopenharmony_ci 448885b47fbSopenharmony_ci external_deps = [ 449885b47fbSopenharmony_ci "ability_base:want", 450885b47fbSopenharmony_ci "ability_base:zuri", 451885b47fbSopenharmony_ci "ability_runtime:abilitykit_native", 452885b47fbSopenharmony_ci "ability_runtime:dataobs_manager", 453885b47fbSopenharmony_ci "ability_runtime:extension_manager", 454885b47fbSopenharmony_ci "bundle_framework:appexecfwk_core", 455885b47fbSopenharmony_ci "c_utils:utils", 456885b47fbSopenharmony_ci "data_share:datashare_common", 457885b47fbSopenharmony_ci "data_share:datashare_consumer", 458885b47fbSopenharmony_ci "display_manager:displaymgr", 459885b47fbSopenharmony_ci "eventhandler:libeventhandler", 460885b47fbSopenharmony_ci "ffrt:libffrt", 461885b47fbSopenharmony_ci "graphic_2d:2d_graphics", 462885b47fbSopenharmony_ci "graphic_2d:librender_service_client", 463885b47fbSopenharmony_ci "hicollie:libhicollie", 464885b47fbSopenharmony_ci "hilog:libhilog", 465885b47fbSopenharmony_ci "hisysevent:libhisysevent", 466885b47fbSopenharmony_ci "hitrace:hitrace_meter", 467885b47fbSopenharmony_ci "image_framework:image_native", 468885b47fbSopenharmony_ci "init:libbegetutil", 469885b47fbSopenharmony_ci "input:libmmi-client", 470885b47fbSopenharmony_ci "ipc:ipc_core", 471885b47fbSopenharmony_ci "os_account:os_account_innerkits", 472885b47fbSopenharmony_ci "power_manager:powermgr_client", 473885b47fbSopenharmony_ci "window_manager:libdm", 474885b47fbSopenharmony_ci "window_manager:libwm", 475885b47fbSopenharmony_ci ] 476885b47fbSopenharmony_ci} 477885b47fbSopenharmony_ci 478885b47fbSopenharmony_ci################################################################################ 479885b47fbSopenharmony_ciohos_moduletest("aams_accessibility_keyevent_filter_test") { 480885b47fbSopenharmony_ci module_out_path = module_output_path 481885b47fbSopenharmony_ci 482885b47fbSopenharmony_ci sources = [ 483885b47fbSopenharmony_ci "../aams/src/accessibility_account_data.cpp", 484885b47fbSopenharmony_ci "../aams/src/accessibility_circle_drawing_manager.cpp", 485885b47fbSopenharmony_ci "../aams/src/accessibility_common_event.cpp", 486885b47fbSopenharmony_ci "../aams/src/accessibility_datashare_helper.cpp", 487885b47fbSopenharmony_ci "../aams/src/accessibility_display_manager.cpp", 488885b47fbSopenharmony_ci "../aams/src/accessibility_dumper.cpp", 489885b47fbSopenharmony_ci "../aams/src/accessibility_event_transmission.cpp", 490885b47fbSopenharmony_ci "../aams/src/accessibility_gesture_recognizer.cpp", 491885b47fbSopenharmony_ci "../aams/src/accessibility_input_interceptor.cpp", 492885b47fbSopenharmony_ci "../aams/src/accessibility_keyevent_filter.cpp", 493885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_autoclick.cpp", 494885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_key.cpp", 495885b47fbSopenharmony_ci "../aams/src/accessibility_multifinger_multitap.cpp", 496885b47fbSopenharmony_ci "../aams/src/accessibility_power_manager.cpp", 497885b47fbSopenharmony_ci "../aams/src/accessibility_screen_touch.cpp", 498885b47fbSopenharmony_ci "../aams/src/accessibility_setting_observer.cpp", 499885b47fbSopenharmony_ci "../aams/src/accessibility_settings.cpp", 500885b47fbSopenharmony_ci "../aams/src/accessibility_settings_config.cpp", 501885b47fbSopenharmony_ci "../aams/src/accessibility_short_key.cpp", 502885b47fbSopenharmony_ci "../aams/src/accessibility_touchEvent_injector.cpp", 503885b47fbSopenharmony_ci "../aams/src/accessibility_touch_guider.cpp", 504885b47fbSopenharmony_ci "../aams/src/accessibility_window_connection.cpp", 505885b47fbSopenharmony_ci "../aams/src/accessibility_window_manager.cpp", 506885b47fbSopenharmony_ci "../aams/src/accessibility_zoom_gesture.cpp", 507885b47fbSopenharmony_ci "../aams/src/accessible_ability_channel.cpp", 508885b47fbSopenharmony_ci "../aams/src/accessible_ability_connection.cpp", 509885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service.cpp", 510885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service_event_handler.cpp", 511885b47fbSopenharmony_ci "../aams/src/utils.cpp", 512885b47fbSopenharmony_ci "./mock/mock_ability_connect_callback_stub.cpp", 513885b47fbSopenharmony_ci "./mock/mock_ability_manager_client.cpp", 514885b47fbSopenharmony_ci "./mock/mock_accessibility_setting_provider.cpp", 515885b47fbSopenharmony_ci "./mock/mock_accessibility_short_key_dialog.cpp", 516885b47fbSopenharmony_ci "./mock/mock_accessible_ability_client_proxy.cpp", 517885b47fbSopenharmony_ci "./mock/mock_accessible_ability_manager_service_stub.cpp", 518885b47fbSopenharmony_ci "./mock/mock_bundle_manager.cpp", 519885b47fbSopenharmony_ci "./mock/mock_bundle_mgr_proxy.cpp", 520885b47fbSopenharmony_ci "./mock/mock_display.cpp", 521885b47fbSopenharmony_ci "./mock/mock_display_manager.cpp", 522885b47fbSopenharmony_ci "./mock/mock_os_account_manager.cpp", 523885b47fbSopenharmony_ci "./mock/mock_parameter.c", 524885b47fbSopenharmony_ci "./mock/mock_service_registry.cpp", 525885b47fbSopenharmony_ci "./mock/mock_system_ability.cpp", 526885b47fbSopenharmony_ci "moduletest/aamstest/aams_accessibility_keyevent_filter_test/aams_accessibility_keyevent_filter_test.cpp", 527885b47fbSopenharmony_ci ] 528885b47fbSopenharmony_ci 529885b47fbSopenharmony_ci sources += aams_mock_distributeddatamgr_src 530885b47fbSopenharmony_ci sources += aams_mock_multimodalinput_src 531885b47fbSopenharmony_ci sources += aams_mock_powermanager_src 532885b47fbSopenharmony_ci sources += MockDistributedscheduleSrc 533885b47fbSopenharmony_ci 534885b47fbSopenharmony_ci configs = [ 535885b47fbSopenharmony_ci ":module_private_config", 536885b47fbSopenharmony_ci "../../resources/config/build:coverage_flags", 537885b47fbSopenharmony_ci ] 538885b47fbSopenharmony_ci 539885b47fbSopenharmony_ci deps = [ 540885b47fbSopenharmony_ci "../../../../../third_party/googletest:gmock_main", 541885b47fbSopenharmony_ci "../../../../../third_party/googletest:gtest_main", 542885b47fbSopenharmony_ci "../../common/interface:accessibility_interface", 543885b47fbSopenharmony_ci "../../interfaces/innerkits/common:accessibility_common", 544885b47fbSopenharmony_ci ] 545885b47fbSopenharmony_ci 546885b47fbSopenharmony_ci external_deps = [ 547885b47fbSopenharmony_ci "ability_base:want", 548885b47fbSopenharmony_ci "ability_base:zuri", 549885b47fbSopenharmony_ci "ability_runtime:abilitykit_native", 550885b47fbSopenharmony_ci "ability_runtime:dataobs_manager", 551885b47fbSopenharmony_ci "ability_runtime:extension_manager", 552885b47fbSopenharmony_ci "bundle_framework:appexecfwk_core", 553885b47fbSopenharmony_ci "c_utils:utils", 554885b47fbSopenharmony_ci "common_event_service:cesfwk_innerkits", 555885b47fbSopenharmony_ci "data_share:datashare_common", 556885b47fbSopenharmony_ci "data_share:datashare_consumer", 557885b47fbSopenharmony_ci "display_manager:displaymgr", 558885b47fbSopenharmony_ci "eventhandler:libeventhandler", 559885b47fbSopenharmony_ci "ffrt:libffrt", 560885b47fbSopenharmony_ci "graphic_2d:2d_graphics", 561885b47fbSopenharmony_ci "graphic_2d:librender_service_client", 562885b47fbSopenharmony_ci "hicollie:libhicollie", 563885b47fbSopenharmony_ci "hilog:libhilog", 564885b47fbSopenharmony_ci "hisysevent:libhisysevent", 565885b47fbSopenharmony_ci "hitrace:hitrace_meter", 566885b47fbSopenharmony_ci "image_framework:image_native", 567885b47fbSopenharmony_ci "init:libbegetutil", 568885b47fbSopenharmony_ci "input:libmmi-client", 569885b47fbSopenharmony_ci "ipc:ipc_core", 570885b47fbSopenharmony_ci "os_account:os_account_innerkits", 571885b47fbSopenharmony_ci "power_manager:powermgr_client", 572885b47fbSopenharmony_ci "window_manager:libdm", 573885b47fbSopenharmony_ci "window_manager:libwm", 574885b47fbSopenharmony_ci ] 575885b47fbSopenharmony_ci} 576885b47fbSopenharmony_ci 577885b47fbSopenharmony_ci################################################################################ 578885b47fbSopenharmony_ciohos_moduletest("aams_common_event_registry_test") { 579885b47fbSopenharmony_ci module_out_path = module_output_path 580885b47fbSopenharmony_ci 581885b47fbSopenharmony_ci sources = [ 582885b47fbSopenharmony_ci "../aams/src/accessibility_account_data.cpp", 583885b47fbSopenharmony_ci "../aams/src/accessibility_circle_drawing_manager.cpp", 584885b47fbSopenharmony_ci "../aams/src/accessibility_common_event.cpp", 585885b47fbSopenharmony_ci "../aams/src/accessibility_datashare_helper.cpp", 586885b47fbSopenharmony_ci "../aams/src/accessibility_display_manager.cpp", 587885b47fbSopenharmony_ci "../aams/src/accessibility_dumper.cpp", 588885b47fbSopenharmony_ci "../aams/src/accessibility_event_transmission.cpp", 589885b47fbSopenharmony_ci "../aams/src/accessibility_gesture_recognizer.cpp", 590885b47fbSopenharmony_ci "../aams/src/accessibility_input_interceptor.cpp", 591885b47fbSopenharmony_ci "../aams/src/accessibility_keyevent_filter.cpp", 592885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_autoclick.cpp", 593885b47fbSopenharmony_ci "../aams/src/accessibility_mouse_key.cpp", 594885b47fbSopenharmony_ci "../aams/src/accessibility_multifinger_multitap.cpp", 595885b47fbSopenharmony_ci "../aams/src/accessibility_power_manager.cpp", 596885b47fbSopenharmony_ci "../aams/src/accessibility_screen_touch.cpp", 597885b47fbSopenharmony_ci "../aams/src/accessibility_setting_observer.cpp", 598885b47fbSopenharmony_ci "../aams/src/accessibility_settings.cpp", 599885b47fbSopenharmony_ci "../aams/src/accessibility_settings_config.cpp", 600885b47fbSopenharmony_ci "../aams/src/accessibility_short_key.cpp", 601885b47fbSopenharmony_ci "../aams/src/accessibility_touchEvent_injector.cpp", 602885b47fbSopenharmony_ci "../aams/src/accessibility_touch_guider.cpp", 603885b47fbSopenharmony_ci "../aams/src/accessibility_window_connection.cpp", 604885b47fbSopenharmony_ci "../aams/src/accessibility_window_manager.cpp", 605885b47fbSopenharmony_ci "../aams/src/accessibility_zoom_gesture.cpp", 606885b47fbSopenharmony_ci "../aams/src/accessible_ability_channel.cpp", 607885b47fbSopenharmony_ci "../aams/src/accessible_ability_connection.cpp", 608885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service.cpp", 609885b47fbSopenharmony_ci "../aams/src/accessible_ability_manager_service_event_handler.cpp", 610885b47fbSopenharmony_ci "../aams/src/utils.cpp", 611885b47fbSopenharmony_ci "./mock/mock_ability_connect_callback_stub.cpp", 612885b47fbSopenharmony_ci "./mock/mock_ability_manager_client.cpp", 613885b47fbSopenharmony_ci "./mock/mock_accessibility_setting_provider.cpp", 614885b47fbSopenharmony_ci "./mock/mock_accessibility_short_key_dialog.cpp", 615885b47fbSopenharmony_ci "./mock/mock_accessible_ability_client_proxy.cpp", 616885b47fbSopenharmony_ci "./mock/mock_accessible_ability_manager_service_stub.cpp", 617885b47fbSopenharmony_ci "./mock/mock_bundle_manager.cpp", 618885b47fbSopenharmony_ci "./mock/mock_bundle_mgr_proxy.cpp", 619885b47fbSopenharmony_ci "./mock/mock_common_event_data.cpp", 620885b47fbSopenharmony_ci "./mock/mock_common_event_manager.cpp", 621885b47fbSopenharmony_ci "./mock/mock_common_event_subscribe_info.cpp", 622885b47fbSopenharmony_ci "./mock/mock_common_event_subscriber.cpp", 623885b47fbSopenharmony_ci "./mock/mock_common_event_support.cpp", 624885b47fbSopenharmony_ci "./mock/mock_display.cpp", 625885b47fbSopenharmony_ci "./mock/mock_display_manager.cpp", 626885b47fbSopenharmony_ci "./mock/mock_matching_skill.cpp", 627885b47fbSopenharmony_ci "./mock/mock_os_account_manager.cpp", 628885b47fbSopenharmony_ci "./mock/mock_parameter.c", 629885b47fbSopenharmony_ci "./mock/mock_service_registry.cpp", 630885b47fbSopenharmony_ci "./mock/mock_system_ability.cpp", 631885b47fbSopenharmony_ci "moduletest/aamstest/aams_common_event_registry_test/aams_common_event_registry_test.cpp", 632885b47fbSopenharmony_ci ] 633885b47fbSopenharmony_ci 634885b47fbSopenharmony_ci sources += aams_mock_distributeddatamgr_src 635885b47fbSopenharmony_ci sources += aams_mock_multimodalinput_src 636885b47fbSopenharmony_ci sources += aams_mock_powermanager_src 637885b47fbSopenharmony_ci sources += MockDistributedscheduleSrc 638885b47fbSopenharmony_ci 639885b47fbSopenharmony_ci configs = [ 640885b47fbSopenharmony_ci ":module_private_config", 641885b47fbSopenharmony_ci "../../resources/config/build:coverage_flags", 642885b47fbSopenharmony_ci ] 643885b47fbSopenharmony_ci 644885b47fbSopenharmony_ci deps = [ 645885b47fbSopenharmony_ci "../../../../../third_party/googletest:gmock_main", 646885b47fbSopenharmony_ci "../../../../../third_party/googletest:gtest_main", 647885b47fbSopenharmony_ci "../../common/interface:accessibility_interface", 648885b47fbSopenharmony_ci "../../interfaces/innerkits/common:accessibility_common", 649885b47fbSopenharmony_ci ] 650885b47fbSopenharmony_ci 651885b47fbSopenharmony_ci external_deps = [ 652885b47fbSopenharmony_ci "ability_base:want", 653885b47fbSopenharmony_ci "ability_base:zuri", 654885b47fbSopenharmony_ci "ability_runtime:abilitykit_native", 655885b47fbSopenharmony_ci "ability_runtime:dataobs_manager", 656885b47fbSopenharmony_ci "ability_runtime:extension_manager", 657885b47fbSopenharmony_ci "bundle_framework:appexecfwk_core", 658885b47fbSopenharmony_ci "c_utils:utils", 659885b47fbSopenharmony_ci "data_share:datashare_common", 660885b47fbSopenharmony_ci "data_share:datashare_consumer", 661885b47fbSopenharmony_ci "display_manager:displaymgr", 662885b47fbSopenharmony_ci "eventhandler:libeventhandler", 663885b47fbSopenharmony_ci "ffrt:libffrt", 664885b47fbSopenharmony_ci "graphic_2d:2d_graphics", 665885b47fbSopenharmony_ci "graphic_2d:librender_service_client", 666885b47fbSopenharmony_ci "hicollie:libhicollie", 667885b47fbSopenharmony_ci "hilog:libhilog", 668885b47fbSopenharmony_ci "hisysevent:libhisysevent", 669885b47fbSopenharmony_ci "hitrace:hitrace_meter", 670885b47fbSopenharmony_ci "image_framework:image_native", 671885b47fbSopenharmony_ci "init:libbegetutil", 672885b47fbSopenharmony_ci "input:libmmi-client", 673885b47fbSopenharmony_ci "ipc:ipc_core", 674885b47fbSopenharmony_ci "os_account:os_account_innerkits", 675885b47fbSopenharmony_ci "power_manager:powermgr_client", 676885b47fbSopenharmony_ci "window_manager:libdm", 677885b47fbSopenharmony_ci "window_manager:libwm", 678885b47fbSopenharmony_ci ] 679885b47fbSopenharmony_ci} 680885b47fbSopenharmony_ci 681885b47fbSopenharmony_ci################################################################################ 682885b47fbSopenharmony_cigroup("moduletest") { 683885b47fbSopenharmony_ci testonly = true 684885b47fbSopenharmony_ci deps = [] 685885b47fbSopenharmony_ci if (is_phone_product) { 686885b47fbSopenharmony_ci deps += [ 687885b47fbSopenharmony_ci ":aams_accessibility_keyevent_filter_test", 688885b47fbSopenharmony_ci ":aams_accessibility_touchEvent_injector_test", 689885b47fbSopenharmony_ci ":aams_accessibility_touch_guider_test", 690885b47fbSopenharmony_ci ":aams_accessible_ability_channel_test", 691885b47fbSopenharmony_ci ":aams_common_event_registry_test", 692885b47fbSopenharmony_ci ":aams_server_test", 693885b47fbSopenharmony_ci ] 694885b47fbSopenharmony_ci } 695885b47fbSopenharmony_ci} 696