1# Copyright (c) 2021 Huawei Device Co., Ltd. 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. 13 14import("//kernel/liteos_m/liteos.gni") 15module_name = "sdk_module_btdm" 16 17kernel_module(module_name) { 18 sources = [ 19 "ble/ble_app/app_main/app_present_task.c", 20 "ble/ble_app/app_smartconfig/app_smartconfig.c", 21 "ble/ble_dbg/csble_dbg.c", 22 "ble/ble_profiles/prf/profile_user.c", 23 "ble/ble_profiles/smartconfig/smartconfigs/src/smartconfig.c", 24 "ble/ble_profiles/smartconfig/smartconfigs/src/smartconfig_task.c", 25 ] 26} 27 28config("public") { 29 include_dirs = [ 30 "bt/include", 31 "ble/ble_app/app_batt", 32 "ble/ble_app/app_dis", 33 "ble/ble_app/app_hid", 34 "ble/ble_app/app_hrps", 35 "ble/ble_app/app_htp", 36 "ble/ble_app/app_main", 37 "ble/ble_app/app_sec", 38 "ble/ble_app/app_smartconfig", 39 "ble/ble_app/", 40 "ble/ble_dbg/", 41 "ble/ble_stack/common/api", 42 "ble/ble_stack/hl/inc", 43 "ble/ble_stack/hl/api", 44 "ble/ble_stack/ke/src", 45 "ble/ble_stack/ke/api", 46 "ble/ble_stack/ble_ip", 47 "ble/ble_adp/", 48 "ble/ble_profiles/smartconfig/smartconfigs/api", 49 "ble/ble_profiles/smartconfig/smartconfigs/src", 50 "ble/ble_profiles/hogp/hogpd/api", 51 "ble/ble_profiles/hogp/hogpd/src", 52 "ble/ble_profiles/bas/bass/api", 53 "ble/ble_profiles/bas/bass/src", 54 "ble/ble_app/app_smartconfig", 55 ] 56} 57