# Copyright (c) 2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. 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_environment") { sources = [ "hispark_expansion_board/aht20.c", "hispark_expansion_board/HiSpark_WiFi_IoT_EM_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", "//vendor/bearpi/common/inc", "//foundation/communication/wifi_lite/interfaces/wifiservice", "//third_party/mbedtls/include/mbedtls", "//kernel/liteos_m/kal/cmsis", ] deps = [ ":config", ] }