代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/communication_netmanager_ext 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2021-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.
# args of this module
SUBSYSTEM_DIR = "//foundation/communication"
NETMANAGER_EXT_ROOT = "$SUBSYSTEM_DIR/netmanager_ext"
# args of frameworks
FRAMEWORKS_SRC = "$NETMANAGER_EXT_ROOT/frameworks/native/externalvpnclient/src"
ETHERNETMANAGER_INNERKITS_SOURCE_DIR =
"$NETMANAGER_EXT_ROOT/frameworks/native/ethernetclient"
NETWORKSHAREMANAGER_INNERKITS_SOURCE_DIR =
"$NETMANAGER_EXT_ROOT/frameworks/native/netshareclient"
VPN_INNERKITS_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/frameworks/native/netvpnclient"
VPN_EXTENSION_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/frameworks/native/vpnextension"
NETFIREWALL_EXTENSION_SOURCE_DIR =
"$NETMANAGER_EXT_ROOT/frameworks/native/netfirewallclient"
WEARABLE_DISTRIBUTED_NET_INNERKITS_SOURCE_DIR =
"$NETMANAGER_EXT_ROOT/frameworks/native/wearabledistributednetclient"
# args of interfaces
INTERFACES_INCLUDE =
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/externalvpnclient/include"
INTERFACES_DIR = "$NETMANAGER_EXT_ROOT/interfaces/innerkits/externalvpnclient"
EXT_INNERKITS_ROOT = "$NETMANAGER_EXT_ROOT/interfaces/innerkits"
MDNSINTERFACE_INCLUDE = "$NETMANAGER_EXT_ROOT/interfaces/innerkits/mdnsclient"
# args of services
SERVICES_EXTERNALVPNMANAGER = "$NETMANAGER_EXT_ROOT/services/externalvpnmanager"
ETHERNETMANAGER_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/services/ethernetmanager"
NETWORKSHAREMANAGER_SOURCE_DIR =
"$NETMANAGER_EXT_ROOT/services/networksharemanager"
MDNSMANAGER_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/services/mdnsmanager"
VPNMANAGER_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/services/vpnmanager"
NETFIREWALLMANAGER_SOURCE_DIR =
"$NETMANAGER_EXT_ROOT/services/netfirewallmanager"
WEARABLE_DISTRIBUTED_NET_MANAGER_SOURCE_DIR =
"$NETMANAGER_EXT_ROOT/services/wearabledistributednetmanager"
# args of uitls
NETWORKSHAREMANAGER_UTILS_DIR = "$NETMANAGER_EXT_ROOT/utils"
# args of base module
NETMANAGER_BASE_ROOT = "$SUBSYSTEM_DIR/netmanager_base"
# args of base modules'frameworks
NETCONNMANAGER_INNERKITS_SOURCE_DIR =
"$NETMANAGER_BASE_ROOT/frameworks/native/netconnclient"
# args of base modules' interfaces
BASE_INNERKITS_ROOT = "$NETMANAGER_BASE_ROOT/interfaces/innerkits"
# args of base module's servicesability_runtime
NETCONNMANAGER_COMMON_DIR = "$NETMANAGER_BASE_ROOT/services/common"
NETSYSCONTROLLER_ROOT_DIR = "$NETMANAGER_BASE_ROOT/services/netsyscontroller"
NETCONNMANAGER_SOURCE_DIR = "$NETMANAGER_BASE_ROOT/services/netconnmanager"
NETMANAGERNATIVE_ROOT = "$NETMANAGER_BASE_ROOT/services/netmanagernative"
# args of base module's utils
NETCONNMANAGER_UTILS_DIR = "$NETMANAGER_BASE_ROOT/utils"
# NETMANAGER_PREBUILTS_DIR = "$NETMANAGER_BASE_ROOT/prebuilts"
# args of other module
DHCP_MANAGER_ROOT = "//foundation/communication/dhcp"
WIFI_MANAGER_ROOT = "//foundation/communication/wifi/wifi"
WIFI_MANAGER_INNERKITS_DIR = "$WIFI_MANAGER_ROOT/interfaces/kits/c"
WIFI_FRAMEWORK_NATIVE_INCLUDE = "$WIFI_MANAGER_ROOT/frameworks/native/include"
BLUETOOTH_ROOT = "//foundation/communication/bluetooth"
USB_MANAGER_ROOT = "//base/usb/usb_manager"
SAMGR_MANAGER_ROOT = "//foundation/systemabilitymgr/samgr"
UTILS_ROOT = "//utils"
THIRD_PARTY_ROOT = "//third_party"
C_UTILS_ROOT = "//commonlibrary/c_utils"
ABILITY_RUNTIME_PATH = "//foundation/ability/ability_runtime"
ABILITY_RUNTIME_INNER_API_PATH = "$ABILITY_RUNTIME_PATH/interfaces/inner_api"
ABILITY_RUNTIME_KITS_PATH = "$ABILITY_RUNTIME_PATH/interfaces/kits"
ABILITY_RUNTIME_SERVICES_PATH = "$ABILITY_RUNTIME_PATH/services"
ABILITY_RUNTIME_NAPI_PATH = "$ABILITY_RUNTIME_PATH/frameworks/js/napi"
ABILITY_RUNTIME_NATIVE_PATH = "$ABILITY_RUNTIME_PATH/frameworks/native"
ABILITY_DISPLAY_MANAGER = "//foundation/window/window_manager"
BATTERY_MANAER_PATH = "//base/powermgr/battery_manager"
BATTERY_INNER_API = "$BATTERY_MANAER_PATH/interfaces/inner_api"
use_js_debug = false
declare_args() {
communication_bluetooth_switch_enable = false
communication_wifi_switch_enable = false
enable_netmgr_ext_debug = true
netmanager_ext_feature_coverage = false
netmanager_ext_feature_ethernet = true
netmanager_ext_feature_share = true
netmanager_ext_feature_mdns = true
netmanager_ext_feature_net_firewall = false
netmanager_ext_feature_sysvpn = false
netmanager_ext_feature_vpn = true
netmanager_ext_feature_vpn_for_user0 = false
netmanager_ext_feature_vpnext = true
usb_manager_enable = false
netmanager_ext_feature_wearable_distributed_net = false
}
sysvpn_flags = [ "-DSUPPORT_SYSVPN" ]
memory_optimization_cflags = [
"-fvisibility=hidden",
"-fdata-sections",
"-ffunction-sections",
"-Os",
]
memory_optimization_cflags_cc = [
"-fvisibility-inlines-hidden",
"-Os",
]
memory_optimization_ldflags = [
"-Wl,--exclude-libs=ALL",
"-Wl,--gc-sections",
]
if (defined(global_parts_info) &&
defined(global_parts_info.communication_wifi) &&
global_parts_info.communication_wifi) {
communication_wifi_switch_enable = true
}
if (defined(global_parts_info) &&
defined(global_parts_info.communication_bluetooth) &&
global_parts_info.communication_bluetooth) {
communication_bluetooth_switch_enable = false
}
if (defined(global_parts_info) && defined(global_parts_info.usb_usb_manager) &&
global_parts_info.usb_usb_manager) {
usb_manager_enable = true
}
fuzz_test_path = "netmanager_ext/netmanager_ext"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。