1# Copyright (C) 2021-2022 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. 13 14import("//build/ohos.gni") 15import("//build/ohos_var.gni") 16 17group("etc") { 18 deps = [ 19 ":bluetooth_service_cfg", 20 ":bt_config.xml", 21 ":bt_device_config.xml", 22 ":bt_device_info.xml", 23 ":bt_profile_config.xml", 24 ] 25} 26 27ohos_prebuilt_etc("bt_config.xml") { 28 source = "bt_config.xml" 29 relative_install_dir = "bluetooth" 30 part_name = "bluetooth_service" 31 subsystem_name = "communication" 32} 33 34ohos_prebuilt_etc("bt_device_config.xml") { 35 source = "bt_device_config.xml" 36 relative_install_dir = "bluetooth" 37 part_name = "bluetooth_service" 38 subsystem_name = "communication" 39} 40 41ohos_prebuilt_etc("bt_device_info.xml") { 42 source = "bt_device_info.xml" 43 relative_install_dir = "bluetooth" 44 part_name = "bluetooth_service" 45 subsystem_name = "communication" 46} 47 48ohos_prebuilt_etc("bt_profile_config.xml") { 49 source = "bt_profile_config.xml" 50 relative_install_dir = "bluetooth" 51 part_name = "bluetooth_service" 52 subsystem_name = "communication" 53} 54 55ohos_prebuilt_etc("bluetooth_service_cfg") { 56 source = "bluetooth_service.cfg" 57 relative_install_dir = "init" 58 part_name = "bluetooth_service" 59 subsystem_name = "communication" 60} 61