markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2019 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | android_test { |
| 18 | name: "TetheringTests", |
| 19 | certificate: "platform", |
markchien | dd6177b | 2019-09-23 20:29:54 +0800 | [diff] [blame] | 20 | srcs: [ |
markchien | dd6177b | 2019-09-23 20:29:54 +0800 | [diff] [blame] | 21 | "src/**/*.java", |
| 22 | ], |
markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 23 | test_suites: ["device-tests"], |
| 24 | static_libs: [ |
| 25 | "androidx.test.rules", |
| 26 | "frameworks-base-testutils", |
markchien | 6aa3889 | 2019-09-25 14:33:39 +0800 | [diff] [blame] | 27 | "net-tests-utils", |
markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 28 | "mockito-target-extended-minus-junit4", |
| 29 | "TetheringApiCurrentLib", |
| 30 | "testables", |
| 31 | ], |
| 32 | libs: [ |
| 33 | "android.test.runner", |
| 34 | "android.test.base", |
| 35 | "android.test.mock", |
markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame^] | 36 | "framework-tethering", |
markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 37 | ], |
| 38 | jni_libs: [ |
| 39 | // For mockito extended |
| 40 | "libdexmakerjvmtiagent", |
| 41 | "libstaticjvmtiagent", |
| 42 | ], |
markchien | 9d35382 | 2019-12-16 20:15:20 +0800 | [diff] [blame^] | 43 | jarjar_rules: "jarjar-rules.txt", |
markchien | 43e97e0 | 2019-09-03 15:58:06 +0800 | [diff] [blame] | 44 | } |