11bd4fe43Sopenharmony_ci# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 21bd4fe43Sopenharmony_ci# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 31bd4fe43Sopenharmony_ci# 41bd4fe43Sopenharmony_ci# Redistribution and use in source and binary forms, with or without modification, 51bd4fe43Sopenharmony_ci# are permitted provided that the following conditions are met: 61bd4fe43Sopenharmony_ci# 71bd4fe43Sopenharmony_ci# 1. Redistributions of source code must retain the above copyright notice, this list of 81bd4fe43Sopenharmony_ci# conditions and the following disclaimer. 91bd4fe43Sopenharmony_ci# 101bd4fe43Sopenharmony_ci# 2. Redistributions in binary form must reproduce the above copyright notice, this list 111bd4fe43Sopenharmony_ci# of conditions and the following disclaimer in the documentation and/or other materials 121bd4fe43Sopenharmony_ci# provided with the distribution. 131bd4fe43Sopenharmony_ci# 141bd4fe43Sopenharmony_ci# 3. Neither the name of the copyright holder nor the names of its contributors may be used 151bd4fe43Sopenharmony_ci# to endorse or promote products derived from this software without specific prior written 161bd4fe43Sopenharmony_ci# permission. 171bd4fe43Sopenharmony_ci# 181bd4fe43Sopenharmony_ci# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 191bd4fe43Sopenharmony_ci# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 201bd4fe43Sopenharmony_ci# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 211bd4fe43Sopenharmony_ci# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 221bd4fe43Sopenharmony_ci# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 231bd4fe43Sopenharmony_ci# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 241bd4fe43Sopenharmony_ci# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 251bd4fe43Sopenharmony_ci# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 261bd4fe43Sopenharmony_ci# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 271bd4fe43Sopenharmony_ci# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 281bd4fe43Sopenharmony_ci# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 291bd4fe43Sopenharmony_ci 301bd4fe43Sopenharmony_ciimport("//drivers/hdf_core/adapter/khdf/liteos/hdf.gni") 311bd4fe43Sopenharmony_ci 321bd4fe43Sopenharmony_cimodule_switch = defined(LOSCFG_DRIVERS_HDF) 331bd4fe43Sopenharmony_cimodule_name = "hdf_config" 341bd4fe43Sopenharmony_cihdf_driver(module_name) { 351bd4fe43Sopenharmony_ci hcs_sources = [ "hdf.hcs" ] 361bd4fe43Sopenharmony_ci} 37