123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- # 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_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",
- ]
- }
|