1# Copyright (c) 2022 Hunan OpenValley Digital Industry Development 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") 15 16LWIP_PORTING_DIR = get_path_info(".", "abspath") 17 18LWIP_PORTING_INCLUDE_DIRS = [ 19 "${LWIP_PORTING_DIR}/port/include", 20 "${LWIP_PORTING_DIR}/port/include/lwip", 21] 22 23LWIP_PORTING_FILES = [ 24 "${LWIP_PORTING_DIR}/apps/dhcpserver.c", 25 "${LWIP_PORTING_DIR}/lwip/src/api/sockets.c", 26 "${LWIP_PORTING_DIR}/lwip/src/core/pbuf.c", 27 "${LWIP_PORTING_DIR}/port/sys_arch.c", 28 "${LWIP_PORTING_DIR}/port/hooks/lwip_default_hooks.c", 29 "${LWIP_PORTING_DIR}/port/hooks/tcp_isn_default.c", 30 "${LWIP_PORTING_DIR}/port/netif/dhcp_state.c", 31 "${LWIP_PORTING_DIR}/port/netif/wlanif.c", 32 "${LWIP_PORTING_DIR}/port/no_vfs_syscalls.c", 33] 34 35ESP_LWIP_INCLUDE_DIRS = [ 36 "${LWIP_PORTING_DIR}/port/include", 37 "${LWIP_PORTING_DIR}/port/include/lwip", 38 "${LWIP_PORTING_DIR}/port/include/arch", 39 "${LWIP_PORTING_DIR}/lwip/src/include", 40 "${LWIP_PORTING_DIR}/../esp_event/include", 41 "${LWIP_PORTING_DIR}/../esp_netif/include", 42 "${LWIP_PORTING_DIR}/../esp_wifi/include", 43 "${LWIP_PORTING_DIR}/../esp_wifi/esp32/include", 44 "${LWIP_PORTING_DIR}/../", 45 "${LWIP_PORTING_DIR}/../tcpip_adapter/include", 46] 47