communication_wifi/wifi/wifi_lite.gni
xionglei bc50242294 wifi2 wifi 需求
Signed-off-by: shenqihang <shenqihang@huawei.com>
2024-09-20 16:36:41 +08:00

51 lines
1.5 KiB
Plaintext

# Copyright (c) 2022 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.
ability_runtime_services_path = "//foundation/ability/ability_runtime/services"
ability_runtime_innerkits_path =
"//foundation/ability/ability_runtime/interfaces/inner_api"
SUBSYSTEM_DIR = "//foundation/communication"
WIFI_ROOT_DIR = "$SUBSYSTEM_DIR/wifi/wifi"
DHCP_ROOT_DIR = "$SUBSYSTEM_DIR/dhcp"
declare_args() {
wifi_feature_with_p2p = false
wifi_feature_with_ap_intf = "wlan"
wifi_feature_with_ap_num = 1
wifi_feature_with_sta_num = 1
wifi_feature_with_auth_disable = false
wifi_feature_with_dhcp_disable = false
wifi_feature_with_hpf_supported = false
wifi_feature_with_hdi_wpa_supported = false
wifi_feature_with_vap_manager = false
wifi_feature_wifi_pro_ctrl = true
}
memory_optimization_cflags = [
"-fdata-sections",
"-ffunction-sections",
]
memory_optimization_cflags_cc = [
"-fvisibility-inlines-hidden",
"-fdata-sections",
"-ffunction-sections",
"-Os",
]
memory_optimization_ldflags = [
"-Wl,--exclude-libs=ALL",
"-Wl,--gc-sections",
]