blob: a21c0338d2e0ee4e2fa9e0a0cdcb0629a2102b21 [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",
35 ],
36 compile_multilib: "both",
37
38 static_libs: [
39 "androidx.test.ext.junit",
40 "androidx.test.rules",
Jin Chenbe08f542023-08-07 15:58:20 -070041 "com.uwb.support.generic",
Casey Borders13a35ea2023-07-13 00:30:38 +000042 "framework-remoteauth-static",
43 "junit",
Igor Zaslavskyec344f42023-08-08 04:28:45 +000044 "libprotobuf-java-lite",
Jin Chenbe08f542023-08-07 15:58:20 -070045 "mockito-target-extended-minus-junit4",
Casey Borders13a35ea2023-07-13 00:30:38 +000046 "platform-test-annotations",
47 "service-remoteauth-pre-jarjar",
Krzysztof Kosiński739ed222023-10-07 00:48:10 +000048 "truth",
Casey Borders13a35ea2023-07-13 00:30:38 +000049 ],
Jin Chenbe08f542023-08-07 15:58:20 -070050 // these are needed for Extended Mockito
51 jni_libs: [
52 "libdexmakerjvmtiagent",
53 "libstaticjvmtiagent",
54 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000055 test_suites: [
56 "general-tests",
57 "mts-tethering",
58 ],
59}