blob: f784b8edda9f434b9667ffc64f49de02a818927f [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 {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000016 default_team: "trendy_team_fwk_core_networking",
Casey Borders13a35ea2023-07-13 00:30:38 +000017 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21 name: "RemoteAuthUnitTests",
Remi NGUYEN VANc41daa42023-08-14 15:34:20 +090022 defaults: [
23 "enable-remoteauth-targets",
Krzysztof Kosiński739ed222023-10-07 00:48:10 +000024 "mts-target-sdk-version-current",
Remi NGUYEN VANc41daa42023-08-14 15:34:20 +090025 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000026 sdk_version: "test_current",
27 min_sdk_version: "31",
28
29 // Include all test java files.
Igor Zaslavskye3365862023-09-21 09:26:31 +000030 srcs: [],
Casey Borders13a35ea2023-07-13 00:30:38 +000031
32 libs: [
Jihoon Kang8401b6a2024-08-30 00:29:58 +000033 "android.test.base.stubs.test",
34 "android.test.mock.stubs.test",
35 "android.test.runner.stubs.test",
Salil Rajadhyakshaba35a142023-08-14 22:21:52 +000036 "framework-annotations-lib",
Casey Borders13a35ea2023-07-13 00:30:38 +000037 ],
38 compile_multilib: "both",
39
40 static_libs: [
41 "androidx.test.ext.junit",
Salil Rajadhyakshaba35a142023-08-14 22:21:52 +000042 "androidx.test.ext.truth",
Casey Borders13a35ea2023-07-13 00:30:38 +000043 "androidx.test.rules",
Jin Chenbe08f542023-08-07 15:58:20 -070044 "com.uwb.support.generic",
Casey Borders13a35ea2023-07-13 00:30:38 +000045 "framework-remoteauth-static",
46 "junit",
Igor Zaslavskyec344f42023-08-08 04:28:45 +000047 "libprotobuf-java-lite",
Jin Chenbe08f542023-08-07 15:58:20 -070048 "mockito-target-extended-minus-junit4",
Salil Rajadhyakshaba35a142023-08-14 22:21:52 +000049 "mockito-target-minus-junit4",
Casey Borders13a35ea2023-07-13 00:30:38 +000050 "platform-test-annotations",
51 "service-remoteauth-pre-jarjar",
Krzysztof Kosiński739ed222023-10-07 00:48:10 +000052 "truth",
Casey Borders13a35ea2023-07-13 00:30:38 +000053 ],
Jin Chenbe08f542023-08-07 15:58:20 -070054 // these are needed for Extended Mockito
55 jni_libs: [
56 "libdexmakerjvmtiagent",
57 "libstaticjvmtiagent",
58 ],
Casey Borders13a35ea2023-07-13 00:30:38 +000059 test_suites: [
60 "general-tests",
61 "mts-tethering",
62 ],
63}