Remi NGUYEN VAN | 22ea877 | 2021-12-16 15:17:28 +0000 | [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 | |
| 22 | // Placeholder empty filegroups to avoid merge conflicts on build rules |
| 23 | // on a branch that does not have the filegroups |
| 24 | |
| 25 | filegroup { |
| 26 | name: "framework-connectivity-tiramisu-updatable-sources", |
| 27 | srcs: [], |
| 28 | } |
| 29 | |
| 30 | filegroup { |
| 31 | name: "services.connectivity-tiramisu-updatable-sources", |
| 32 | srcs: ["stubs-src/**/*.java"], |
| 33 | } |
| 34 | |
junyulai | 66ed3db | 2022-02-16 16:43:32 +0800 | [diff] [blame] | 35 | filegroup { |
| 36 | name: "framework-connectivity-api-shared-srcs", |
| 37 | srcs: [], |
| 38 | } |
| 39 | |
| 40 | filegroup { |
| 41 | name: "services.connectivity-netstats-jni-sources", |
markchien | dc72f28 | 2022-02-18 00:09:20 +0800 | [diff] [blame] | 42 | srcs: [ |
| 43 | "stubs-src-jni/mock_com_android_server_net_NetworkStatsFactory.cpp", |
| 44 | "stubs-src-jni/mock_com_android_server_net_NetworkStatsService.cpp", |
| 45 | ], |
| 46 | visibility: [ |
| 47 | "//packages/modules/Connectivity:__subpackages__", |
| 48 | ], |
| 49 | } |
| 50 | |
| 51 | filegroup { |
| 52 | name: "framework-connectivity-tiramisu-jni-sources", |
| 53 | srcs: [ |
| 54 | "stubs-src-jni/mock_android_net_TrafficStats.cpp", |
| 55 | ], |
| 56 | visibility: [ |
| 57 | "//packages/modules/Connectivity:__subpackages__", |
| 58 | ], |
junyulai | 66ed3db | 2022-02-16 16:43:32 +0800 | [diff] [blame] | 59 | } |
| 60 | |
paulhu | 9211a8f | 2022-03-01 11:41:07 +0800 | [diff] [blame] | 61 | // Empty replacement for framework-connectivity-t.impl and stubs, |
Remi NGUYEN VAN | 11201c1 | 2022-01-27 13:31:18 +0900 | [diff] [blame] | 62 | // as framework-connectivity is disabled in the branch |
Remi NGUYEN VAN | 22ea877 | 2021-12-16 15:17:28 +0000 | [diff] [blame] | 63 | java_library { |
paulhu | 9211a8f | 2022-03-01 11:41:07 +0800 | [diff] [blame] | 64 | name: "framework-connectivity-t.impl", |
Remi NGUYEN VAN | 22ea877 | 2021-12-16 15:17:28 +0000 | [diff] [blame] | 65 | min_sdk_version: "Tiramisu", |
| 66 | sdk_version: "module_current", |
| 67 | srcs: [], |
| 68 | } |
| 69 | |
Remi NGUYEN VAN | 11201c1 | 2022-01-27 13:31:18 +0900 | [diff] [blame] | 70 | java_library { |
paulhu | 9211a8f | 2022-03-01 11:41:07 +0800 | [diff] [blame] | 71 | name: "framework-connectivity-t.stubs.module_lib", |
Remi NGUYEN VAN | 11201c1 | 2022-01-27 13:31:18 +0900 | [diff] [blame] | 72 | min_sdk_version: "Tiramisu", |
| 73 | sdk_version: "module_current", |
| 74 | srcs: [], |
| 75 | } |