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_switch = defined(LOSCFG_HALS_COMMUCATION_WIFI_LITE) 16module_name = get_path_info(rebase_path("."), "name") 17kernel_module(module_name) { 18 sources = [ 19 "blehost/ext/tinycrypt/src/aes_decrypt.c", 20 "blehost/ext/tinycrypt/src/aes_encrypt.c", 21 "blehost/ext/tinycrypt/src/bleutils.c", 22 "blehost/ext/tinycrypt/src/cbc_mode.c", 23 "blehost/ext/tinycrypt/src/ccm_mode.c", 24 "blehost/ext/tinycrypt/src/cmac_mode.c", 25 "blehost/ext/tinycrypt/src/ctr_mode.c", 26 "blehost/ext/tinycrypt/src/ctr_prng.c", 27 "blehost/ext/tinycrypt/src/ecc.c", 28 "blehost/ext/tinycrypt/src/ecc_dh.c", 29 "blehost/ext/tinycrypt/src/ecc_dsa.c", 30 "blehost/ext/tinycrypt/src/ecc_platform_specific.c", 31 "blehost/ext/tinycrypt/src/hmac.c", 32 "blehost/ext/tinycrypt/src/hmac_prng.c", 33 "blehost/ext/tinycrypt/src/sha256.c", 34 "blehost/nimble/host/mesh/src/access.c", 35 "blehost/nimble/host/mesh/src/adv.c", 36 "blehost/nimble/host/mesh/src/beacon.c", 37 "blehost/nimble/host/mesh/src/cfg_cli.c", 38 "blehost/nimble/host/mesh/src/cfg_srv.c", 39 "blehost/nimble/host/mesh/src/crypto.c", 40 "blehost/nimble/host/mesh/src/friend.c", 41 "blehost/nimble/host/mesh/src/glue.c", 42 "blehost/nimble/host/mesh/src/health_cli.c", 43 "blehost/nimble/host/mesh/src/health_srv.c", 44 "blehost/nimble/host/mesh/src/light_model.c", 45 "blehost/nimble/host/mesh/src/lpn.c", 46 "blehost/nimble/host/mesh/src/mesh.c", 47 "blehost/nimble/host/mesh/src/model_cli.c", 48 "blehost/nimble/host/mesh/src/model_srv.c", 49 "blehost/nimble/host/mesh/src/net.c", 50 "blehost/nimble/host/mesh/src/nodes.c", 51 "blehost/nimble/host/mesh/src/prov.c", 52 "blehost/nimble/host/mesh/src/proxy.c", 53 "blehost/nimble/host/mesh/src/settings.c", 54 "blehost/nimble/host/mesh/src/shell.c", 55 "blehost/nimble/host/mesh/src/testing.c", 56 "blehost/nimble/host/mesh/src/transport.c", 57 "blehost/nimble/host/services/gap/src/ble_svc_gap.c", 58 "blehost/nimble/host/services/gatt/src/ble_svc_gatt.c", 59 "blehost/nimble/host/src/ble_att.c", 60 "blehost/nimble/host/src/ble_att_clt.c", 61 "blehost/nimble/host/src/ble_att_cmd.c", 62 "blehost/nimble/host/src/ble_att_svr.c", 63 "blehost/nimble/host/src/ble_eddystone.c", 64 "blehost/nimble/host/src/ble_gap.c", 65 "blehost/nimble/host/src/ble_gattc.c", 66 "blehost/nimble/host/src/ble_gatts.c", 67 "blehost/nimble/host/src/ble_gatts_lcl.c", 68 "blehost/nimble/host/src/ble_hs.c", 69 "blehost/nimble/host/src/ble_hs_adv.c", 70 "blehost/nimble/host/src/ble_hs_atomic.c", 71 "blehost/nimble/host/src/ble_hs_cfg.c", 72 "blehost/nimble/host/src/ble_hs_conn.c", 73 "blehost/nimble/host/src/ble_hs_flow.c", 74 "blehost/nimble/host/src/ble_hs_hci.c", 75 "blehost/nimble/host/src/ble_hs_hci_cmd.c", 76 "blehost/nimble/host/src/ble_hs_hci_evt.c", 77 "blehost/nimble/host/src/ble_hs_hci_util.c", 78 "blehost/nimble/host/src/ble_hs_id.c", 79 "blehost/nimble/host/src/ble_hs_log.c", 80 "blehost/nimble/host/src/ble_hs_mbuf.c", 81 "blehost/nimble/host/src/ble_hs_misc.c", 82 "blehost/nimble/host/src/ble_hs_mqueue.c", 83 "blehost/nimble/host/src/ble_hs_periodic_sync.c", 84 "blehost/nimble/host/src/ble_hs_pvcy.c", 85 "blehost/nimble/host/src/ble_hs_shutdown.c", 86 "blehost/nimble/host/src/ble_hs_startup.c", 87 "blehost/nimble/host/src/ble_hs_stop.c", 88 "blehost/nimble/host/src/ble_ibeacon.c", 89 "blehost/nimble/host/src/ble_l2cap.c", 90 "blehost/nimble/host/src/ble_l2cap_coc.c", 91 "blehost/nimble/host/src/ble_l2cap_sig.c", 92 "blehost/nimble/host/src/ble_l2cap_sig_cmd.c", 93 "blehost/nimble/host/src/ble_monitor.c", 94 "blehost/nimble/host/src/ble_sm.c", 95 "blehost/nimble/host/src/ble_sm_alg.c", 96 "blehost/nimble/host/src/ble_sm_cmd.c", 97 "blehost/nimble/host/src/ble_sm_lgcy.c", 98 "blehost/nimble/host/src/ble_sm_sc.c", 99 "blehost/nimble/host/src/ble_store.c", 100 "blehost/nimble/host/src/ble_store_util.c", 101 "blehost/nimble/host/src/ble_uuid.c", 102 "blehost/nimble/host/store/config/src/ble_store_config.c", 103 "blehost/nimble/host/store/config/src/ble_store_nvram.c", 104 "blehost/nimble/host/store/config/src/wm_bt_storage.c", 105 "blehost/nimble/host/store/ram/src/ble_store_ram.c", 106 "blehost/nimble/host/util/src/addr.c", 107 "blehost/nimble/transport/uart/src/ble_hci_uart.c", 108 "blehost/porting/w800/src/endian.c", 109 "blehost/porting/w800/src/mem.c", 110 "blehost/porting/w800/src/nimble_port.c", 111 "blehost/porting/w800/src/npl_os_freertos.c", 112 "blehost/porting/w800/src/os_mbuf.c", 113 "blehost/porting/w800/src/os_mempool.c", 114 "blehost/porting/w800/src/os_msys_init.c", 115 "blehost/porting/w800/src/tls_nimble.c", 116 ] 117 include_dirs = [ 118 "blehost/ext/tinycrypt/include", 119 "blehost/ext/tinycrypt/include/tinycrypt", 120 "blehost/nimble/host/include", 121 "blehost/nimble/host/include/host", 122 "blehost/nimble/host/mesh/include", 123 "blehost/nimble/host/mesh/include/mesh", 124 "blehost/nimble/host/mesh/src", 125 "blehost/nimble/host/porting/w800/include", 126 "blehost/nimble/host/services/gap/include", 127 "blehost/nimble/host/services/gap/include/services/gap", 128 "blehost/nimble/host/services/gatt/include", 129 "blehost/nimble/host/services/gatt/include/services/gatt", 130 "blehost/nimble/host/src", 131 "blehost/nimble/host/store/config/include", 132 "blehost/nimble/host/store/config/include/store/config", 133 "blehost/nimble/host/store/config/src", 134 "blehost/nimble/host/store/ram/include", 135 "blehost/nimble/host/store/ram/include/store/ram", 136 "blehost/nimble/host/util/include", 137 "blehost/nimble/host/util/include/host/util", 138 "blehost/nimble/include", 139 "blehost/nimble/include/nimble", 140 "blehost/nimble/transport/uart/include/transport/uart", 141 "blehost/nimble/transport/uart/include", 142 "blehost/porting/w800/include", 143 "blehost/porting/w800/include/hal", 144 "blehost/porting/w800/include/log", 145 "blehost/porting/w800/include/log_common", 146 "blehost/porting/w800/include/logcfg", 147 "blehost/porting/w800/include/mem", 148 "blehost/porting/w800/include/modlog", 149 "blehost/porting/w800/include/nimble", 150 "blehost/porting/w800/include/os", 151 "blehost/porting/w800/include/stats", 152 "blehost/porting/w800/include/syscfg", 153 "blehost/porting/w800/include/sysflash", 154 "blehost/porting/w800/include/sysinit", 155 "//commonlibrary/c_utils/base/include", 156 ] 157} 158