Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2023 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 | package { |
Aditya Choudhary | 01b5ede | 2024-01-31 11:08:57 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_fwk_thread_network", |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 19 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 20 | } |
| 21 | |
| 22 | android_test { |
| 23 | name: "CtsThreadNetworkTestCases", |
Handa Wang | 5fc74b9 | 2024-06-20 09:44:49 +0000 | [diff] [blame] | 24 | defaults: [ |
| 25 | "cts_defaults", |
| 26 | "framework-connectivity-test-defaults", |
| 27 | ], |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 28 | min_sdk_version: "33", |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 29 | manifest: "AndroidManifest.xml", |
| 30 | test_config: "AndroidTest.xml", |
| 31 | srcs: [ |
| 32 | "src/**/*.java", |
| 33 | ], |
| 34 | test_suites: [ |
| 35 | "cts", |
| 36 | "general-tests", |
Kangping Dong | 44d0265 | 2024-02-27 15:14:53 +0800 | [diff] [blame] | 37 | "mcts-tethering", |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 38 | "mts-tethering", |
| 39 | ], |
| 40 | static_libs: [ |
| 41 | "androidx.test.ext.junit", |
| 42 | "compatibility-device-util-axt", |
Zhanglong Xia | 5bbfd91 | 2024-06-20 13:04:29 +0800 | [diff] [blame] | 43 | "com.android.net.thread.flags-aconfig-java", |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 44 | "ctstestrunner-axt", |
Kangping Dong | 26639b1 | 2023-11-09 07:53:33 +0000 | [diff] [blame] | 45 | "guava", |
Kangping Dong | 7fea5fa | 2023-08-30 17:25:34 +0800 | [diff] [blame] | 46 | "guava-android-testlib", |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 47 | "net-tests-utils", |
Handa Wang | 9f41726 | 2024-02-28 08:27:18 +0000 | [diff] [blame] | 48 | "ThreadNetworkTestUtils", |
Krzysztof KosiĆski | 739ed22 | 2023-10-07 00:48:10 +0000 | [diff] [blame] | 49 | "truth", |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 50 | ], |
| 51 | libs: [ |
Jihoon Kang | 8401b6a | 2024-08-30 00:29:58 +0000 | [diff] [blame] | 52 | "android.test.base.stubs", |
| 53 | "android.test.runner.stubs", |
Kangping Dong | c73dd5a | 2024-01-28 13:14:46 +0800 | [diff] [blame] | 54 | "framework-connectivity-module-api-stubs-including-flagged", |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 55 | ], |
| 56 | // Test coverage system runs on different devices. Need to |
| 57 | // compile for all architectures. |
| 58 | compile_multilib: "both", |
Handa Wang | 0c99448 | 2023-12-28 15:10:39 +0800 | [diff] [blame] | 59 | platform_apis: true, |
Kangping Dong | 1cec48f | 2023-08-21 18:48:14 +0800 | [diff] [blame] | 60 | } |