Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 1 | // Copyright (C) 2021 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", |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 17 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 18 | } |
| 19 | |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 20 | // Sources included in the framework-connectivity-t jar |
| 21 | // TODO: consider moving files to packages/modules/Connectivity |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 22 | filegroup { |
Chun Zhang | 90f40a2 | 2021-11-03 13:56:13 -0700 | [diff] [blame] | 23 | name: "framework-nearby-java-sources", |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 24 | srcs: [ |
| 25 | "java/**/*.java", |
| 26 | "java/**/*.aidl", |
| 27 | ], |
| 28 | path: "java", |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 29 | visibility: [ |
Motomu Utsumi | ada9e98 | 2023-11-06 22:49:25 +0900 | [diff] [blame] | 30 | "//packages/modules/Connectivity/framework:__subpackages__", |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 31 | "//packages/modules/Connectivity/framework-t:__subpackages__", |
| 32 | ], |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 33 | } |
| 34 | |
Chun Zhang | 90f40a2 | 2021-11-03 13:56:13 -0700 | [diff] [blame] | 35 | filegroup { |
| 36 | name: "framework-nearby-sources", |
Anton Hansson | 57f3d69 | 2023-03-15 10:30:10 +0000 | [diff] [blame] | 37 | defaults: ["framework-sources-module-defaults"], |
Chun Zhang | 90f40a2 | 2021-11-03 13:56:13 -0700 | [diff] [blame] | 38 | srcs: [ |
| 39 | ":framework-nearby-java-sources", |
| 40 | ], |
Chun Zhang | 90f40a2 | 2021-11-03 13:56:13 -0700 | [diff] [blame] | 41 | } |
| 42 | |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 43 | // Build of only framework-nearby (not as part of connectivity) for |
| 44 | // unit tests |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 45 | java_library { |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 46 | name: "framework-nearby-static", |
| 47 | srcs: [":framework-nearby-java-sources"], |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 48 | sdk_version: "module_current", |
Roopa Sattiraju | e8fabcc | 2022-01-11 20:40:07 -0800 | [diff] [blame] | 49 | libs: [ |
Xinyi Zhou | 0d195ae | 2023-03-22 19:06:54 +0000 | [diff] [blame] | 50 | "androidx.annotation_annotation", |
Roopa Sattiraju | e8fabcc | 2022-01-11 20:40:07 -0800 | [diff] [blame] | 51 | "framework-annotations-lib", |
| 52 | "framework-bluetooth", |
Yahav Nussbaum | c712a57 | 2024-01-29 12:23:28 +0000 | [diff] [blame] | 53 | "framework-location.stubs.module_lib", |
Roopa Sattiraju | e8fabcc | 2022-01-11 20:40:07 -0800 | [diff] [blame] | 54 | ], |
Remi NGUYEN VAN | 15ed7d2 | 2022-01-07 13:20:08 +0900 | [diff] [blame] | 55 | static_libs: [ |
| 56 | "modules-utils-preconditions", |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 57 | ], |
Xinyi Zhou | fcd2b7c | 2023-08-28 17:32:17 -0700 | [diff] [blame] | 58 | visibility: [ |
| 59 | "//packages/modules/Connectivity/nearby/tests:__subpackages__", |
| 60 | ], |
Wei Wang | 6b7561d | 2021-06-03 17:33:14 -0700 | [diff] [blame] | 61 | } |