1# Copyright (c) 2021-2023 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 14# args of this module 15SUBSYSTEM_DIR = "//foundation/communication" 16NETMANAGER_BASE_ROOT = "$SUBSYSTEM_DIR/netmanager_base" 17NETMANAGER_EXT_ROOT = "$SUBSYSTEM_DIR/netmanager_ext" 18 19# args of frameworks 20NETCONNMANAGER_INNERKITS_SOURCE_DIR = 21 "$NETMANAGER_BASE_ROOT/frameworks/native/netconnclient" 22NETPOLICYMANAGER_INNERKITS_SOURCE_DIR = 23 "$NETMANAGER_BASE_ROOT/frameworks/native/netpolicyclient" 24NETSTATSMANAGER_INNERKITS_SOURCE_DIR = 25 "$NETMANAGER_BASE_ROOT/frameworks/native/netstatsclient" 26NETSYSNATIVE_INNERKITS_SOURCE_DIR = 27 "$NETMANAGER_BASE_ROOT/frameworks/native/netmanagernative" 28 29# args of interfaces 30INNERKITS_ROOT = "$NETMANAGER_BASE_ROOT/interfaces/innerkits" 31 32# args of services 33NETMANAGERNATIVE_ROOT = "$NETMANAGER_BASE_ROOT/services/netmanagernative" 34NETCONNMANAGER_SOURCE_DIR = "$NETMANAGER_BASE_ROOT/services/netconnmanager" 35NETPOLICYMANAGER_SOURCE_DIR = "$NETMANAGER_BASE_ROOT/services/netpolicymanager" 36NETSTATSMANAGER_SOURCE_DIR = "$NETMANAGER_BASE_ROOT/services/netstatsmanager" 37NETCONNMANAGER_COMMON_DIR = "$NETMANAGER_BASE_ROOT/services/common" 38FWMARK_CLIENT_DIR = "$NETMANAGERNATIVE_ROOT/fwmarkclient" 39NETSYSNATIVE_SOURCE_DIR = "$NETMANAGER_BASE_ROOT/services/netmanagernative" 40NETSYSBPFMAP_SOURCE_DIR = "$NETSYSNATIVE_SOURCE_DIR/netsys_bpf_map" 41NETSYSCONTROLLER_ROOT_DIR = "$NETMANAGER_BASE_ROOT/services/netsyscontroller" 42ETHERNETMANAGER_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/services/ethernetmanager" 43 44# args of other module 45THIRD_PARTY_ROOT = "//third_party" 46UTILS_ROOT = "//utils" 47HILOG_ROOT = "//base/hiviewdfx/hilog" 48TELEPHONY_ROOT = "//base/telephony" 49C_UTILS_ROOT = "//commonlibrary/c_utils" 50ARKUI_ROOT = "//foundation/arkui" 51WIFI_MANAGER_ROOT = "//foundation/communication/wifi/wifi" 52DHCP_MANAGER_ROOT = "//foundation/communication/dhcp" 53SAMGR_MANAGER_ROOT = "//foundation/systemabilitymgr/samgr" 54SAMGR_INTERFACE_ROOT_DIR = "//foundation/systemabilitymgr/samgr/interfaces" 55 56use_js_debug = false 57declare_args() { 58 enable_netmgr_debug = true 59 enable_sys_func = true 60 enable_elfio = true 61 enable_server_support_ipv6 = false 62 netmanager_base_enable_feature_net_firewall = false 63 netmanager_base_enable_netsys_access_policy_diag_listen = false 64 netmanager_base_enable_feature_hosts = false 65} 66fuzz_test_path = "netmanager_base/netmanager_base" 67