blob: 9ca3fd27c71e652fe56c105d45ceba3067734d0e [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 {
Xiao Ma77f3dd82022-03-16 13:36:15 +090041 name: "ethernet-service-updatable-sources",
42 srcs: [],
43}
44
45filegroup {
junyulai66ed3db2022-02-16 16:43:32 +080046 name: "services.connectivity-netstats-jni-sources",
markchiendc72f282022-02-18 00:09:20 +080047 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
56filegroup {
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 ],
junyulai66ed3db2022-02-16 16:43:32 +080064}
65
paulhu9211a8f2022-03-01 11:41:07 +080066// Empty replacement for framework-connectivity-t.impl and stubs,
Remi NGUYEN VAN11201c12022-01-27 13:31:18 +090067// as framework-connectivity is disabled in the branch
Remi NGUYEN VAN22ea8772021-12-16 15:17:28 +000068java_library {
paulhu9211a8f2022-03-01 11:41:07 +080069 name: "framework-connectivity-t.impl",
Remi NGUYEN VAN22ea8772021-12-16 15:17:28 +000070 min_sdk_version: "Tiramisu",
71 sdk_version: "module_current",
72 srcs: [],
73}
74
Remi NGUYEN VAN11201c12022-01-27 13:31:18 +090075java_library {
paulhu9211a8f2022-03-01 11:41:07 +080076 name: "framework-connectivity-t.stubs.module_lib",
Remi NGUYEN VAN11201c12022-01-27 13:31:18 +090077 min_sdk_version: "Tiramisu",
78 sdk_version: "module_current",
79 srcs: [],
80}