1//
2// Copyright (C) 2014 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_core_networking",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22java_defaults {
23    name: "CtsHostsideNetworkTestsAppDefaults",
24    platform_apis: true,
25    static_libs: [
26        "CtsHostsideNetworkTestsAidl",
27        "androidx.test.ext.junit",
28        "androidx.test.rules",
29        "androidx.test.uiautomator_uiautomator",
30        "compatibility-device-util-axt",
31        "cts-net-utils",
32        "ctstestrunner-axt",
33        "modules-utils-build",
34    ],
35    libs: [
36        "android.test.runner",
37        "android.test.base",
38    ],
39    srcs: [
40        "src/**/*.java",
41    ],
42    // Tag this module as a cts test artifact
43    test_suites: [
44        "general-tests",
45        "sts",
46    ],
47}
48
49android_test_helper_app {
50    name: "CtsHostsideNetworkTestsApp",
51    defaults: [
52        "cts_support_defaults",
53        "framework-connectivity-test-defaults",
54        "CtsHostsideNetworkTestsAppDefaults",
55    ],
56    static_libs: [
57        "NetworkStackApiStableShims",
58    ],
59}
60
61android_test_helper_app {
62    name: "CtsHostsideNetworkTestsAppNext",
63    defaults: [
64        "cts_support_defaults",
65        "framework-connectivity-test-defaults",
66        "CtsHostsideNetworkTestsAppDefaults",
67        "ConnectivityNextEnableDefaults",
68    ],
69    static_libs: [
70        "NetworkStackApiCurrentShims",
71    ],
72}
73