10a7ce71fSopenharmony_ci# Copyright (c) 2022 HiSilicon (Shanghai) Technologies CO., LIMITED. 20a7ce71fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 30a7ce71fSopenharmony_ci# you may not use this file except in compliance with the License. 40a7ce71fSopenharmony_ci# You may obtain a copy of the License at 50a7ce71fSopenharmony_ci# 60a7ce71fSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 70a7ce71fSopenharmony_ci# 80a7ce71fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 90a7ce71fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 100a7ce71fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 110a7ce71fSopenharmony_ci# See the License for the specific language governing permissions and 120a7ce71fSopenharmony_ci# limitations under the License. 130a7ce71fSopenharmony_ci 140a7ce71fSopenharmony_cistatic_library("appDemoIot") { 150a7ce71fSopenharmony_ci sources = [ 160a7ce71fSopenharmony_ci "app_demo_iot.c", 170a7ce71fSopenharmony_ci "cjson_init.c", 180a7ce71fSopenharmony_ci "iot_hmac.c", 190a7ce71fSopenharmony_ci "iot_log.c", 200a7ce71fSopenharmony_ci "iot_main.c", 210a7ce71fSopenharmony_ci "iot_profile.c", 220a7ce71fSopenharmony_ci "iot_sta.c", 230a7ce71fSopenharmony_ci ] 240a7ce71fSopenharmony_ci 250a7ce71fSopenharmony_ci include_dirs = [ 260a7ce71fSopenharmony_ci "./", 270a7ce71fSopenharmony_ci "//commonlibrary/utils_lite/include", 280a7ce71fSopenharmony_ci "//kernel/liteos_m/kal/cmsis", 290a7ce71fSopenharmony_ci "//base/iothardware/peripheral/interfaces/inner_api", 300a7ce71fSopenharmony_ci "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip", 310a7ce71fSopenharmony_ci "//third_party/cJSON", 320a7ce71fSopenharmony_ci "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls", 330a7ce71fSopenharmony_ci "//foundation/communication/wifi_lite/interfaces/wifiservice", 340a7ce71fSopenharmony_ci "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt", 350a7ce71fSopenharmony_ci "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2", 360a7ce71fSopenharmony_ci ] 370a7ce71fSopenharmony_ci 380a7ce71fSopenharmony_ci defines = [ "WITH_LWIP" ] 390a7ce71fSopenharmony_ci} 40