1// Copyright (C) 2022 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 19aidl_interface { 20 name: "androidx.core.uwb.backend.aidl_interface", 21 owner: "Google", 22 local_include_dir: "interface", 23 srcs: [ 24 "interface/**/*.aidl", 25 ], 26 backend: { 27 java: { 28 enabled: true, 29 min_sdk_version: "31", 30 }, 31 }, 32 visibility: ["//visibility:public"], 33} 34 35java_library { 36 name: "uwb_androidx_backend", 37 installable: false, 38 platform_apis: true, 39 srcs: [ 40 "src/**/*.java", 41 ], 42 libs: ["android-support-annotations"], 43 static_libs: [ 44 "androidx.concurrent_concurrent-futures", 45 "androidx.core.uwb.backend.aidl_interface-V1-java", 46 "com.uwb.support.fira", 47 "com.uwb.support.multichip", 48 "com.uwb.support.dltdoa", 49 "guava", 50 ], 51} 52 53android_app { 54 name: "uwb_androidx_backend_app", 55 platform_apis: true, 56 certificate: "platform", 57 manifest: "AndroidManifest.xml", 58 libs: ["android-support-annotations"], 59 static_libs: [ 60 "androidx.concurrent_concurrent-futures", 61 "androidx.core.uwb.backend.aidl_interface-V1-java", 62 "com.uwb.support.fira", 63 "guava", 64 "uwb_androidx_backend" 65 ], 66} 67