1// 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 {
16    default_team: "trendy_team_fwk_core_networking",
17    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: [
29        "//packages/modules/Connectivity/framework-t:__subpackages__",
30    ],
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",
47    libs: [
48        "androidx.annotation_annotation",
49        "framework-annotations-lib",
50        "framework-bluetooth",
51    ],
52    static_libs: [
53        "modules-utils-preconditions",
54    ],
55    visibility: ["//packages/modules/Connectivity/remoteauth/tests:__subpackages__"],
56}
57