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// Make test APK 16// ============================================================ 17package { 18 default_team: "trendy_team_fwk_uwb", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22android_test { 23 name: "AndroidxBackendUwbTests", 24 25 srcs: [ 26 "**/*.java", 27 ], 28 29 dxflags: ["--multi-dex"], 30 31 java_version: "1.9", 32 33 static_libs: [ 34 "androidx.core.uwb.backend.aidl_interface-V2-java", 35 "androidx.test.rules", 36 "collector-device-lib", 37 "hamcrest-library", 38 "mockito-target-extended-minus-junit4", 39 "platform-test-annotations", 40 "frameworks-base-testutils", 41 "truth", 42 "com.uwb.support.fira", 43 "com.uwb.support.multichip", 44 "guava", 45 "uwb_androidx_backend", 46 ], 47 48 libs: [ 49 "android.test.runner", 50 "android.test.base", 51 "android.test.mock", 52 "framework-annotations-lib", 53 ], 54 55 jni_libs: [ 56 // these are needed for Extended Mockito 57 "libdexmakerjvmtiagent", 58 "libstaticjvmtiagent", 59 ], 60 compile_multilib: "both", 61 62 min_sdk_version: "Tiramisu", 63 64 test_suites: [ 65 "general-tests", 66 ], 67} 68