1600cc4afSopenharmony_ci# Copyright (c) 2021-2024 Huawei Device Co., Ltd. 2600cc4afSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3600cc4afSopenharmony_ci# you may not use this file except in compliance with the License. 4600cc4afSopenharmony_ci# You may obtain a copy of the License at 5600cc4afSopenharmony_ci# 6600cc4afSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7600cc4afSopenharmony_ci# 8600cc4afSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9600cc4afSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10600cc4afSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11600cc4afSopenharmony_ci# See the License for the specific language governing permissions and 12600cc4afSopenharmony_ci# limitations under the License. 13600cc4afSopenharmony_ci 14600cc4afSopenharmony_ciimport("../../appexecfwk.gni") 15600cc4afSopenharmony_ci 16600cc4afSopenharmony_ciinstall_daemon_sources = [ 17600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aot/aot_args.cpp", 18600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aot/aot_executor.cpp", 19600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_util.cpp", 20600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/code_sign_helper.cpp", 21600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd/installd_host_impl.cpp", 22600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd/installd_load_callback.cpp", 23600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd/installd_operator.cpp", 24600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd/installd_permission_mgr.cpp", 25600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd/installd_service.cpp", 26600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd_client.cpp", 27600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd_death_recipient.cpp", 28600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/check_encryption_param.cpp", 29600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/code_signature_param.cpp", 30600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/create_dir_param.cpp", 31600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/extract_param.cpp", 32600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/file_stat.cpp", 33600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/installd_host.cpp", 34600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/installd_proxy.cpp", 35600cc4afSopenharmony_ci] 36600cc4afSopenharmony_ci 37600cc4afSopenharmony_cibundle_install_sources = [ 38600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ability_manager_helper.cpp", 39600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aot/aot_args.cpp", 40600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aot/aot_handler.cpp", 41600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_service_fwk/app_service_fwk_installer.cpp", 42600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/base_bundle_installer.cpp", 43600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_exception_handler.cpp", 44600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_install_checker.cpp", 45600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_installer.cpp", 46600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_installer_host.cpp", 47600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_installer_manager.cpp", 48600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_permission_mgr.cpp", 49600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_stream_installer_host_impl.cpp", 50600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_util.cpp", 51600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_verify_mgr.cpp", 52600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/driver/driver_installer.cpp", 53600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/event_report.cpp", 54600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/hmp_bundle_installer.cpp", 55600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/inner_bundle_clone_info.cpp", 56600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/inner_bundle_info.cpp", 57600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/inner_bundle_user_info.cpp", 58600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd/installd_load_callback.cpp", 59600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd_client.cpp", 60600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/installd_death_recipient.cpp", 61600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/check_encryption_param.cpp", 62600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/code_signature_param.cpp", 63600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/create_dir_param.cpp", 64600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/extract_param.cpp", 65600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/file_stat.cpp", 66600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/installd_host.cpp", 67600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/ipc/installd_proxy.cpp", 68600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/pre_install_bundle_info.cpp", 69600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/pre_install_exception_mgr.cpp", 70600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_app_helper.cpp", 71600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/shared/inner_shared_bundle_installer.cpp", 72600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/shared/shared_bundle_installer.cpp", 73600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/status_receiver_proxy.cpp", 74600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/system_bundle_installer.cpp", 75600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/utd/utd_handler.cpp", 76600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/xcollie_helper.cpp", 77600cc4afSopenharmony_ci] 78600cc4afSopenharmony_ci 79600cc4afSopenharmony_ciaging = [ 80600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aging/aging_handler_chain.cpp", 81600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aging/aging_request.cpp", 82600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aging/aging_util.cpp", 83600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aging/bundle_aging_mgr.cpp", 84600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aging/recently_unused_bundle_aging_handler.cpp", 85600cc4afSopenharmony_ci] 86600cc4afSopenharmony_ci 87600cc4afSopenharmony_cifree_install = [ 88600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/free_install/bundle_connect_ability_mgr.cpp", 89600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/free_install/bms_ecological_rule_mgr_service_client.cpp", 90600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/free_install/bms_ecological_rule_mgr_service_param.cpp", 91600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/free_install/service_center_connection.cpp", 92600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/free_install/service_center_death_recipient.cpp", 93600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/free_install/service_center_status_callback.cpp", 94600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/free_install/service_center_status_callback_stub.cpp", 95600cc4afSopenharmony_ci] 96600cc4afSopenharmony_ci 97600cc4afSopenharmony_cidistributed_manager = [ 98600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/distributed_manager/bundle_distributed_manager.cpp", 99600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/distributed_manager/bundle_manager_callback_proxy.cpp", 100600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/distributed_manager/bundle_manager_callback_stub.cpp", 101600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/distributed_manager/bundle_manager_callback.cpp", 102600cc4afSopenharmony_ci] 103600cc4afSopenharmony_ci 104600cc4afSopenharmony_cidefault_app = [ 105600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/default_app/default_app_data.cpp", 106600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/default_app/default_app_host_impl.cpp", 107600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/default_app/default_app_mgr.cpp", 108600cc4afSopenharmony_ci] 109600cc4afSopenharmony_ci 110600cc4afSopenharmony_cisandbox_app = [ 111600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_data_mgr.cpp", 112600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_installer.cpp", 113600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_manager_rdb.cpp", 114600cc4afSopenharmony_ci] 115600cc4afSopenharmony_ci 116600cc4afSopenharmony_ciquick_fix = [ 117600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/inner_app_quick_fix.cpp", 118600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_boot_scanner.cpp", 119600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_checker.cpp", 120600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_data_mgr.cpp", 121600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_manager_host_impl.cpp", 122600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fixer.cpp", 123600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_mgr.cpp", 124600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_deployer.cpp", 125600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_switcher.cpp", 126600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/quick_fix/quick_fix_deleter.cpp", 127600cc4afSopenharmony_ci "${services_path}/bundlemgr/include/quick_fix/state/src/quick_fix_delete_state.cpp", 128600cc4afSopenharmony_ci "${services_path}/bundlemgr/include/quick_fix/state/src/quick_fix_deploy_state.cpp", 129600cc4afSopenharmony_ci "${services_path}/bundlemgr/include/quick_fix/state/src/quick_fix_switch_state.cpp", 130600cc4afSopenharmony_ci] 131600cc4afSopenharmony_ci 132600cc4afSopenharmony_ciapp_control = [ 133600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_control/app_control_manager_host_impl.cpp", 134600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_control/app_control_manager_rdb.cpp", 135600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_control/app_control_manager.cpp", 136600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_control/app_jump_interceptor_event_subscriber.cpp", 137600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_control/app_jump_interceptor_manager_rdb.cpp", 138600cc4afSopenharmony_ci] 139600cc4afSopenharmony_ci 140600cc4afSopenharmony_cioverlay_installation = [ 141600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/overlay/bundle_overlay_data_manager.cpp", 142600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/overlay/bundle_overlay_install_checker.cpp", 143600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/overlay/bundle_overlay_manager_host_impl.cpp", 144600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/overlay/bundle_overlay_manager.cpp", 145600cc4afSopenharmony_ci] 146600cc4afSopenharmony_ci 147600cc4afSopenharmony_cidefault_app += 148600cc4afSopenharmony_ci [ "${services_path}/bundlemgr/src/default_app/default_app_rdb.cpp" ] 149600cc4afSopenharmony_ciquick_fix += 150600cc4afSopenharmony_ci [ "${services_path}/bundlemgr/src/quick_fix/quick_fix_manager_rdb.cpp" ] 151600cc4afSopenharmony_ci 152600cc4afSopenharmony_cibundle_install_deps = [ 153600cc4afSopenharmony_ci "${extension_path}:bundlemgr_extension", 154600cc4afSopenharmony_ci "${services_path}/bundlemgr:bundle_parser", 155600cc4afSopenharmony_ci "${services_path}/bundlemgr:parser_common", 156600cc4afSopenharmony_ci] 157600cc4afSopenharmony_ci 158600cc4afSopenharmony_cibundle_install_external_deps = [ 159600cc4afSopenharmony_ci "ffrt:libffrt", 160600cc4afSopenharmony_ci "storage_service:storage_manager_acl", 161600cc4afSopenharmony_ci "zlib:shared_libz", 162600cc4afSopenharmony_ci] 163600cc4afSopenharmony_ci 164600cc4afSopenharmony_ciif (bundle_framework_power_mgr_enable) { 165600cc4afSopenharmony_ci aot_external_deps = [ 166600cc4afSopenharmony_ci "battery_manager:batterysrv_client", 167600cc4afSopenharmony_ci "display_manager:displaymgr", 168600cc4afSopenharmony_ci "power_manager:powermgr_client", 169600cc4afSopenharmony_ci ] 170600cc4afSopenharmony_ci} 171600cc4afSopenharmony_ci 172600cc4afSopenharmony_cibundle_mgr_source = [ 173600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/account_helper.cpp", 174600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/aot/aot_device_idle_listener.cpp", 175600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_provision_info/app_provision_info_manager.cpp", 176600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/app_provision_info/app_provision_info_rdb.cpp", 177600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bms_extension/bms_extension_client.cpp", 178600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bms_key_event_mgr.cpp", 179600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bms_param.cpp", 180600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_common_event_mgr.cpp", 181600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_data_mgr.cpp", 182600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_event_callback_death_recipient.cpp", 183600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_mgr_host_impl.cpp", 184600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_mgr_service.cpp", 185600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_mgr_service_event_handler.cpp", 186600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource_helper.cpp", 187600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_scanner.cpp", 188600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_state_storage.cpp", 189600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_status_callback_death_recipient.cpp", 190600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_user_mgr_host_impl.cpp", 191600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_multiuser_installer.cpp", 192600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/clone/bundle_clone_installer.cpp", 193600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/common/serial_queue.cpp", 194600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/el5_filekey_callback.cpp", 195600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/extend_resource/extend_resource_manager_host_impl.cpp", 196600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/hidump_helper.cpp", 197600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/uninstall_data_mgr/uninstall_bundle_info.cpp", 198600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/uninstall_data_mgr/uninstall_data_mgr_storage_rdb.cpp", 199600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/navigation/router_data_storage_rdb.cpp", 200600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/navigation/router_item_compare.cpp", 201600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/navigation/router_map_helper.cpp", 202600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/navigation/sem_ver.cpp", 203600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/shortcut_data_storage_rdb.cpp", 204600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/system_ability_helper.cpp", 205600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/user_unlocked_event_subscriber.cpp", 206600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/verify/verify_manager_host_impl.cpp", 207600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/verify/verify_util.cpp", 208600cc4afSopenharmony_ci] 209600cc4afSopenharmony_ci 210600cc4afSopenharmony_cibundle_resource = [ 211600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_callback.cpp", 212600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_configuration.cpp", 213600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_drawable.cpp", 214600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_event_subscriber.cpp", 215600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_host_impl.cpp", 216600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_image_info.cpp", 217600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_manager.cpp", 218600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_observer.cpp", 219600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_param.cpp", 220600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_parser.cpp", 221600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_process.cpp", 222600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_rdb.cpp", 223600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/bundle_resource_register.cpp", 224600cc4afSopenharmony_ci "${services_path}/bundlemgr/src/bundle_resource/resource_info.cpp", 225600cc4afSopenharmony_ci] 226