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("ble_lite") { 16 sources = [ "ble_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 "//foundation/communication/bluetooth/interfaces/inner_api/include/c_header", 26 "//device/soc/hisilicon/ws63v100/sdk/kernel/osal/include", 27 "//device/soc/hisilicon/ws63v100/sdk/include/middleware/services/bts/ble", 28 "//device/soc/hisilicon/ws63v100/sdk/include/middleware/services/bts/common", 29 ] 30} 31if (ohos_kernel_type == "liteos_m") { 32 ndk_lib("ble_lite_ndk") { 33 deps = [ ":ble_lite" ] 34 35 head_files = [ "//foundation/communication/sle" ] 36 } 37} 38