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: "RangingUwbBackendTests", 24 25 srcs: [ 26 "**/*.java", 27 ], 28 sdk_version: "system_server_current", 29 target_sdk_version: "36", 30 dxflags: ["--multi-dex"], 31 32 java_version: "1.9", 33 34 static_libs: [ 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 "ranging_uwb_backend", 46 "framework-uwb.stubs.module_lib", 47 ], 48 49 libs: [ 50 "android.test.runner.stubs.system", 51 "android.test.base.stubs.system", 52 "android.test.mock.stubs.system", 53 "framework-annotations-lib", 54 ], 55 56 jni_libs: [ 57 // these are needed for Extended Mockito 58 "libdexmakerjvmtiagent", 59 "libstaticjvmtiagent", 60 ], 61 compile_multilib: "both", 62 63 test_suites: [ 64 "general-tests", 65 "mts-uwb", 66 ], 67} 68