1# Copyright (c) 2021-2022 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_EXT_ROOT = "$SUBSYSTEM_DIR/netmanager_ext" 17 18# args of frameworks 19FRAMEWORKS_SRC = "$NETMANAGER_EXT_ROOT/frameworks/native/externalvpnclient/src" 20ETHERNETMANAGER_INNERKITS_SOURCE_DIR = 21 "$NETMANAGER_EXT_ROOT/frameworks/native/ethernetclient" 22NETWORKSHAREMANAGER_INNERKITS_SOURCE_DIR = 23 "$NETMANAGER_EXT_ROOT/frameworks/native/netshareclient" 24 25# args of interfaces 26INTERFACES_INCLUDE = 27 "$NETMANAGER_EXT_ROOT/interfaces/innerkits/externalvpnclient/include" 28INTERFACES_DIR = "$NETMANAGER_EXT_ROOT/interfaces/innerkits/externalvpnclient" 29EXT_INNERKITS_ROOT = "$NETMANAGER_EXT_ROOT/interfaces/innerkits" 30MDNSINTERFACE_INCLUDE = "$NETMANAGER_EXT_ROOT/interfaces/innerkits/mdnsclient" 31 32# args of services 33SERVICES_EXTERNALVPNMANAGER = "$NETMANAGER_EXT_ROOT/services/externalvpnmanager" 34ETHERNETMANAGER_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/services/ethernetmanager" 35NETWORKSHAREMANAGER_SOURCE_DIR = 36 "$NETMANAGER_EXT_ROOT/services/networksharemanager" 37MDNSMANAGER_SOURCE_DIR = "$NETMANAGER_EXT_ROOT/services/mdnsmanager" 38 39# args of uitls 40NETWORKSHAREMANAGER_UTILS_DIR = "$NETMANAGER_EXT_ROOT/utils" 41 42# args of base module 43NETMANAGER_BASE_ROOT = "$SUBSYSTEM_DIR/netmanager_base" 44 45# args of base modules'frameworks 46NETCONNMANAGER_INNERKITS_SOURCE_DIR = 47 "$NETMANAGER_BASE_ROOT/frameworks/native/netconnclient" 48 49# args of base modules' interfaces 50BASE_INNERKITS_ROOT = "$NETMANAGER_BASE_ROOT/interfaces/innerkits" 51 52# args of base module's services 53NETCONNMANAGER_COMMON_DIR = "$NETMANAGER_BASE_ROOT/services/common" 54NETSYSCONTROLLER_ROOT_DIR = "$NETMANAGER_BASE_ROOT/services/netsyscontroller" 55NETCONNMANAGER_SOURCE_DIR = "$NETMANAGER_BASE_ROOT/services/netconnmanager" 56NETMANAGERNATIVE_ROOT = "$NETMANAGER_BASE_ROOT/services/netmanagernative" 57NETSYSCONTROLLER_ROOT_DIR = "$NETMANAGER_BASE_ROOT/services/netsyscontroller" 58 59# args of base module's utils 60NETCONNMANAGER_UTILS_DIR = "$NETMANAGER_BASE_ROOT/utils" 61 62# NETMANAGER_PREBUILTS_DIR = "$NETMANAGER_BASE_ROOT/prebuilts" 63 64# args of other module 65DHCP_MANAGER_ROOT = "//foundation/communication/wifi/dhcp" 66WIFI_MANAGER_ROOT = "//foundation/communication/wifi/wifi" 67WIFI_MANAGER_INNERKITS_DIR = "$WIFI_MANAGER_ROOT/interfaces/kits/c" 68WIFI_FRAMEWORK_NATIVE_INCLUDE = "$WIFI_MANAGER_ROOT/frameworks/native/include" 69BLUETOOTH_ROOT = "//foundation/communication/bluetooth" 70USB_MANAGER_ROOT = "//base/usb/usb_manager" 71SAMGR_MANAGER_ROOT = "//foundation/systemabilitymgr/samgr" 72UTILS_ROOT = "//utils" 73THIRD_PARTY_ROOT = "//third_party" 74C_UTILS_ROOT = "//commonlibrary/c_utils" 75 76use_js_debug = false 77declare_args() { 78 enable_netmgr_ext_debug = true 79 netmanager_ext_feature_ethernet = true 80 netmanager_ext_feature_share = true 81 netmanager_ext_feature_mdns = true 82} 83