1# Copyright (c) 2022 HiSilicon (Shanghai) Technologies CO., LIMITED. 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 14static_library("appDemoIot") { 15 sources = [ 16 "app_demo_iot.c", 17 "cjson_init.c", 18 "iot_hmac.c", 19 "iot_log.c", 20 "iot_main.c", 21 "iot_profile.c", 22 "iot_sta.c", 23 ] 24 25 include_dirs = [ 26 "./", 27 "//commonlibrary/utils_lite/include", 28 "//kernel/liteos_m/kal/cmsis", 29 "//base/iothardware/peripheral/interfaces/inner_api", 30 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip", 31 "//third_party/cJSON", 32 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls", 33 "//foundation/communication/wifi_lite/interfaces/wifiservice", 34 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt", 35 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2", 36 ] 37 38 defines = [ "WITH_LWIP" ] 39} 40