blob: 71b621a3ec6ab113bfd99fc500e20e053e6d8ad6 [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 {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19// Sources included in the framework-connectivity jar
20filegroup {
21 name: "framework-remoteauth-java-sources",
22 srcs: [
23 "java/**/*.java",
24 "java/**/*.aidl",
25 ],
26 path: "java",
27 visibility: [
Igor Zaslavskyec344f42023-08-08 04:28:45 +000028 "//packages/modules/Connectivity/framework-t:__subpackages__",
Casey Borders13a35ea2023-07-13 00:30:38 +000029 ],
30}
31
32filegroup {
33 name: "framework-remoteauth-sources",
34 defaults: ["framework-sources-module-defaults"],
35 srcs: [
36 ":framework-remoteauth-java-sources",
37 ],
38}
39
40// Build of only framework-remoteauth (not as part of connectivity) for
41// unit tests
42java_library {
43 name: "framework-remoteauth-static",
44 srcs: [":framework-remoteauth-java-sources"],
45 sdk_version: "module_current",
Igor Zaslavskyec344f42023-08-08 04:28:45 +000046 libs: [
47 "androidx.annotation_annotation",
48 "framework-annotations-lib",
49 "framework-bluetooth",
50 ],
51 static_libs: [
52 "modules-utils-preconditions",
53 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000054 visibility: ["//packages/modules/Connectivity/remoteauth/tests:__subpackages__"],
55}