blob: b261e165a112d2f50d355f51a8a2e6f336d351dd [file] [log] [blame]
paulhu9dbe49f2021-11-18 15:29:03 +08001//
2// Copyright (C) 2021 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18 // See: http://go/android-license-faq
19 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
Junyu Lai8074ed32021-12-07 08:25:31 +000022// NetworkStats related libraries.
23
24filegroup {
25 name: "services.connectivity-netstats-sources",
26 srcs: [
27 "src/com/android/server/net/NetworkIdentity*.java",
28 "src/com/android/server/net/NetworkStats*.java",
29 ],
30 path: "src",
31 visibility: [
32 "//visibility:private",
33 ],
34}
35
36// Nsd related libraries.
37
paulhu9dbe49f2021-11-18 15:29:03 +080038filegroup {
39 name: "services.connectivity-nsd-sources",
40 srcs: [
Junyu Lai8074ed32021-12-07 08:25:31 +000041 "src/com/android/server/INativeDaemon*.java",
42 "src/com/android/server/NativeDaemon*.java",
43 "src/com/android/server/Nsd*.java",
44 ],
45 path: "src",
46 visibility: [
47 "//visibility:private",
48 ],
49}
50
Aaron Huang8f4e2362021-12-10 17:36:49 +080051// IpSec related libraries.
52
53filegroup {
54 name: "services.connectivity-ipsec-sources",
55 srcs: [
56 "src/com/android/server/IpSecService.java",
57 ],
58 path: "src",
59 visibility: [
60 "//visibility:private",
61 ],
62}
63
Xiao Mad3d8f412021-12-14 09:38:32 +000064// Ethernet related libraries.
65
66filegroup {
67 name: "services.connectivity-ethernet-sources",
68 srcs: [
69 "src/com/android/server/net/IpConfigStore.java",
70 ],
71 path: "src",
72 visibility: [
73 "//frameworks/opt/net/ethernet",
74 ],
75}
76
Junyu Lai8074ed32021-12-07 08:25:31 +000077// Connectivity-T common libraries.
78
79filegroup {
80 name: "services.connectivity-tiramisu-sources",
81 srcs: [
Xiao Mad3d8f412021-12-14 09:38:32 +000082 ":services.connectivity-ethernet-sources",
Aaron Huang8f4e2362021-12-10 17:36:49 +080083 ":services.connectivity-ipsec-sources",
Junyu Lai8074ed32021-12-07 08:25:31 +000084 ":services.connectivity-netstats-sources",
paulhu9dbe49f2021-11-18 15:29:03 +080085 ],
86 path: "src",
Aaron Huang8f4e2362021-12-10 17:36:49 +080087 visibility: ["//frameworks/base/services/core"],
88}
paulhu172aa682021-12-14 23:09:55 +080089
90filegroup {
91 name: "services.connectivity-tiramisu-updatable-sources",
92 srcs: [
93 ":services.connectivity-nsd-sources",
94 ],
95 path: "src",
96 visibility: [
97 "//packages/modules/Connectivity:__subpackages__",
98 ],
99}