18d6344f9Sopenharmony_ci# Copyright (C) 2022 HiHope Open Source Organization . 28d6344f9Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 38d6344f9Sopenharmony_ci# you may not use this file except in compliance with the License. 48d6344f9Sopenharmony_ci# You may obtain a copy of the License at 58d6344f9Sopenharmony_ci# 68d6344f9Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 78d6344f9Sopenharmony_ci# 88d6344f9Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 98d6344f9Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 108d6344f9Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 118d6344f9Sopenharmony_ci# See the License for the specific language governing permissions and 128d6344f9Sopenharmony_ci# limitations under the License. 138d6344f9Sopenharmony_ciimport("//build/ohos.gni") 148d6344f9Sopenharmony_ci 158d6344f9Sopenharmony_ciohos_prebuilt_etc("distributed_hardware_components_cfg.json") { 168d6344f9Sopenharmony_ci source = "distributed_hardware_components_cfg.json" 178d6344f9Sopenharmony_ci install_enable = true 188d6344f9Sopenharmony_ci module_install_dir = "etc/distributedhardware/" 198d6344f9Sopenharmony_ci install_images = [ chipset_base_dir ] 208d6344f9Sopenharmony_ci part_name = "device_rk3588" 218d6344f9Sopenharmony_ci} 228d6344f9Sopenharmony_ci 238d6344f9Sopenharmony_ciohos_prebuilt_etc("dinput_business_event_whitelist.cfg") { 248d6344f9Sopenharmony_ci source = "dinput_business_event_whitelist.cfg" 258d6344f9Sopenharmony_ci install_enable = true 268d6344f9Sopenharmony_ci module_install_dir = "etc/distributedhardware/" 278d6344f9Sopenharmony_ci install_images = [ chipset_base_dir ] 288d6344f9Sopenharmony_ci part_name = "device_rk3588" 298d6344f9Sopenharmony_ci} 308d6344f9Sopenharmony_ci 318d6344f9Sopenharmony_cigroup("distributedhardware") { 328d6344f9Sopenharmony_ci deps = [ 338d6344f9Sopenharmony_ci ":dinput_business_event_whitelist.cfg", 348d6344f9Sopenharmony_ci ":distributed_hardware_components_cfg.json", 358d6344f9Sopenharmony_ci ] 368d6344f9Sopenharmony_ci} 37