blob: 77e6f193689d17d04b288ae82634c2c6db8c673c [file] [log] [blame]
Casey Borders13a35ea2023-07-13 00:30:38 +00001// Copyright (C) 2023 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
19android_test {
20 name: "RemoteAuthUnitTests",
Remi NGUYEN VANc41daa42023-08-14 15:34:20 +090021 defaults: [
22 "enable-remoteauth-targets",
Krzysztof Kosiński739ed222023-10-07 00:48:10 +000023 "mts-target-sdk-version-current",
Remi NGUYEN VANc41daa42023-08-14 15:34:20 +090024 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000025 sdk_version: "test_current",
26 min_sdk_version: "31",
27
28 // Include all test java files.
Igor Zaslavskye3365862023-09-21 09:26:31 +000029 srcs: [],
Casey Borders13a35ea2023-07-13 00:30:38 +000030
31 libs: [
32 "android.test.base",
33 "android.test.mock",
34 "android.test.runner",
Salil Rajadhyakshaba35a142023-08-14 22:21:52 +000035 "framework-annotations-lib",
Casey Borders13a35ea2023-07-13 00:30:38 +000036 ],
37 compile_multilib: "both",
38
39 static_libs: [
40 "androidx.test.ext.junit",
Salil Rajadhyakshaba35a142023-08-14 22:21:52 +000041 "androidx.test.ext.truth",
Casey Borders13a35ea2023-07-13 00:30:38 +000042 "androidx.test.rules",
Jin Chenbe08f542023-08-07 15:58:20 -070043 "com.uwb.support.generic",
Casey Borders13a35ea2023-07-13 00:30:38 +000044 "framework-remoteauth-static",
45 "junit",
Igor Zaslavskyec344f42023-08-08 04:28:45 +000046 "libprotobuf-java-lite",
Jin Chenbe08f542023-08-07 15:58:20 -070047 "mockito-target-extended-minus-junit4",
Salil Rajadhyakshaba35a142023-08-14 22:21:52 +000048 "mockito-target-minus-junit4",
Casey Borders13a35ea2023-07-13 00:30:38 +000049 "platform-test-annotations",
50 "service-remoteauth-pre-jarjar",
Krzysztof Kosiński739ed222023-10-07 00:48:10 +000051 "truth",
Casey Borders13a35ea2023-07-13 00:30:38 +000052 ],
Jin Chenbe08f542023-08-07 15:58:20 -070053 // these are needed for Extended Mockito
54 jni_libs: [
55 "libdexmakerjvmtiagent",
56 "libstaticjvmtiagent",
57 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000058 test_suites: [
59 "general-tests",
60 "mts-tethering",
61 ],
62}