11ebd3d54Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 21ebd3d54Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 31ebd3d54Sopenharmony_ci# you may not use this file except in compliance with the License. 41ebd3d54Sopenharmony_ci# You may obtain a copy of the License at 51ebd3d54Sopenharmony_ci# 61ebd3d54Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 71ebd3d54Sopenharmony_ci# 81ebd3d54Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 91ebd3d54Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 101ebd3d54Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 111ebd3d54Sopenharmony_ci# See the License for the specific language governing permissions and 121ebd3d54Sopenharmony_ci# limitations under the License. 131ebd3d54Sopenharmony_ci 141ebd3d54Sopenharmony_ciimport("//build/ohos.gni") 151ebd3d54Sopenharmony_ciimport("//build/ohos/sa_profile/sa_profile.gni") 161ebd3d54Sopenharmony_ci 171ebd3d54Sopenharmony_ciohos_prebuilt_etc("bgtaskmgr_service_init") { 181ebd3d54Sopenharmony_ci source = "etc/bgtaskmgr_service.cfg" 191ebd3d54Sopenharmony_ci relative_install_dir = "init" 201ebd3d54Sopenharmony_ci subsystem_name = "resourceschedule" 211ebd3d54Sopenharmony_ci part_name = "background_task_mgr" 221ebd3d54Sopenharmony_ci} 231ebd3d54Sopenharmony_ci 241ebd3d54Sopenharmony_ciohos_sa_profile("bgtaskmgr_sa_profile") { 251ebd3d54Sopenharmony_ci sources = [ "1903.json" ] 261ebd3d54Sopenharmony_ci 271ebd3d54Sopenharmony_ci part_name = "background_task_mgr" 281ebd3d54Sopenharmony_ci} 29