paulhu | 73a8203 | 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 | ad166b4 | 2021-12-07 08:25:31 +0000 | [diff] [blame^] | 22 | // NetworkStats related libraries. |
| 23 | |
| 24 | filegroup { |
| 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 | |
paulhu | 73a8203 | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 38 | filegroup { |
| 39 | name: "services.connectivity-nsd-sources", |
| 40 | srcs: [ |
Junyu Lai | ad166b4 | 2021-12-07 08:25:31 +0000 | [diff] [blame^] | 41 | "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 | |
| 51 | // Connectivity-T common libraries. |
| 52 | |
| 53 | filegroup { |
| 54 | name: "services.connectivity-tiramisu-sources", |
| 55 | srcs: [ |
| 56 | ":services.connectivity-netstats-sources", |
| 57 | ":services.connectivity-nsd-sources", |
paulhu | 73a8203 | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 58 | ], |
| 59 | path: "src", |
| 60 | visibility: [ |
| 61 | "//frameworks/base/services/core", |
| 62 | ], |
Junyu Lai | ad166b4 | 2021-12-07 08:25:31 +0000 | [diff] [blame^] | 63 | } |