| 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 { | 
|  | 18 | default_applicable_licenses: ["Android-Apache-2.0"], | 
|  | 19 | } | 
|  | 20 |  | 
|  | 21 | java_defaults { | 
|  | 22 | name: "ThreadNetworkIntegrationTestsDefaults", | 
|  | 23 | min_sdk_version: "30", | 
|  | 24 | static_libs: [ | 
|  | 25 | "androidx.test.rules", | 
|  | 26 | "guava", | 
|  | 27 | "mockito-target-minus-junit4", | 
|  | 28 | "net-tests-utils", | 
|  | 29 | "net-utils-device-common", | 
|  | 30 | "net-utils-device-common-bpf", | 
|  | 31 | "testables", | 
|  | 32 | ], | 
|  | 33 | libs: [ | 
|  | 34 | "android.test.runner", | 
|  | 35 | "android.test.base", | 
|  | 36 | "android.test.mock", | 
|  | 37 | ], | 
|  | 38 | } | 
|  | 39 |  | 
|  | 40 | android_test { | 
|  | 41 | name: "ThreadNetworkIntegrationTests", | 
|  | 42 | platform_apis: true, | 
|  | 43 | manifest: "AndroidManifest.xml", | 
|  | 44 | defaults: [ | 
|  | 45 | "framework-connectivity-test-defaults", | 
| Kangping Dong | c73dd5a | 2024-01-28 13:14:46 +0800 | [diff] [blame] | 46 | "ThreadNetworkIntegrationTestsDefaults", | 
| Handa Wang | 806f5a1 | 2023-12-04 12:53:39 +0800 | [diff] [blame] | 47 | ], | 
|  | 48 | test_suites: [ | 
|  | 49 | "general-tests", | 
|  | 50 | ], | 
|  | 51 | srcs: [ | 
|  | 52 | "src/**/*.java", | 
|  | 53 | ], | 
|  | 54 | compile_multilib: "both", | 
|  | 55 | } |