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", |
| 28 | "src/android/net/DataUsage*.*", |
| 29 | "src/android/net/INetworkStats*.*", |
| 30 | "src/android/net/NetworkIdentity*.java", |
| 31 | "src/android/net/NetworkStateSnapshot.*", |
| 32 | "src/android/net/NetworkStats*.*", |
| 33 | "src/android/net/NetworkTemplate.*", |
| 34 | "src/android/net/TrafficStats.java", |
| 35 | "src/android/net/UnderlyingNetworkInfo.*", |
| 36 | "src/android/net/netstats/**/*.*", |
| 37 | ], |
| 38 | path: "src", |
| 39 | visibility: [ |
| 40 | "//visibility:private", |
| 41 | ], |
| 42 | } |
| 43 | |
| 44 | filegroup { |
| 45 | name: "framework-connectivity-netstats-aidl-export-sources", |
| 46 | srcs: [ |
| 47 | "aidl-export/android/net/NetworkStats.aidl", |
| 48 | "aidl-export/android/net/NetworkTemplate.aidl", |
| 49 | ], |
| 50 | path: "aidl-export", |
| 51 | visibility: [ |
| 52 | "//visibility:private", |
| 53 | ], |
| 54 | } |
| 55 | |
| 56 | filegroup { |
| 57 | name: "framework-connectivity-netstats-sources", |
| 58 | srcs: [ |
| 59 | ":framework-connectivity-netstats-internal-sources", |
| 60 | ":framework-connectivity-netstats-aidl-export-sources", |
| 61 | ], |
| 62 | visibility: [ |
| 63 | "//visibility:private", |
| 64 | ], |
| 65 | } |
| 66 | |
| 67 | // Nsd related libraries. |
| 68 | |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 69 | filegroup { |
| 70 | name: "framework-connectivity-nsd-internal-sources", |
| 71 | srcs: [ |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 72 | "src/android/net/nsd/*.aidl", |
| 73 | "src/android/net/nsd/*.java", |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 74 | ], |
| 75 | path: "src", |
| 76 | visibility: [ |
| 77 | "//visibility:private", |
| 78 | ], |
| 79 | } |
| 80 | |
| 81 | filegroup { |
| 82 | name: "framework-connectivity-nsd-aidl-export-sources", |
| 83 | srcs: [ |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 84 | "aidl-export/android/net/nsd/*.aidl", |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 85 | ], |
| 86 | path: "aidl-export", |
| 87 | visibility: [ |
| 88 | "//visibility:private", |
| 89 | ], |
| 90 | } |
| 91 | |
| 92 | filegroup { |
| 93 | name: "framework-connectivity-nsd-sources", |
| 94 | srcs: [ |
| 95 | ":framework-connectivity-nsd-internal-sources", |
| 96 | ":framework-connectivity-nsd-aidl-export-sources", |
| 97 | ], |
| 98 | visibility: [ |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 99 | "//visibility:private", |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 100 | ], |
| 101 | } |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 102 | |
| 103 | // Connectivity-T common libraries. |
| 104 | |
| 105 | filegroup { |
paulhu | 51ce7c1 | 2021-11-23 16:16:13 +0800 | [diff] [blame^] | 106 | name: "framework-connectivity-tiramisu-internal-sources", |
| 107 | srcs: [ |
| 108 | "src/android/net/ConnectivityFrameworkInitializerTiramisu.java", |
| 109 | ], |
| 110 | path: "src", |
| 111 | visibility: [ |
| 112 | "//visibility:private", |
| 113 | ], |
| 114 | } |
| 115 | |
| 116 | filegroup { |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 117 | name: "framework-connectivity-tiramisu-sources", |
| 118 | srcs: [ |
| 119 | ":framework-connectivity-netstats-sources", |
| 120 | ":framework-connectivity-nsd-sources", |
paulhu | 51ce7c1 | 2021-11-23 16:16:13 +0800 | [diff] [blame^] | 121 | ":framework-connectivity-tiramisu-internal-sources", |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 122 | ], |
| 123 | visibility: [ |
| 124 | "//frameworks/base", |
| 125 | ], |
paulhu | 51ce7c1 | 2021-11-23 16:16:13 +0800 | [diff] [blame^] | 126 | } |