static_library("iot_wifi") { sources = [ "iot_wifi.c", "iot_netcfg.c", "iot_softap.c", ] cflags = [ "-Wno-unused-variable" ] cflags += [ "-Wno-unused-but-set-variable" ] cflags += [ "-Wno-unused-parameter" ] include_dirs = [ "//kernel/liteos_m/components/net/lwip-2.1/enhancement/include/lwip", "//kernel/liteos_m/components/net/lwip-2.1/porting/include/", "//base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog", "//foundation/communication/wifi_lite/interfaces/wifiservice/", "//third_party/mbedtls/include/mbedtls", "//kernel/liteos_m/kal/cmsis", "//third_party/cJSON", "//utils/native/lite/include", "../inc", ] deps = [ "//base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static", ] }
时间: 2023-09-25 18:09:10 浏览: 172
IoT.rar_IOT . tivac_esp8288_iot
这是一个名为 "iot_wifi" 的静态库的构建配置。它包含了以下源文件:
- iot_wifi.c
- iot_netcfg.c
- iot_softap.c
构建选项中设置了一些编译标志,如忽略未使用的变量和参数。包含的头文件路径如下:
- //kernel/liteos_m/components/net/lwip-2.1/enhancement/include/lwip
- //kernel/liteos_m/components/net/lwip-2.1/porting/include/
- //base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog
- //foundation/communication/wifi_lite/interfaces/wifiservice/
- //third_party/mbedtls/include/mbedtls
- //kernel/liteos_m/kal/cmsis
- //third_party/cJSON
- //utils/native/lite/include
- ../inc
此外,该静态库依赖于另一个名为 "hilog_static" 的静态库,路径为:
- //base/hiviewdfx/hilog_lite/frameworks/featured:hilog_static
阅读全文