122c0b7e4Sopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 222c0b7e4Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 322c0b7e4Sopenharmony_ci# you may not use this file except in compliance with the License. 422c0b7e4Sopenharmony_ci# You may obtain a copy of the License at 522c0b7e4Sopenharmony_ci# 622c0b7e4Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 722c0b7e4Sopenharmony_ci# 822c0b7e4Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 922c0b7e4Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1022c0b7e4Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1122c0b7e4Sopenharmony_ci# See the License for the specific language governing permissions and 1222c0b7e4Sopenharmony_ci# limitations under the License. 1322c0b7e4Sopenharmony_ci 1422c0b7e4Sopenharmony_ciimport("//build/ohos.gni") 1522c0b7e4Sopenharmony_ciimport("//build/ohos/sa_profile/sa_profile.gni") 1622c0b7e4Sopenharmony_ci 1722c0b7e4Sopenharmony_ciohos_prebuilt_etc("device_usage_statistics_service_init") { 1822c0b7e4Sopenharmony_ci source = "etc/device_usage_statistics_service.cfg" 1922c0b7e4Sopenharmony_ci relative_install_dir = "init" 2022c0b7e4Sopenharmony_ci part_name = "device_usage_statistics" 2122c0b7e4Sopenharmony_ci subsystem_name = "resourceschedule" 2222c0b7e4Sopenharmony_ci} 2322c0b7e4Sopenharmony_ci 2422c0b7e4Sopenharmony_ciohos_sa_profile("usagestat_sa_profile") { 2522c0b7e4Sopenharmony_ci sources = [ "1907.json" ] 2622c0b7e4Sopenharmony_ci part_name = "device_usage_statistics" 2722c0b7e4Sopenharmony_ci} 28