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 17package { 18 default_team: "trendy_team_fwk_thread_network", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22java_defaults { 23 name: "ThreadNetworkIntegrationTestsDefaults", 24 min_sdk_version: "30", 25 static_libs: [ 26 "androidx.test.rules", 27 "compatibility-device-util-axt", 28 "guava", 29 "mockito-target-minus-junit4", 30 "net-tests-utils", 31 "net-utils-device-common", 32 "net-utils-device-common-bpf", 33 "net-utils-device-common-struct-base", 34 "testables", 35 "ThreadNetworkTestUtils", 36 "truth", 37 "ot-daemon-aidl-java", 38 ], 39 libs: [ 40 "android.test.runner", 41 "android.test.base", 42 "android.test.mock", 43 ], 44} 45 46android_test { 47 name: "ThreadNetworkIntegrationTests", 48 platform_apis: true, 49 manifest: "AndroidManifest.xml", 50 test_config: "AndroidTest.xml", 51 defaults: [ 52 "framework-connectivity-test-defaults", 53 "ThreadNetworkIntegrationTestsDefaults", 54 ], 55 test_suites: [ 56 "mts-tethering", 57 "general-tests", 58 ], 59 srcs: [ 60 "src/**/*.java", 61 ], 62 compile_multilib: "both", 63} 64