123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- config_file = [
- "iot_wifi/libs/libnetcfgdevicesdk.a",
- "iot_wifi/libs/libhilinkadapter_3861.a",
- "iot_wifi/libs/libHwKeystoreSDK.a",
- ]
- copy("config") {
- sources = config_file
- outputs = [ "$root_build_dir/libs/{{source_file_part}}" ]
- }
- static_library("smart_night_lamp") {
- sources = [
- "hispark_expansion_board/HiSpark_WiFi_IoT_DCL_VER.c",
- "hispark_expansion_board/oled_ssd1306.c",
- "iot_main/iot_deal_command.c",
- "iot_main/iot_main.c",
- "iot_main/iot_report_message.c",
- "iot_wifi/iot_wifi.c",
- "iot_wifi/iot_softap.c",
- "iot_wifi/iot_netcfg.c",
- "iot_wifi/iot_netcfg_nan.c",
- "nfc_network/nfc_network.c",
- "profile_package/profile_package.c",
- ]
- include_dirs = [
- "include",
- "//base/iot_hardware/peripheral/interfaces/kits",
- "//third_party/cJSON",
- "//foundation/communication/wifi_lite/interfaces/wifiservice",
- "//third_party/mbedtls/include/mbedtls",
- "//kernel/liteos_m/kal/cmsis",
- ]
- deps = [
- ":config",
- ]
- }
|