1eace7efcSopenharmony_ci# Copyright (c) 2021-2024 Huawei Device Co., Ltd. 2eace7efcSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3eace7efcSopenharmony_ci# you may not use this file except in compliance with the License. 4eace7efcSopenharmony_ci# You may obtain a copy of the License at 5eace7efcSopenharmony_ci# 6eace7efcSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7eace7efcSopenharmony_ci# 8eace7efcSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9eace7efcSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10eace7efcSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11eace7efcSopenharmony_ci# See the License for the specific language governing permissions and 12eace7efcSopenharmony_ci# limitations under the License. 13eace7efcSopenharmony_ci 14eace7efcSopenharmony_ciimport("//foundation/ability/ability_runtime/ability_runtime.gni") 15eace7efcSopenharmony_ci 16eace7efcSopenharmony_ciabilityms_files = [ 17eace7efcSopenharmony_ci "src/preload_uiext_state_observer.cpp", 18eace7efcSopenharmony_ci "src/ability_background_connection.cpp", 19eace7efcSopenharmony_ci "src/ability_cache_manager.cpp", 20eace7efcSopenharmony_ci "src/ability_connect_manager.cpp", 21eace7efcSopenharmony_ci "src/ability_debug_deal.cpp", 22eace7efcSopenharmony_ci "src/ability_event_handler.cpp", 23eace7efcSopenharmony_ci "src/disposed_observer.cpp", 24eace7efcSopenharmony_ci "src/ability_manager_service.cpp", 25eace7efcSopenharmony_ci "src/ability_manager_stub.cpp", 26eace7efcSopenharmony_ci "src/ability_record.cpp", 27eace7efcSopenharmony_ci "src/ability_manager_collaborator_proxy.cpp", 28eace7efcSopenharmony_ci "src/ability_manager_xcollie.cpp", 29eace7efcSopenharmony_ci "src/ability_scheduler_proxy.cpp", 30eace7efcSopenharmony_ci "src/ability_token_stub.cpp", 31eace7efcSopenharmony_ci "src/app_exception_handler.cpp", 32eace7efcSopenharmony_ci "src/app_scheduler.cpp", 33eace7efcSopenharmony_ci "src/app_exit_reason_helper.cpp", 34eace7efcSopenharmony_ci "src/assert_fault_callback_death_mgr.cpp", 35eace7efcSopenharmony_ci "src/assert_fault_proxy.cpp", 36eace7efcSopenharmony_ci "src/connection_record.cpp", 37eace7efcSopenharmony_ci "src/data_ability/data_ability_caller_recipient.cpp", 38eace7efcSopenharmony_ci "src/data_ability/data_ability_manager.cpp", 39eace7efcSopenharmony_ci "src/data_ability/data_ability_record.cpp", 40eace7efcSopenharmony_ci "src/dialog_session/dialog_session_manager.cpp", 41eace7efcSopenharmony_ci "src/lifecycle_deal.cpp", 42eace7efcSopenharmony_ci "src/ability_running_info.cpp", 43eace7efcSopenharmony_ci "src/ecological_rule/ability_ecological_rule_mgr_service_param.cpp", 44eace7efcSopenharmony_ci "src/ecological_rule/ability_ecological_rule_mgr_service.cpp", 45eace7efcSopenharmony_ci "src/extension_config.cpp", 46eace7efcSopenharmony_ci "src/extension_running_info.cpp", 47eace7efcSopenharmony_ci "src/caller_info.cpp", 48eace7efcSopenharmony_ci "src/sub_managers_helper.cpp", 49eace7efcSopenharmony_ci "src/pending_want_record.cpp", 50eace7efcSopenharmony_ci "src/pending_want_key.cpp", 51eace7efcSopenharmony_ci "src/pending_want_manager.cpp", 52eace7efcSopenharmony_ci "src/pending_want_common_event.cpp", 53eace7efcSopenharmony_ci "src/restart_app_manager.cpp", 54eace7efcSopenharmony_ci "src/ams_configuration_parameter.cpp", 55eace7efcSopenharmony_ci "src/insight_intent_profile.cpp", 56eace7efcSopenharmony_ci "src/recovery_info_timer.cpp", 57eace7efcSopenharmony_ci "src/modal_system_dialog/modal_system_dialog_ui_extension.cpp", 58eace7efcSopenharmony_ci "src/interceptor/ability_interceptor_executer.cpp", 59eace7efcSopenharmony_ci "src/interceptor/ability_jump_interceptor.cpp", 60eace7efcSopenharmony_ci "src/interceptor/block_all_app_start_interceptor.cpp", 61eace7efcSopenharmony_ci "src/interceptor/control_interceptor.cpp", 62eace7efcSopenharmony_ci "src/interceptor/crowd_test_interceptor.cpp", 63eace7efcSopenharmony_ci "src/interceptor/disposed_rule_interceptor.cpp", 64eace7efcSopenharmony_ci "src/interceptor/ecological_rule_interceptor.cpp", 65eace7efcSopenharmony_ci "src/interceptor/extension_control_interceptor.cpp", 66eace7efcSopenharmony_ci "src/interceptor/screen_unlock_interceptor.cpp", 67eace7efcSopenharmony_ci "src/interceptor/start_other_app_interceptor.cpp", 68eace7efcSopenharmony_ci "src/window_focus_changed_listener.cpp", 69eace7efcSopenharmony_ci 70eace7efcSopenharmony_ci # start ability handler 71eace7efcSopenharmony_ci "src/start_ability_handler.cpp", 72eace7efcSopenharmony_ci "src/start_ability_handler/start_ability_sandbox_savefile.cpp", 73eace7efcSopenharmony_ci 74eace7efcSopenharmony_ci # new ability manager service here 75eace7efcSopenharmony_ci "src/extension_record_manager.cpp", 76eace7efcSopenharmony_ci "src/extension_record.cpp", 77eace7efcSopenharmony_ci "src/extension_record_factory.cpp", 78eace7efcSopenharmony_ci "src/ui_extension_record.cpp", 79eace7efcSopenharmony_ci "src/ui_extension_record_factory.cpp", 80eace7efcSopenharmony_ci "src/screen_lock/unlock_screen_manager.cpp", 81eace7efcSopenharmony_ci "src/start_options.cpp", 82eace7efcSopenharmony_ci "src/user_callback_proxy.cpp", 83eace7efcSopenharmony_ci "src/call_container.cpp", 84eace7efcSopenharmony_ci "src/call_record.cpp", 85eace7efcSopenharmony_ci "src/inner_mission_info.cpp", 86eace7efcSopenharmony_ci "src/mission/mission_listener_controller.cpp", 87eace7efcSopenharmony_ci "src/mission/mission_listener_proxy.cpp", 88eace7efcSopenharmony_ci "src/rdb/ability_resident_process_rdb.cpp", 89eace7efcSopenharmony_ci "src/rdb/parser_util.cpp", 90eace7efcSopenharmony_ci "src/rdb/rdb_data_manager.cpp", 91eace7efcSopenharmony_ci "src/remote_mission_listener_proxy.cpp", 92eace7efcSopenharmony_ci "src/scene_board/status_bar_delegate_manager.cpp", 93eace7efcSopenharmony_ci "src/scene_board/ui_ability_lifecycle_manager.cpp", 94eace7efcSopenharmony_ci "src/deeplink_reserve/deeplink_reserve_config.cpp", 95eace7efcSopenharmony_ci 96eace7efcSopenharmony_ci #connection observer 97eace7efcSopenharmony_ci "src/connection_observer_controller.cpp", 98eace7efcSopenharmony_ci "src/connection_state_item.cpp", 99eace7efcSopenharmony_ci "src/connection_state_manager.cpp", 100eace7efcSopenharmony_ci "src/dlp_state_item.cpp", 101eace7efcSopenharmony_ci 102eace7efcSopenharmony_ci #multi user 103eace7efcSopenharmony_ci "src/user_controller.cpp", 104eace7efcSopenharmony_ci "src/user_event_handler.cpp", 105eace7efcSopenharmony_ci 106eace7efcSopenharmony_ci #free_install 107eace7efcSopenharmony_ci "src/atomic_service_status_callback_proxy.cpp", 108eace7efcSopenharmony_ci "src/atomic_service_status_callback_stub.cpp", 109eace7efcSopenharmony_ci "src/atomic_service_status_callback.cpp", 110eace7efcSopenharmony_ci "src/free_install_manager.cpp", 111eace7efcSopenharmony_ci "src/free_install_observer_manager.cpp", 112eace7efcSopenharmony_ci 113eace7efcSopenharmony_ci "src/background_task_observer.cpp", 114eace7efcSopenharmony_ci 115eace7efcSopenharmony_ci #resident_process 116eace7efcSopenharmony_ci "src/resident_process/resident_process_manager.cpp", 117eace7efcSopenharmony_ci 118eace7efcSopenharmony_ci "src/ability_bundle_event_callback.cpp", 119eace7efcSopenharmony_ci 120eace7efcSopenharmony_ci "src/app_exit_reason_data_manager.cpp", 121eace7efcSopenharmony_ci 122eace7efcSopenharmony_ci "src/ability_auto_startup_data_manager.cpp", 123eace7efcSopenharmony_ci "src/ability_auto_startup_service.cpp", 124eace7efcSopenharmony_ci "src/auto_startup_info.cpp", 125eace7efcSopenharmony_ci "src/insight_intent_execute_manager.cpp", 126eace7efcSopenharmony_ci "src/insight_intent_execute_result.cpp", 127eace7efcSopenharmony_ci 128eace7efcSopenharmony_ci "src/ability_manager_event_subscriber.cpp", 129eace7efcSopenharmony_ci 130eace7efcSopenharmony_ci #utils 131eace7efcSopenharmony_ci "src/utils/ability_event_util.cpp", 132eace7efcSopenharmony_ci "src/utils/ability_permission_util.cpp", 133eace7efcSopenharmony_ci "src/utils/app_mgr_util.cpp", 134eace7efcSopenharmony_ci "src/utils/dump_utils.cpp", 135eace7efcSopenharmony_ci "src/utils/extension_permissions_util.cpp", 136eace7efcSopenharmony_ci "src/utils/insight_intent_utils.cpp", 137eace7efcSopenharmony_ci "src/utils/main_element_utils.cpp", 138eace7efcSopenharmony_ci "src/utils/modal_system_dialog_util.cpp", 139eace7efcSopenharmony_ci "src/utils/multi_app_utils.cpp", 140eace7efcSopenharmony_ci "src/utils/multi_instance_utils.cpp", 141eace7efcSopenharmony_ci "src/utils/start_ability_utils.cpp", 142eace7efcSopenharmony_ci "src/utils/state_utils.cpp", 143eace7efcSopenharmony_ci "src/utils/update_caller_info_util.cpp", 144eace7efcSopenharmony_ci "src/utils/uri_utils.cpp", 145eace7efcSopenharmony_ci "src/utils/want_utils.cpp", 146eace7efcSopenharmony_ci "src/utils/window_options_utils.cpp", 147eace7efcSopenharmony_ci] 148eace7efcSopenharmony_ci 149eace7efcSopenharmony_ciif (ability_runtime_graphics) { 150eace7efcSopenharmony_ci abilityms_files += [ 151eace7efcSopenharmony_ci "${ability_runtime_services_path}/appdfr/src/application_anr_listener.cpp", 152eace7efcSopenharmony_ci "src/implicit_start_processor.cpp", 153eace7efcSopenharmony_ci "src/system_dialog_scheduler.cpp", 154eace7efcSopenharmony_ci "src/ability_first_frame_state_observer_manager.cpp", 155eace7efcSopenharmony_ci "src/screen_lock/unlock_screen_callback.cpp", 156eace7efcSopenharmony_ci ] 157eace7efcSopenharmony_ci} 158eace7efcSopenharmony_ci 159eace7efcSopenharmony_ciif (include_app_domain_verify) { 160eace7efcSopenharmony_ci abilityms_files += [ "src/ag_convert_callback_impl.cpp" ] 161eace7efcSopenharmony_ci} 162