blob: 33de13933b33e44880ffb59c802124fed8cb280e [file] [log] [blame]
Casey Borders13a35ea2023-07-13 00:30:38 +00001// Copyright (C) 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000016 default_team: "trendy_team_fwk_core_networking",
Casey Borders13a35ea2023-07-13 00:30:38 +000017 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20// Sources included in the framework-connectivity jar
21filegroup {
22 name: "framework-remoteauth-java-sources",
23 srcs: [
24 "java/**/*.java",
25 "java/**/*.aidl",
26 ],
27 path: "java",
28 visibility: [
Igor Zaslavskyec344f42023-08-08 04:28:45 +000029 "//packages/modules/Connectivity/framework-t:__subpackages__",
Casey Borders13a35ea2023-07-13 00:30:38 +000030 ],
31}
32
33filegroup {
34 name: "framework-remoteauth-sources",
35 defaults: ["framework-sources-module-defaults"],
36 srcs: [
37 ":framework-remoteauth-java-sources",
38 ],
39}
40
41// Build of only framework-remoteauth (not as part of connectivity) for
42// unit tests
43java_library {
44 name: "framework-remoteauth-static",
45 srcs: [":framework-remoteauth-java-sources"],
46 sdk_version: "module_current",
Igor Zaslavskyec344f42023-08-08 04:28:45 +000047 libs: [
48 "androidx.annotation_annotation",
49 "framework-annotations-lib",
Jihoon Kang8401b6a2024-08-30 00:29:58 +000050 "framework-bluetooth.stubs.module_lib",
Igor Zaslavskyec344f42023-08-08 04:28:45 +000051 ],
52 static_libs: [
53 "modules-utils-preconditions",
54 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000055 visibility: ["//packages/modules/Connectivity/remoteauth/tests:__subpackages__"],
56}