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_ci 148d6344f9Sopenharmony_ciif (ohos_kernel_type == "liteos_m") { 158d6344f9Sopenharmony_ci import("//drivers/hdf_core/adapter/khdf/liteos_m/hdf.gni") 168d6344f9Sopenharmony_ci module_name = get_path_info(rebase_path("."), "name") 178d6344f9Sopenharmony_ci hdf_driver(module_name) { 188d6344f9Sopenharmony_ci hcs_sources = [ "neptune100.hcs" ] 198d6344f9Sopenharmony_ci 208d6344f9Sopenharmony_ci visibility = [ 218d6344f9Sopenharmony_ci "$device_path", 228d6344f9Sopenharmony_ci ".", 238d6344f9Sopenharmony_ci ] 248d6344f9Sopenharmony_ci } 258d6344f9Sopenharmony_ci} 26