1 Star 0 Fork 274

jiayanhong-hw/communication_netmanager_ext

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 2.88 KB
一键复制 编辑 原始数据 按行查看 历史
Aurora 提交于 2023-12-25 09:49 . add vpn extension - part 3
# 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("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/jiayanhong-hw/communication_netmanager_ext.git
git@gitee.com:jiayanhong-hw/communication_netmanager_ext.git
jiayanhong-hw
communication_netmanager_ext
communication_netmanager_ext
master

搜索帮助