18e745fdaSopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd. 28e745fdaSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 38e745fdaSopenharmony_ci# you may not use this file except in compliance with the License. 48e745fdaSopenharmony_ci# You may obtain a copy of the License at 58e745fdaSopenharmony_ci# 68e745fdaSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 78e745fdaSopenharmony_ci# 88e745fdaSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 98e745fdaSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 108e745fdaSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 118e745fdaSopenharmony_ci# See the License for the specific language governing permissions and 128e745fdaSopenharmony_ci# limitations under the License. 138e745fdaSopenharmony_ciimport("//build/ohos.gni") 148e745fdaSopenharmony_ci 158e745fdaSopenharmony_ciohos_prebuilt_etc("mdnsmanager_trust") { 168e745fdaSopenharmony_ci source = "mdnsmanager_trust.json" 178e745fdaSopenharmony_ci module_install_dir = "profile" 188e745fdaSopenharmony_ci part_name = "netmanager_ext" 198e745fdaSopenharmony_ci subsystem_name = "communication" 208e745fdaSopenharmony_ci} 218e745fdaSopenharmony_ci 228e745fdaSopenharmony_ci## Install mdnsmanager.rc/mdnsmanager.rc to /system/etc/init 238e745fdaSopenharmony_ciohos_prebuilt_etc("mdnsmanager.rc") { 248e745fdaSopenharmony_ci source = "mdnsmanager.cfg" 258e745fdaSopenharmony_ci relative_install_dir = "init" 268e745fdaSopenharmony_ci part_name = "netmanager_ext" 278e745fdaSopenharmony_ci subsystem_name = "communication" 288e745fdaSopenharmony_ci} 298e745fdaSopenharmony_ci 308e745fdaSopenharmony_ciohos_prebuilt_etc("vpnmanager.cfg") { 318e745fdaSopenharmony_ci source = "vpnmanager.cfg" 328e745fdaSopenharmony_ci relative_install_dir = "init" 338e745fdaSopenharmony_ci part_name = "netmanager_ext" 348e745fdaSopenharmony_ci subsystem_name = "communication" 358e745fdaSopenharmony_ci} 36