17859cbb8Sopenharmony_ci# Copyright (C) 2021 Huawei Device Co., Ltd. 27859cbb8Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 37859cbb8Sopenharmony_ci# you may not use this file except in compliance with the License. 47859cbb8Sopenharmony_ci# You may obtain a copy of the License at 57859cbb8Sopenharmony_ci# 67859cbb8Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 77859cbb8Sopenharmony_ci# 87859cbb8Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 97859cbb8Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 107859cbb8Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 117859cbb8Sopenharmony_ci# See the License for the specific language governing permissions and 127859cbb8Sopenharmony_ci# limitations under the License. 137859cbb8Sopenharmony_ci 147859cbb8Sopenharmony_ciimport("//build/ohos.gni") 157859cbb8Sopenharmony_ci 167859cbb8Sopenharmony_ciohos_resources("telephony_res") { 177859cbb8Sopenharmony_ci sources = [ "main/resources" ] 187859cbb8Sopenharmony_ci hap_profile = "./main/config.json" 197859cbb8Sopenharmony_ci} 207859cbb8Sopenharmony_ci 217859cbb8Sopenharmony_ciohos_hap("telephonyres_hap") { 227859cbb8Sopenharmony_ci deps = [ ":telephony_res" ] 237859cbb8Sopenharmony_ci hap_profile = "./main/config.json" 247859cbb8Sopenharmony_ci hap_name = "TelephonyResources" 257859cbb8Sopenharmony_ci module_install_dir = "app/ohos.telephony.resources" 267859cbb8Sopenharmony_ci certificate_profile = "./TelephonyResources.p7b" 277859cbb8Sopenharmony_ci subsystem_name = "telephony" 287859cbb8Sopenharmony_ci part_name = "core_service" 297859cbb8Sopenharmony_ci} 30