• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2022 FuZhou Lockzhiner Electronic Co., Ltd. All rights reserved.
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16import("//build/lite/ndk/ndk.gni")
17
18config("public") {
19  include_dirs = [ "." ]
20}
21
22static_library("wifiservice") {
23  sources = [
24    "source/wifi_device.c",
25    "source/wifi_device_util.c",
26    "source/wifi_hotspot.c",
27  ]
28  include_dirs = [
29    "//device/soc/rockchip/rk2206/hardware/include",
30    "//foundation/communication/wifi_lite/interfaces/wifiservice",
31    "//kernel/liteos_m/kal",
32    "//foundation/distributedschedule/samgr_lite/interfaces/kits/samgr",
33  ]
34}
35if (ohos_kernel_type == "liteos_m") {
36  ndk_lib("wifiservice_ndk") {
37    deps = [ ":wifiservice" ]
38
39    head_files =
40        [ "//foundation/communication/wifi_lite/interfaces/wifiservice" ]
41  }
42}
43