1# Copyright (C) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13import("//build/ohos.gni") 14 15## Install pdp_profile.json to /system/etc/telephony/pdp_profile.json 16ohos_prebuilt_etc("pdp_profile_default") { 17 source = "pdp_profile.json" 18 relative_install_dir = "./telephony" 19 part_name = "telephony_data" 20 subsystem_name = "telephony" 21} 22 23ohos_prebuilt_etc("ecc_data_default") { 24 source = "ecc_data.json" 25 relative_install_dir = "./telephony" 26 part_name = "telephony_data" 27 subsystem_name = "telephony" 28} 29 30ohos_prebuilt_etc("num_match_default") { 31 source = "number_match.json" 32 relative_install_dir = "./telephony" 33 part_name = "telephony_data" 34 subsystem_name = "telephony" 35} 36 37ohos_prebuilt_etc("opkey_info_default") { 38 source = "OpkeyInfo.json" 39 relative_install_dir = "./telephony" 40 part_name = "telephony_data" 41 subsystem_name = "telephony" 42} 43 44group("pdp_profile") { 45 if (!(defined(global_parts_info) && 46 defined(global_parts_info.telephony_telephony_enhanced) && 47 global_parts_info.telephony_telephony_enhanced)) { 48 deps = [ ":pdp_profile_default" ] 49 } 50} 51 52group("global_params_config") { 53 deps = [ 54 ":ecc_data_default", 55 ":num_match_default", 56 ] 57} 58