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: "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 | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 38 | filegroup { |
| 39 | name: "services.connectivity-nsd-sources", |
| 40 | srcs: [ |
Junyu Lai | 8074ed3 | 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 | |
Aaron Huang | 8f4e236 | 2021-12-10 17:36:49 +0800 | [diff] [blame] | 51 | // IpSec related libraries. |
| 52 | |
| 53 | filegroup { |
| 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 | |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 64 | // Connectivity-T common libraries. |
| 65 | |
| 66 | filegroup { |
| 67 | name: "services.connectivity-tiramisu-sources", |
| 68 | srcs: [ |
Aaron Huang | 8f4e236 | 2021-12-10 17:36:49 +0800 | [diff] [blame] | 69 | ":services.connectivity-ipsec-sources", |
Junyu Lai | 8074ed3 | 2021-12-07 08:25:31 +0000 | [diff] [blame] | 70 | ":services.connectivity-netstats-sources", |
| 71 | ":services.connectivity-nsd-sources", |
paulhu | 9dbe49f | 2021-11-18 15:29:03 +0800 | [diff] [blame] | 72 | ], |
| 73 | path: "src", |
Aaron Huang | 8f4e236 | 2021-12-10 17:36:49 +0800 | [diff] [blame] | 74 | visibility: ["//frameworks/base/services/core"], |
| 75 | } |