1cf69771bSopenharmony_ci# Copyright (C) 2021 Huawei Device Co., Ltd. 2cf69771bSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3cf69771bSopenharmony_ci# you may not use this file except in compliance with the License. 4cf69771bSopenharmony_ci# You may obtain a copy of the License at 5cf69771bSopenharmony_ci# 6cf69771bSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7cf69771bSopenharmony_ci# 8cf69771bSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9cf69771bSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10cf69771bSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11cf69771bSopenharmony_ci# See the License for the specific language governing permissions and 12cf69771bSopenharmony_ci# limitations under the License. 13cf69771bSopenharmony_ciimport("//build/ohos.gni") 14cf69771bSopenharmony_ci 15cf69771bSopenharmony_citime_root_path = "//base/time/time_service" 16cf69771bSopenharmony_ci 17cf69771bSopenharmony_ciapi_path = "${time_root_path}/interfaces/inner_api" 18cf69771bSopenharmony_ci 19cf69771bSopenharmony_citime_capi_path = "${time_root_path}/interfaces/kits/c" 20cf69771bSopenharmony_ci 21cf69771bSopenharmony_citime_service_path = "${time_root_path}/services" 22cf69771bSopenharmony_ci 23cf69771bSopenharmony_citime_utils_path = "${time_root_path}/utils" 24cf69771bSopenharmony_ci 25cf69771bSopenharmony_citime_sanitize_debug = false 26cf69771bSopenharmony_ci 27cf69771bSopenharmony_cideclare_args() { 28cf69771bSopenharmony_ci device_standby = true 29cf69771bSopenharmony_ci if (defined(global_parts_info) && 30cf69771bSopenharmony_ci !defined(global_parts_info.resourceschedule_device_standby)) { 31cf69771bSopenharmony_ci device_standby = false 32cf69771bSopenharmony_ci } 33cf69771bSopenharmony_ci} 34