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: "GenericRangingUwbBackendTests", 24 25 srcs: [ 26 "**/*.java", 27 ], 28 29 dxflags: ["--multi-dex"], 30 31 java_version: "1.9", 32 33 static_libs: [ 34 "androidx.test.rules", 35 "collector-device-lib", 36 "hamcrest-library", 37 "mockito-target-extended-minus-junit4", 38 "platform-test-annotations", 39 "frameworks-base-testutils", 40 "truth", 41 "com.uwb.support.fira", 42 "com.uwb.support.multichip", 43 "guava", 44 "ranging_uwb_backend", 45 ], 46 47 libs: [ 48 "android.test.runner.stubs.system", 49 "android.test.base.stubs.system", 50 "android.test.mock.stubs.system", 51 "framework-annotations-lib", 52 ], 53 54 jni_libs: [ 55 // these are needed for Extended Mockito 56 "libdexmakerjvmtiagent", 57 "libstaticjvmtiagent", 58 ], 59 compile_multilib: "both", 60 61 min_sdk_version: "Tiramisu", 62 63 test_suites: [ 64 "general-tests", 65 ], 66} 67