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
22android_test {
23    name: "CtsThreadNetworkTestCases",
24    defaults: [
25        "cts_defaults",
26        "framework-connectivity-test-defaults",
27    ],
28    min_sdk_version: "33",
29    manifest: "AndroidManifest.xml",
30    test_config: "AndroidTest.xml",
31    srcs: [
32        "src/**/*.java",
33    ],
34    test_suites: [
35        "cts",
36        "general-tests",
37        "mcts-tethering",
38        "mts-tethering",
39    ],
40    static_libs: [
41        "androidx.test.ext.junit",
42        "compatibility-device-util-axt",
43        "com.android.net.thread.flags-aconfig-java",
44        "ctstestrunner-axt",
45        "guava",
46        "guava-android-testlib",
47        "net-tests-utils",
48        "ThreadNetworkTestUtils",
49        "truth",
50    ],
51    libs: [
52        "android.test.base.stubs",
53        "android.test.runner.stubs",
54        "framework-connectivity-module-api-stubs-including-flagged",
55    ],
56    // Test coverage system runs on different devices. Need to
57    // compile for all architectures.
58    compile_multilib: "both",
59    platform_apis: true,
60}
61