# Copyright (c) 2021-2022 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import("../../appexecfwk.gni") install_daemon_sources = [ "${services_path}/bundlemgr/src/installd/installd_host_impl.cpp", "${services_path}/bundlemgr/src/installd/installd_operator.cpp", "${services_path}/bundlemgr/src/installd/installd_permission_mgr.cpp", "${services_path}/bundlemgr/src/installd/installd_service.cpp", "${services_path}/bundlemgr/src/installd_client.cpp", "${services_path}/bundlemgr/src/ipc/extract_param.cpp", "${services_path}/bundlemgr/src/ipc/file_stat.cpp", "${services_path}/bundlemgr/src/ipc/installd_host.cpp", "${services_path}/bundlemgr/src/ipc/installd_proxy.cpp", ] bundle_install_sources = [ "${services_path}/bundlemgr/src/ability_manager_helper.cpp", "${services_path}/bundlemgr/src/base_bundle_installer.cpp", "${services_path}/bundlemgr/src/bundle_exception_handler.cpp", "${services_path}/bundlemgr/src/bundle_install_checker.cpp", "${services_path}/bundlemgr/src/bundle_installer.cpp", "${services_path}/bundlemgr/src/bundle_installer_host.cpp", "${services_path}/bundlemgr/src/bundle_installer_manager.cpp", "${services_path}/bundlemgr/src/bundle_permission_mgr.cpp", "${services_path}/bundlemgr/src/bundle_stream_installer_host_impl.cpp", "${services_path}/bundlemgr/src/bundle_util.cpp", "${services_path}/bundlemgr/src/bundle_verify_mgr.cpp", "${services_path}/bundlemgr/src/event_report.cpp", "${services_path}/bundlemgr/src/inner_bundle_info.cpp", "${services_path}/bundlemgr/src/inner_bundle_user_info.cpp", "${services_path}/bundlemgr/src/installd_client.cpp", "${services_path}/bundlemgr/src/installd_death_recipient.cpp", "${services_path}/bundlemgr/src/ipc/extract_param.cpp", "${services_path}/bundlemgr/src/ipc/file_stat.cpp", "${services_path}/bundlemgr/src/ipc/installd_host.cpp", "${services_path}/bundlemgr/src/ipc/installd_proxy.cpp", "${services_path}/bundlemgr/src/pre_install_bundle_info.cpp", "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_app_helper.cpp", "${services_path}/bundlemgr/src/status_receiver_proxy.cpp", "${services_path}/bundlemgr/src/system_bundle_installer.cpp", "${services_path}/bundlemgr/src/xcollie_helper.cpp", ] aging = [ "${services_path}/bundlemgr/src/aging/aging_handler_chain.cpp", "${services_path}/bundlemgr/src/aging/aging_request.cpp", "${services_path}/bundlemgr/src/aging/aging_util.cpp", "${services_path}/bundlemgr/src/aging/bundle_aging_mgr.cpp", "${services_path}/bundlemgr/src/aging/bundle_data_size_aging_handler.cpp", "${services_path}/bundlemgr/src/aging/over_10days_unused_bundle_aging_handler.cpp", "${services_path}/bundlemgr/src/aging/over_20days_unused_bundle_aging_handler.cpp", "${services_path}/bundlemgr/src/aging/over_30days_unused_bundle_aging_handler.cpp", "${services_path}/bundlemgr/src/aging/recently_unused_bundle_aging_handler.cpp", ] free_install = [ "${services_path}/bundlemgr/src/free_install/bundle_connect_ability_mgr.cpp", "${services_path}/bundlemgr/src/free_install/service_center_connection.cpp", "${services_path}/bundlemgr/src/free_install/service_center_death_recipient.cpp", "${services_path}/bundlemgr/src/free_install/service_center_status_callback.cpp", "${services_path}/bundlemgr/src/free_install/service_center_status_callback_stub.cpp", ] distributed_manager = [ "${services_path}/bundlemgr/src/distributed_manager/bundle_distributed_manager.cpp", "${services_path}/bundlemgr/src/distributed_manager/bundle_manager_callback_proxy.cpp", "${services_path}/bundlemgr/src/distributed_manager/bundle_manager_callback_stub.cpp", "${services_path}/bundlemgr/src/distributed_manager/bundle_manager_callback.cpp", ] default_app = [ "${services_path}/bundlemgr/src/default_app/default_app_data.cpp", "${services_path}/bundlemgr/src/default_app/default_app_host_impl.cpp", "${services_path}/bundlemgr/src/default_app/default_app_mgr.cpp", ] sandbox_app = [ "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_data_mgr.cpp", "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_exception_handler.cpp", "${services_path}/bundlemgr/src/sandbox_app/bundle_sandbox_installer.cpp", ] quick_fix = [ "${services_path}/bundlemgr/src/quick_fix/inner_app_quick_fix.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_boot_scanner.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_checker.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_data_mgr.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_manager_host_impl.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fixer.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_mgr.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_deployer.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_switcher.cpp", "${services_path}/bundlemgr/src/quick_fix/quick_fix_deleter.cpp", "${services_path}/bundlemgr/include/quick_fix/state/src/quick_fix_delete_state.cpp", "${services_path}/bundlemgr/include/quick_fix/state/src/quick_fix_deploy_state.cpp", "${services_path}/bundlemgr/include/quick_fix/state/src/quick_fix_switch_state.cpp", ] app_control = [ "${services_path}/bundlemgr/src/app_control/app_control_manager_host_impl.cpp", "${services_path}/bundlemgr/src/app_control/app_control_manager_rdb.cpp", "${services_path}/bundlemgr/src/app_control/app_control_manager.cpp", ] if (bms_rdb_enable) { default_app += [ "${services_path}/bundlemgr/src/default_app/default_app_rdb.cpp" ] quick_fix += [ "${services_path}/bundlemgr/src/quick_fix/quick_fix_manager_rdb.cpp" ] } else { default_app += [ "${services_path}/bundlemgr/src/default_app/default_app_db.cpp" ] } bundle_install_deps = [ "${services_path}/bundlemgr:bundle_parser", "${services_path}/bundlemgr:parser_common", ]