1 Star 0 Fork 274

Angus/communication_netmanager_ext_2

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
BUILD.gn 3.30 KB
Copy Edit Raw Blame History
up200504098 authored 2024-06-04 16:23 . 更新主干代码
# 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.
import("//foundation/communication/netmanager_ext/netmanager_ext_config.gni")
group("common_ext_packages") {
deps = []
if (netmanager_ext_feature_ethernet) {
deps += [
"$NETMANAGER_EXT_ROOT/utils:net_event_report",
"$NETMANAGER_EXT_ROOT/utils:net_manager_ext_common",
]
}
}
group("ethernet_packages") {
deps = []
if (netmanager_ext_feature_ethernet) {
deps += [
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/ethernet:ethernet",
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/ethernetclient:ethernet_manager_if",
"$NETMANAGER_EXT_ROOT/services/ethernetmanager:ethernet_interfaces",
"$NETMANAGER_EXT_ROOT/services/ethernetmanager:ethernet_manager",
"$NETMANAGER_EXT_ROOT/utils:net_event_report",
]
}
}
group("share_packages") {
deps = []
if (netmanager_ext_feature_share) {
deps += [
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/sharing:sharing",
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/netshareclient:net_tether_manager_if",
"$NETMANAGER_EXT_ROOT/services/networksharemanager:net_tether_manager",
"$NETMANAGER_EXT_ROOT/services/networksharemanager:network_share_config",
]
}
}
group("mdns_packages") {
deps = []
if (netmanager_ext_feature_mdns) {
deps += [
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/mdns:mdns",
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/mdnsclient:mdns_manager_if",
"$NETMANAGER_EXT_ROOT/services/mdnsmanager:mdns_manager",
]
}
}
group("netfirewall_packages") {
if (netmanager_ext_feature_net_firewall) {
deps = [
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/netfirewall:netfirewall",
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/netfirewallclient:netfirewall_manager_if",
"$NETMANAGER_EXT_ROOT/services/netfirewallmanager:netfirewall_default_rule",
"$NETMANAGER_EXT_ROOT/services/netfirewallmanager:netfirewall_manager",
]
}
}
group("vpn_packages") {
if (netmanager_ext_feature_vpn) {
deps = [
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/vpn:vpn",
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/netvpnclient:net_vpn_manager_if",
"$NETMANAGER_EXT_ROOT/services/vpnmanager:net_vpn_manager",
]
}
}
group("vpn_ext_packages") {
if (netmanager_ext_feature_vpnext) {
deps = [
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/extensionability:vpnextensionability",
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/extensionability:vpnextensionability_napi",
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/extensioncontext:vpnextensioncontext_napi",
"$NETMANAGER_EXT_ROOT/frameworks/js/napi/vpnext:vpnextension",
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/vpnextension:vpn_extension",
"$NETMANAGER_EXT_ROOT/interfaces/innerkits/vpnextension:vpn_extension_module",
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guo-min_net/communication_netmanager_ext_2.git
git@gitee.com:guo-min_net/communication_netmanager_ext_2.git
guo-min_net
communication_netmanager_ext_2
communication_netmanager_ext_2
master

Search