| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 1 | // 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 |  | 
 | 15 | package { | 
 | 16 |     default_applicable_licenses: ["Android-Apache-2.0"], | 
 | 17 | } | 
 | 18 |  | 
 | 19 | android_test { | 
 | 20 |     name: "RemoteAuthUnitTests", | 
| Remi NGUYEN VAN | c41daa4 | 2023-08-14 15:34:20 +0900 | [diff] [blame] | 21 |     defaults: [ | 
 | 22 |         "enable-remoteauth-targets", | 
| Krzysztof Kosiński | 739ed22 | 2023-10-07 00:48:10 +0000 | [diff] [blame] | 23 |         "mts-target-sdk-version-current", | 
| Remi NGUYEN VAN | c41daa4 | 2023-08-14 15:34:20 +0900 | [diff] [blame] | 24 |     ], | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 25 |     sdk_version: "test_current", | 
 | 26 |     min_sdk_version: "31", | 
 | 27 |  | 
 | 28 |     // Include all test java files. | 
| Igor Zaslavsky | e336586 | 2023-09-21 09:26:31 +0000 | [diff] [blame] | 29 |     srcs: [], | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 30 |  | 
 | 31 |     libs: [ | 
 | 32 |         "android.test.base", | 
 | 33 |         "android.test.mock", | 
 | 34 |         "android.test.runner", | 
| Salil Rajadhyaksha | ba35a14 | 2023-08-14 22:21:52 +0000 | [diff] [blame] | 35 |         "framework-annotations-lib", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 36 |     ], | 
 | 37 |     compile_multilib: "both", | 
 | 38 |  | 
 | 39 |     static_libs: [ | 
 | 40 |         "androidx.test.ext.junit", | 
| Salil Rajadhyaksha | ba35a14 | 2023-08-14 22:21:52 +0000 | [diff] [blame] | 41 |         "androidx.test.ext.truth", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 42 |         "androidx.test.rules", | 
| Jin Chen | be08f54 | 2023-08-07 15:58:20 -0700 | [diff] [blame] | 43 |         "com.uwb.support.generic", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 44 |         "framework-remoteauth-static", | 
 | 45 |         "junit", | 
| Igor Zaslavsky | ec344f4 | 2023-08-08 04:28:45 +0000 | [diff] [blame] | 46 |         "libprotobuf-java-lite", | 
| Jin Chen | be08f54 | 2023-08-07 15:58:20 -0700 | [diff] [blame] | 47 |         "mockito-target-extended-minus-junit4", | 
| Salil Rajadhyaksha | ba35a14 | 2023-08-14 22:21:52 +0000 | [diff] [blame] | 48 |         "mockito-target-minus-junit4", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 49 |         "platform-test-annotations", | 
 | 50 |         "service-remoteauth-pre-jarjar", | 
| Krzysztof Kosiński | 739ed22 | 2023-10-07 00:48:10 +0000 | [diff] [blame] | 51 |         "truth", | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 52 |     ], | 
| Jin Chen | be08f54 | 2023-08-07 15:58:20 -0700 | [diff] [blame] | 53 |     // these are needed for Extended Mockito | 
 | 54 |     jni_libs: [ | 
 | 55 |         "libdexmakerjvmtiagent", | 
 | 56 |         "libstaticjvmtiagent", | 
 | 57 |     ], | 
| Casey Borders | 13a35ea | 2023-07-13 00:30:38 +0000 | [diff] [blame] | 58 |     test_suites: [ | 
 | 59 |         "general-tests", | 
 | 60 |         "mts-tethering", | 
 | 61 |     ], | 
 | 62 | } |