14616d0f9Sopenharmony_ci# Copyright (c) 2021-2022 Huawei Device Co., Ltd. 24616d0f9Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 34616d0f9Sopenharmony_ci# you may not use this file except in compliance with the License. 44616d0f9Sopenharmony_ci# You may obtain a copy of the License at 54616d0f9Sopenharmony_ci# 64616d0f9Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 74616d0f9Sopenharmony_ci# 84616d0f9Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 94616d0f9Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 104616d0f9Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 114616d0f9Sopenharmony_ci# See the License for the specific language governing permissions and 124616d0f9Sopenharmony_ci# limitations under the License. 134616d0f9Sopenharmony_ci 144616d0f9Sopenharmony_ciimport("//build/ohos.gni") 154616d0f9Sopenharmony_ci 164616d0f9Sopenharmony_ciohos_prebuilt_etc("iana_tzdata") { 174616d0f9Sopenharmony_ci source = "//third_party/tzdata/data/prebuild/posix/tzdata" 184616d0f9Sopenharmony_ci module_install_dir = "etc/zoneinfo" 194616d0f9Sopenharmony_ci part_name = "tzdata" 204616d0f9Sopenharmony_ci subsystem_name = "thirdparty" 214616d0f9Sopenharmony_ci} 224616d0f9Sopenharmony_ci 234616d0f9Sopenharmony_ciohos_prebuilt_etc("timezone_list_cfg") { 244616d0f9Sopenharmony_ci source = "//third_party/tzdata/data/prebuild/posix/timezone_list.cfg" 254616d0f9Sopenharmony_ci module_install_dir = "etc/zoneinfo" 264616d0f9Sopenharmony_ci part_name = "tzdata" 274616d0f9Sopenharmony_ci subsystem_name = "thirdparty" 284616d0f9Sopenharmony_ci} 294616d0f9Sopenharmony_ci 304616d0f9Sopenharmony_cigroup("zoneinfo") { 314616d0f9Sopenharmony_ci # just for standard system 324616d0f9Sopenharmony_ci if (is_standard_system) { 334616d0f9Sopenharmony_ci deps = [ 344616d0f9Sopenharmony_ci ":iana_tzdata", 354616d0f9Sopenharmony_ci ":timezone_list_cfg", 364616d0f9Sopenharmony_ci ] 374616d0f9Sopenharmony_ci } 384616d0f9Sopenharmony_ci} 39