You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.2 KiB

//
// Copyright (C) 2019 The Android Open Source Project
//
// 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.
//
// Shared utility sources to be used by multiple network modules
// TODO: remove all frameworks/base dependencies on packages/modules/NetworkStack and
// frameworks/base/packages/Tethering by moving these files to frameworks/libs/net.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
filegroup {
name: "net-module-utils-srcs",
srcs: [
"src/android/net/util/SharedLog.java",
"src/android/net/shared/NetdUtils.java",
"src/android/net/shared/NetworkMonitorUtils.java",
"src/android/net/shared/RouteUtils.java",
"src/android/net/util/InterfaceParams.java",
],
visibility: [
"//frameworks/base/services/net",
"//frameworks/base/packages/Connectivity/service",
"//packages/modules/Connectivity/service",
]
}
filegroup {
name: "networkstack-module-utils-srcs",
srcs: ["src/**/*.java"],
visibility: [
"//packages/modules/NetworkStack",
]
}
// Shared utility sources to be used by tethering modules
filegroup {
name: "tethering-module-utils-srcs",
srcs: [
"src/android/net/ip/ConntrackMonitor.java",
"src/android/net/ip/InterfaceController.java",
"src/android/net/ip/IpNeighborMonitor.java",
"src/android/net/ip/NetlinkMonitor.java",
"src/android/net/netlink/*.java",
"src/android/net/shared/NetdUtils.java",
"src/android/net/shared/RouteUtils.java",
"src/android/net/util/InterfaceParams.java",
"src/android/net/util/SharedLog.java",
],
visibility: [
"//frameworks/base/packages/Tethering",
"//packages/modules/Connectivity/Tethering"
],
}