10a7ce71fSopenharmony_ci# Copyright (C) 2022 HiHope Open Source Organization . 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("sntp") { 150a7ce71fSopenharmony_ci sources = [ 160a7ce71fSopenharmony_ci "sntp.c", 170a7ce71fSopenharmony_ci "sntp_debug.c", 180a7ce71fSopenharmony_ci "sntp_port.c", 190a7ce71fSopenharmony_ci ] 200a7ce71fSopenharmony_ci 210a7ce71fSopenharmony_ci defines = [ 220a7ce71fSopenharmony_ci # "SNTP_SERVER_DNS=1", 230a7ce71fSopenharmony_ci "LWIP_HAVE_INT64=0", 240a7ce71fSopenharmony_ci "LWIP_DEBUG", 250a7ce71fSopenharmony_ci "SNTP_DEBUG=0xA0", 260a7ce71fSopenharmony_ci "LWIP_DBG_TYPES_ON=LWIP_DBG_ON", 270a7ce71fSopenharmony_ci ] 280a7ce71fSopenharmony_ci 290a7ce71fSopenharmony_ci include_dirs = [ 300a7ce71fSopenharmony_ci "../include", 310a7ce71fSopenharmony_ci "../include/lwip/apps", 320a7ce71fSopenharmony_ci "//vendor/hisi/hi3861/hi3861/third_party/lwip_sack/include/", 330a7ce71fSopenharmony_ci ] 340a7ce71fSopenharmony_ci} 35