1# Copyright (c) 2022 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 14ability_runtime_services_path = "//foundation/ability/ability_runtime/services" 15ability_runtime_innerkits_path = 16 "//foundation/ability/ability_runtime/interfaces/inner_api" 17 18SUBSYSTEM_DIR = "//foundation/communication" 19WIFI_ROOT_DIR = "$SUBSYSTEM_DIR/wifi/wifi" 20DHCP_ROOT_DIR = "$SUBSYSTEM_DIR/dhcp" 21 22declare_args() { 23 wifi_feature_with_p2p = false 24 wifi_feature_with_ap_intf = "wlan" 25 wifi_feature_with_ap_num = 1 26 wifi_feature_with_sta_num = 1 27 wifi_feature_with_auth_disable = false 28 wifi_feature_with_dhcp_disable = false 29 wifi_feature_with_hpf_supported = false 30 wifi_feature_with_hdi_wpa_supported = false 31 wifi_feature_with_vap_manager = false 32 wifi_feature_wifi_pro_ctrl = true 33} 34 35memory_optimization_cflags = [ 36 "-fdata-sections", 37 "-ffunction-sections", 38] 39 40memory_optimization_cflags_cc = [ 41 "-fvisibility-inlines-hidden", 42 "-fdata-sections", 43 "-ffunction-sections", 44 "-Os", 45] 46 47memory_optimization_ldflags = [ 48 "-Wl,--exclude-libs=ALL", 49 "-Wl,--gc-sections", 50] 51