10f99eeccSopenharmony_ci# Copyright (c) 2020-2021 Huawei Device Co., Ltd.
20f99eeccSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
30f99eeccSopenharmony_ci# you may not use this file except in compliance with the License.
40f99eeccSopenharmony_ci# You may obtain a copy of the License at
50f99eeccSopenharmony_ci#
60f99eeccSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
70f99eeccSopenharmony_ci#
80f99eeccSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
90f99eeccSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
100f99eeccSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
110f99eeccSopenharmony_ci# See the License for the specific language governing permissions and
120f99eeccSopenharmony_ci# limitations under the License.
130f99eeccSopenharmony_ci
140f99eeccSopenharmony_ciimport("//build/lite/ndk/ndk.gni")
150f99eeccSopenharmony_ci
160f99eeccSopenharmony_cigroup("iothardware") {
170f99eeccSopenharmony_ci  deps = [
180f99eeccSopenharmony_ci    "$ohos_board_adapter_dir/hals/iot_hardware/wifiiot_lite:hal_iothardware",
190f99eeccSopenharmony_ci  ]
200f99eeccSopenharmony_ci}
210f99eeccSopenharmony_ci
220f99eeccSopenharmony_ciif (ohos_kernel_type == "liteos_m") {
230f99eeccSopenharmony_ci  ndk_lib("iothardware_ndk") {
240f99eeccSopenharmony_ci    deps = [
250f99eeccSopenharmony_ci      "$ohos_board_adapter_dir/hals/iot_hardware/wifiiot_lite:hal_iothardware",
260f99eeccSopenharmony_ci    ]
270f99eeccSopenharmony_ci    head_files = [ "//base/iothardware/peripheral/interfaces/inner_api" ]
280f99eeccSopenharmony_ci  }
290f99eeccSopenharmony_ci}
30