12fe4e5f8Sopenharmony_ci# Copyright (C) 2022 HiHope Open Source Organization .
22fe4e5f8Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
32fe4e5f8Sopenharmony_ci# you may not use this file except in compliance with the License.
42fe4e5f8Sopenharmony_ci# You may obtain a copy of the License at
52fe4e5f8Sopenharmony_ci#
62fe4e5f8Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0
72fe4e5f8Sopenharmony_ci#
82fe4e5f8Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
92fe4e5f8Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
102fe4e5f8Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
112fe4e5f8Sopenharmony_ci# See the License for the specific language governing permissions and
122fe4e5f8Sopenharmony_ci# limitations under the License.
132fe4e5f8Sopenharmony_ciimport("//build/ohos.gni")
142fe4e5f8Sopenharmony_ci
152fe4e5f8Sopenharmony_ciohos_prebuilt_etc("distributed_hardware_components_cfg.json") {
162fe4e5f8Sopenharmony_ci  source = "distributed_hardware_components_cfg.json"
172fe4e5f8Sopenharmony_ci  install_enable = true
182fe4e5f8Sopenharmony_ci  module_install_dir = "etc/distributedhardware/"
192fe4e5f8Sopenharmony_ci  install_images = [ chipset_base_dir ]
202fe4e5f8Sopenharmony_ci  part_name = "hisilicon_products"
212fe4e5f8Sopenharmony_ci}
222fe4e5f8Sopenharmony_ci
232fe4e5f8Sopenharmony_ciohos_prebuilt_etc("dinput_business_event_whitelist.cfg") {
242fe4e5f8Sopenharmony_ci  source = "dinput_business_event_whitelist.cfg"
252fe4e5f8Sopenharmony_ci  install_enable = true
262fe4e5f8Sopenharmony_ci  module_install_dir = "etc/distributedhardware/"
272fe4e5f8Sopenharmony_ci  install_images = [ chipset_base_dir ]
282fe4e5f8Sopenharmony_ci  part_name = "hisilicon_products"
292fe4e5f8Sopenharmony_ci}
302fe4e5f8Sopenharmony_ci
312fe4e5f8Sopenharmony_cigroup("distributedhardware") {
322fe4e5f8Sopenharmony_ci  deps = [
332fe4e5f8Sopenharmony_ci    ":dinput_business_event_whitelist.cfg",
342fe4e5f8Sopenharmony_ci    ":distributed_hardware_components_cfg.json",
352fe4e5f8Sopenharmony_ci  ]
362fe4e5f8Sopenharmony_ci}
37