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 { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
| 19 | // Sources included in the framework-connectivity jar |
| 20 | filegroup { |
| 21 | name: "framework-remoteauth-java-sources", |
| 22 | srcs: [ |
| 23 | "java/**/*.java", |
| 24 | "java/**/*.aidl", |
| 25 | ], |
| 26 | path: "java", |
| 27 | visibility: [ |
| 28 | "//packages/modules/Connectivity/framework:__subpackages__", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | filegroup { |
| 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 |
| 42 | java_library { |
| 43 | name: "framework-remoteauth-static", |
| 44 | srcs: [":framework-remoteauth-java-sources"], |
| 45 | sdk_version: "module_current", |
| 46 | libs: [], |
| 47 | static_libs: [], |
| 48 | visibility: ["//packages/modules/Connectivity/remoteauth/tests:__subpackages__"], |
| 49 | } |