paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 1 | // |
| 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 | |
| 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 20 | } |
| 21 | |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 22 | // NetworkStats related libraries. |
| 23 | |
| 24 | filegroup { |
| 25 | name: "framework-connectivity-netstats-internal-sources", |
| 26 | srcs: [ |
| 27 | "src/android/app/usage/*.java", |
Junyu Lai | 1933296 | 2021-12-27 13:56:00 +0000 | [diff] [blame] | 28 | "src/android/net/DataUsageRequest.*", |
| 29 | "src/android/net/INetworkStatsService.aidl", |
| 30 | "src/android/net/INetworkStatsSession.aidl", |
| 31 | "src/android/net/NetworkIdentity.java", |
| 32 | "src/android/net/NetworkIdentitySet.java", |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 33 | "src/android/net/NetworkStateSnapshot.*", |
Junyu Lai | 1933296 | 2021-12-27 13:56:00 +0000 | [diff] [blame] | 34 | "src/android/net/NetworkStats.*", |
| 35 | "src/android/net/NetworkStatsAccess.*", |
| 36 | "src/android/net/NetworkStatsCollection.*", |
| 37 | "src/android/net/NetworkStatsHistory.*", |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 38 | "src/android/net/NetworkTemplate.*", |
| 39 | "src/android/net/TrafficStats.java", |
| 40 | "src/android/net/UnderlyingNetworkInfo.*", |
| 41 | "src/android/net/netstats/**/*.*", |
Junyu Lai | 1933296 | 2021-12-27 13:56:00 +0000 | [diff] [blame] | 42 | "src/com/android/server/NetworkManagementSocketTagger.java", |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 43 | ], |
| 44 | path: "src", |
| 45 | visibility: [ |
| 46 | "//visibility:private", |
| 47 | ], |
| 48 | } |
| 49 | |
| 50 | filegroup { |
| 51 | name: "framework-connectivity-netstats-aidl-export-sources", |
| 52 | srcs: [ |
| 53 | "aidl-export/android/net/NetworkStats.aidl", |
| 54 | "aidl-export/android/net/NetworkTemplate.aidl", |
| 55 | ], |
| 56 | path: "aidl-export", |
| 57 | visibility: [ |
| 58 | "//visibility:private", |
| 59 | ], |
| 60 | } |
| 61 | |
| 62 | filegroup { |
| 63 | name: "framework-connectivity-netstats-sources", |
| 64 | srcs: [ |
| 65 | ":framework-connectivity-netstats-internal-sources", |
| 66 | ":framework-connectivity-netstats-aidl-export-sources", |
| 67 | ], |
| 68 | visibility: [ |
| 69 | "//visibility:private", |
| 70 | ], |
| 71 | } |
| 72 | |
| 73 | // Nsd related libraries. |
| 74 | |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 75 | filegroup { |
| 76 | name: "framework-connectivity-nsd-internal-sources", |
| 77 | srcs: [ |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 78 | "src/android/net/nsd/*.aidl", |
| 79 | "src/android/net/nsd/*.java", |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 80 | ], |
| 81 | path: "src", |
| 82 | visibility: [ |
| 83 | "//visibility:private", |
| 84 | ], |
| 85 | } |
| 86 | |
| 87 | filegroup { |
| 88 | name: "framework-connectivity-nsd-aidl-export-sources", |
| 89 | srcs: [ |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 90 | "aidl-export/android/net/nsd/*.aidl", |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 91 | ], |
| 92 | path: "aidl-export", |
| 93 | visibility: [ |
| 94 | "//visibility:private", |
| 95 | ], |
| 96 | } |
| 97 | |
| 98 | filegroup { |
| 99 | name: "framework-connectivity-nsd-sources", |
| 100 | srcs: [ |
| 101 | ":framework-connectivity-nsd-internal-sources", |
| 102 | ":framework-connectivity-nsd-aidl-export-sources", |
| 103 | ], |
| 104 | visibility: [ |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 105 | "//visibility:private", |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 106 | ], |
| 107 | } |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 108 | |
Aaron Huang | 8f4e236 | 2021-12-10 17:36:49 +0800 | [diff] [blame] | 109 | // IpSec related libraries. |
| 110 | |
| 111 | filegroup { |
| 112 | name: "framework-connectivity-ipsec-sources", |
| 113 | srcs: [ |
| 114 | "src/android/net/IIpSecService.aidl", |
| 115 | "src/android/net/IpSec*.*", |
| 116 | ], |
| 117 | path: "src", |
| 118 | visibility: [ |
| 119 | "//visibility:private", |
| 120 | ], |
| 121 | } |
| 122 | |
Xiao Ma | d3d8f41 | 2021-12-14 09:38:32 +0000 | [diff] [blame] | 123 | // Ethernet related libraries. |
| 124 | |
| 125 | filegroup { |
| 126 | name: "framework-connectivity-ethernet-sources", |
| 127 | srcs: [ |
| 128 | "src/android/net/EthernetManager.java", |
| 129 | "src/android/net/EthernetNetworkSpecifier.java", |
| 130 | "src/android/net/IEthernetManager.aidl", |
| 131 | "src/android/net/IEthernetServiceListener.aidl", |
Xiao Ma | ed76c1b | 2021-12-28 06:33:23 +0000 | [diff] [blame] | 132 | "src/android/net/IInternalNetworkManagementListener.aidl", |
| 133 | "src/android/net/InternalNetworkUpdateRequest.java", |
| 134 | "src/android/net/InternalNetworkUpdateRequest.aidl", |
| 135 | "src/android/net/InternalNetworkManagementException.java", |
| 136 | "src/android/net/InternalNetworkManagementException.aidl", |
Xiao Ma | d3d8f41 | 2021-12-14 09:38:32 +0000 | [diff] [blame] | 137 | "src/android/net/ITetheredInterfaceCallback.aidl", |
| 138 | ], |
| 139 | path: "src", |
| 140 | visibility: [ |
| 141 | "//visibility:private", |
| 142 | ], |
| 143 | } |
| 144 | |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 145 | // Connectivity-T common libraries. |
| 146 | |
| 147 | filegroup { |
paulhu | 51ce7c1 | 2021-11-23 16:16:13 +0800 | [diff] [blame] | 148 | name: "framework-connectivity-tiramisu-internal-sources", |
| 149 | srcs: [ |
| 150 | "src/android/net/ConnectivityFrameworkInitializerTiramisu.java", |
| 151 | ], |
| 152 | path: "src", |
| 153 | visibility: [ |
| 154 | "//visibility:private", |
| 155 | ], |
| 156 | } |
| 157 | |
| 158 | filegroup { |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 159 | name: "framework-connectivity-tiramisu-sources", |
| 160 | srcs: [ |
Xiao Ma | d3d8f41 | 2021-12-14 09:38:32 +0000 | [diff] [blame] | 161 | ":framework-connectivity-ethernet-sources", |
Aaron Huang | 8f4e236 | 2021-12-10 17:36:49 +0800 | [diff] [blame] | 162 | ":framework-connectivity-ipsec-sources", |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 163 | ":framework-connectivity-netstats-sources", |
paulhu | 172aa68 | 2021-12-14 23:09:55 +0800 | [diff] [blame] | 164 | ], |
| 165 | visibility: ["//frameworks/base"], |
| 166 | } |
| 167 | |
| 168 | filegroup { |
| 169 | name: "framework-connectivity-tiramisu-updatable-sources", |
| 170 | srcs: [ |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 171 | ":framework-connectivity-nsd-sources", |
paulhu | 51ce7c1 | 2021-11-23 16:16:13 +0800 | [diff] [blame] | 172 | ":framework-connectivity-tiramisu-internal-sources", |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 173 | ], |
paulhu | 172aa68 | 2021-12-14 23:09:55 +0800 | [diff] [blame] | 174 | visibility: [ |
| 175 | "//frameworks/base", |
| 176 | "//packages/modules/Connectivity:__subpackages__", |
| 177 | ], |
paulhu | 51ce7c1 | 2021-11-23 16:16:13 +0800 | [diff] [blame] | 178 | } |