1# Copyright (c) 2021 Huawei Device Co., Ltd. 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 14import("../../../../dsoftbus.gni") 15 16softbus_adapter_wifi_path = "$softbus_adapter_common/net/wifi" 17 18adapter_wifi_src = [] 19adapter_wifi_inc = [ "$softbus_adapter_wifi_path/include" ] 20adapter_wifi_external_deps = [] 21 22if (defined(ohos_lite) || softbus_communication_wifi_feature == false) { 23 if (dsoftbus_feature_lnn_net) { 24 adapter_wifi_src += [ 25 "$softbus_adapter_wifi_path/common/softbus_wifi_api_adapter_virtual.c", 26 ] 27 } 28} else { 29 if (dsoftbus_feature_lnn_net) { 30 adapter_wifi_src += 31 [ "$softbus_adapter_wifi_path/common/softbus_wifi_api_adapter.c" ] 32 adapter_wifi_external_deps += [ "wifi:wifi_sdk" ] 33 } 34} 35