| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 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 |  | 
|  | 15 | package { | 
| Aditya Choudhary | 01b5ede | 2024-01-31 11:08:57 +0000 | [diff] [blame] | 16 | default_team: "trendy_team_fwk_core_networking", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 17 | default_applicable_licenses: ["Android-Apache-2.0"], | 
|  | 18 | } | 
|  | 19 |  | 
|  | 20 | // Sources included in the framework-connectivity jar | 
|  | 21 | filegroup { | 
|  | 22 | name: "framework-remoteauth-java-sources", | 
|  | 23 | srcs: [ | 
|  | 24 | "java/**/*.java", | 
|  | 25 | "java/**/*.aidl", | 
|  | 26 | ], | 
|  | 27 | path: "java", | 
|  | 28 | visibility: [ | 
| Igor Zaslavsky | ec344f4 | 2023-08-08 04:28:45 +0000 | [diff] [blame] | 29 | "//packages/modules/Connectivity/framework-t:__subpackages__", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 30 | ], | 
|  | 31 | } | 
|  | 32 |  | 
|  | 33 | filegroup { | 
|  | 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 | 
|  | 43 | java_library { | 
|  | 44 | name: "framework-remoteauth-static", | 
|  | 45 | srcs: [":framework-remoteauth-java-sources"], | 
|  | 46 | sdk_version: "module_current", | 
| Igor Zaslavsky | ec344f4 | 2023-08-08 04:28:45 +0000 | [diff] [blame] | 47 | libs: [ | 
|  | 48 | "androidx.annotation_annotation", | 
|  | 49 | "framework-annotations-lib", | 
|  | 50 | "framework-bluetooth", | 
|  | 51 | ], | 
|  | 52 | static_libs: [ | 
|  | 53 | "modules-utils-preconditions", | 
|  | 54 | ], | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 55 | visibility: ["//packages/modules/Connectivity/remoteauth/tests:__subpackages__"], | 
|  | 56 | } |