markchien | fb904c3 | 2019-12-11 18:09:44 +0800 | [diff] [blame] | 1 | // Copyright (C) 2019 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 | android_test { |
| 16 | name: "CtsTetheringTest", |
| 17 | defaults: ["cts_defaults"], |
| 18 | |
| 19 | libs: [ |
Jiyong Park | 616e299 | 2020-05-19 21:12:39 +0900 | [diff] [blame] | 20 | "android.test.base", |
markchien | fb904c3 | 2019-12-11 18:09:44 +0800 | [diff] [blame] | 21 | ], |
| 22 | |
| 23 | srcs: [ |
| 24 | "src/**/*.java", |
| 25 | ], |
| 26 | |
| 27 | static_libs: [ |
paulhu | 6f203ab | 2020-04-22 10:25:11 +0800 | [diff] [blame] | 28 | "TetheringCommonTests", |
paulhu | 85f0fca | 2020-04-10 11:09:14 +0800 | [diff] [blame] | 29 | "TetheringIntegrationTestsLib", |
markchien | fb904c3 | 2019-12-11 18:09:44 +0800 | [diff] [blame] | 30 | "compatibility-device-util-axt", |
markchien | 0420e69 | 2020-04-13 16:22:12 +0800 | [diff] [blame] | 31 | "cts-net-utils", |
markchien | 257cad8 | 2020-04-11 18:53:35 +0800 | [diff] [blame] | 32 | "net-tests-utils", |
markchien | fb904c3 | 2019-12-11 18:09:44 +0800 | [diff] [blame] | 33 | "ctstestrunner-axt", |
| 34 | "junit", |
| 35 | "junit-params", |
| 36 | ], |
| 37 | |
paulhu | 85f0fca | 2020-04-10 11:09:14 +0800 | [diff] [blame] | 38 | jni_libs: [ |
| 39 | // For mockito extended |
| 40 | "libdexmakerjvmtiagent", |
| 41 | "libstaticjvmtiagent", |
| 42 | ], |
| 43 | |
markchien | fb904c3 | 2019-12-11 18:09:44 +0800 | [diff] [blame] | 44 | // Change to system current when TetheringManager move to bootclass path. |
| 45 | platform_apis: true, |
| 46 | |
| 47 | // Tag this module as a cts test artifact |
| 48 | test_suites: [ |
| 49 | "cts", |
| 50 | "general-tests", |
markchien | 9ccf3d8 | 2019-12-18 11:50:50 +0800 | [diff] [blame] | 51 | "mts", |
markchien | fb904c3 | 2019-12-11 18:09:44 +0800 | [diff] [blame] | 52 | ], |
| 53 | |
paulhu | 85f0fca | 2020-04-10 11:09:14 +0800 | [diff] [blame] | 54 | // Include both the 32 and 64 bit versions |
| 55 | compile_multilib: "both", |
markchien | fb904c3 | 2019-12-11 18:09:44 +0800 | [diff] [blame] | 56 | } |