blob: 385abc679170159aed1a4dc5361696ec64716159 [file] [log] [blame]
Remi NGUYEN VAN22ea8772021-12-16 15:17:28 +00001//
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
17package {
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
25filegroup {
26 name: "framework-connectivity-tiramisu-updatable-sources",
27 srcs: [],
28}
29
30filegroup {
31 name: "services.connectivity-tiramisu-updatable-sources",
32 srcs: ["stubs-src/**/*.java"],
33}
34
junyulai66ed3db2022-02-16 16:43:32 +080035filegroup {
36 name: "framework-connectivity-api-shared-srcs",
37 srcs: [],
38}
39
40filegroup {
41 name: "services.connectivity-netstats-jni-sources",
markchiendc72f282022-02-18 00:09:20 +080042 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
51filegroup {
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 ],
junyulai66ed3db2022-02-16 16:43:32 +080059}
60
paulhu9211a8f2022-03-01 11:41:07 +080061// Empty replacement for framework-connectivity-t.impl and stubs,
Remi NGUYEN VAN11201c12022-01-27 13:31:18 +090062// as framework-connectivity is disabled in the branch
Remi NGUYEN VAN22ea8772021-12-16 15:17:28 +000063java_library {
paulhu9211a8f2022-03-01 11:41:07 +080064 name: "framework-connectivity-t.impl",
Remi NGUYEN VAN22ea8772021-12-16 15:17:28 +000065 min_sdk_version: "Tiramisu",
66 sdk_version: "module_current",
67 srcs: [],
68}
69
Remi NGUYEN VAN11201c12022-01-27 13:31:18 +090070java_library {
paulhu9211a8f2022-03-01 11:41:07 +080071 name: "framework-connectivity-t.stubs.module_lib",
Remi NGUYEN VAN11201c12022-01-27 13:31:18 +090072 min_sdk_version: "Tiramisu",
73 sdk_version: "module_current",
74 srcs: [],
75}