1// Copyright (C) 2024 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: "RangingRttBackendTests", 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 "guava", 43 "ranging_rtt_backend", 44 ], 45 46 libs: [ 47 "android.test.runner.stubs.system", 48 "android.test.base.stubs.system", 49 "android.test.mock.stubs.system", 50 "framework-annotations-lib", 51 "framework-wifi.stubs.module_lib", 52 ], 53 54 jni_libs: [ 55 // these are needed for Extended Mockito 56 "libdexmakerjvmtiagent", 57 "libstaticjvmtiagent", 58 ], 59 compile_multilib: "both", 60 61 test_suites: [ 62 "general-tests", 63 "mts-uwb", 64 ], 65} 66