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 { |
Xiao Ma | 77f3dd8 | 2022-03-16 13:36:15 +0900 | [diff] [blame^] | 41 | name: "ethernet-service-updatable-sources", |
| 42 | srcs: [], |
| 43 | } |
| 44 | |
| 45 | filegroup { |
junyulai | 66ed3db | 2022-02-16 16:43:32 +0800 | [diff] [blame] | 46 | name: "services.connectivity-netstats-jni-sources", |
markchien | dc72f28 | 2022-02-18 00:09:20 +0800 | [diff] [blame] | 47 | srcs: [ |
| 48 | "stubs-src-jni/mock_com_android_server_net_NetworkStatsFactory.cpp", |
| 49 | "stubs-src-jni/mock_com_android_server_net_NetworkStatsService.cpp", |
| 50 | ], |
| 51 | visibility: [ |
| 52 | "//packages/modules/Connectivity:__subpackages__", |
| 53 | ], |
| 54 | } |
| 55 | |
| 56 | filegroup { |
| 57 | name: "framework-connectivity-tiramisu-jni-sources", |
| 58 | srcs: [ |
| 59 | "stubs-src-jni/mock_android_net_TrafficStats.cpp", |
| 60 | ], |
| 61 | visibility: [ |
| 62 | "//packages/modules/Connectivity:__subpackages__", |
| 63 | ], |
junyulai | 66ed3db | 2022-02-16 16:43:32 +0800 | [diff] [blame] | 64 | } |
| 65 | |
paulhu | 9211a8f | 2022-03-01 11:41:07 +0800 | [diff] [blame] | 66 | // Empty replacement for framework-connectivity-t.impl and stubs, |
Remi NGUYEN VAN | 11201c1 | 2022-01-27 13:31:18 +0900 | [diff] [blame] | 67 | // as framework-connectivity is disabled in the branch |
Remi NGUYEN VAN | 22ea877 | 2021-12-16 15:17:28 +0000 | [diff] [blame] | 68 | java_library { |
paulhu | 9211a8f | 2022-03-01 11:41:07 +0800 | [diff] [blame] | 69 | name: "framework-connectivity-t.impl", |
Remi NGUYEN VAN | 22ea877 | 2021-12-16 15:17:28 +0000 | [diff] [blame] | 70 | min_sdk_version: "Tiramisu", |
| 71 | sdk_version: "module_current", |
| 72 | srcs: [], |
| 73 | } |
| 74 | |
Remi NGUYEN VAN | 11201c1 | 2022-01-27 13:31:18 +0900 | [diff] [blame] | 75 | java_library { |
paulhu | 9211a8f | 2022-03-01 11:41:07 +0800 | [diff] [blame] | 76 | name: "framework-connectivity-t.stubs.module_lib", |
Remi NGUYEN VAN | 11201c1 | 2022-01-27 13:31:18 +0900 | [diff] [blame] | 77 | min_sdk_version: "Tiramisu", |
| 78 | sdk_version: "module_current", |
| 79 | srcs: [], |
| 80 | } |