Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +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", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 19 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 20 | } |
| 21 | |
| 22 | java_defaults { |
| 23 | name: "ThreadNetworkIntegrationTestsDefaults", |
| 24 | min_sdk_version: "30", |
| 25 | static_libs: [ |
| 26 | "androidx.test.rules", |
Kangping Dong | 3deddc7 | 2024-01-31 22:27:02 +0800 | [diff] [blame] | 27 | "compatibility-device-util-axt", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 28 | "guava", |
| 29 | "mockito-target-minus-junit4", |
| 30 | "net-tests-utils", |
| 31 | "net-utils-device-common", |
| 32 | "net-utils-device-common-bpf", |
Yang Sun | 3aa62e6 | 2024-03-12 21:23:19 +0800 | [diff] [blame] | 33 | "net-utils-device-common-struct-base", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 34 | "testables", |
Handa Wang | c6037af | 2024-02-01 06:43:27 +0000 | [diff] [blame] | 35 | "ThreadNetworkTestUtils", |
Kangping Dong | 3deddc7 | 2024-01-31 22:27:02 +0800 | [diff] [blame] | 36 | "truth", |
Yang Sun | 244dce3 | 2024-04-10 22:48:14 -0700 | [diff] [blame] | 37 | "ot-daemon-aidl-java", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 38 | ], |
| 39 | libs: [ |
| 40 | "android.test.runner", |
| 41 | "android.test.base", |
| 42 | "android.test.mock", |
| 43 | ], |
| 44 | } |
| 45 | |
| 46 | android_test { |
| 47 | name: "ThreadNetworkIntegrationTests", |
| 48 | platform_apis: true, |
| 49 | manifest: "AndroidManifest.xml", |
Kangping Dong | 25bcfee | 2024-01-27 22:32:30 +0800 | [diff] [blame] | 50 | test_config: "AndroidTest.xml", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 51 | defaults: [ |
| 52 | "framework-connectivity-test-defaults", |
Kangping Dong | 25bcfee | 2024-01-27 22:32:30 +0800 | [diff] [blame] | 53 | "ThreadNetworkIntegrationTestsDefaults", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 54 | ], |
| 55 | test_suites: [ |
Kangping Dong | 25bcfee | 2024-01-27 22:32:30 +0800 | [diff] [blame] | 56 | "mts-tethering", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 57 | "general-tests", |
| 58 | ], |
| 59 | srcs: [ |
| 60 | "src/**/*.java", |
Handa Wang | 26b6853 | 2024-09-05 05:30:22 +0000 | [diff] [blame^] | 61 | "src/**/*.kt", |
Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 62 | ], |
| 63 | compile_multilib: "both", |
| 64 | } |