• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2024 HiHope Open Source Organization .
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13import("//build/lite/config/component/lite_component.gni")
14import("//build/lite/ndk/ndk.gni")
15static_library("sle_lite") {
16  sources = [ "sle_lite.c" ]
17
18  include_dirs = [
19    "//device/soc/hisilicon/ws63v100/sdk/include/middleware/services",
20    "//device/soc/hisilicon/ws63v100/sdk/kernel/liteos/liteos_v208.5.0/Huawei_LiteOS/compat/linux/include",
21    "//device/soc/hisilicon/ws63v100/sdk/kernel/osal/include/lock",
22    "//device/soc/hisilicon/ws63v100/sdk/kernel/osal/include/schedule",
23    "//device/soc/hisilicon/ws63v100/sdk/kernel/osal/include/memory",
24    "//device/soc/hisilicon/ws63v100/sdk/include",
25    "//device/soc/hisilicon/ws63v100/sdk/include/middleware/services/bts/sle",
26    "//device/soc/hisilicon/ws63v100/adapter/hals/communication/sle_lite/include",
27  ]
28}
29if (ohos_kernel_type == "liteos_m") {
30  ndk_lib("sle_lite_ndk") {
31    deps = [ ":sle_lite" ]
32
33    head_files = [ "//foundation/communication/sle" ]
34  }
35}
36