1// Copyright (C) 2014 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15next_app_data = [":CtsHostsideNetworkTestsAppNext"]
16
17// The above line is put in place to prevent any future automerger merge conflict between aosp,
18// downstream branches. The CtsHostsideNetworkTestsAppNext target will not exist in
19// some downstream branches, but it should exist in aosp and some downstream branches.
20
21package {
22    default_team: "trendy_team_fwk_core_networking",
23    default_applicable_licenses: ["Android-Apache-2.0"],
24}
25
26java_test_host {
27    name: "CtsHostsideNetworkTests",
28    defaults: ["cts_defaults"],
29    // Only compile source java files in this apk.
30    srcs: [
31        "src/**/*.java",
32    ],
33    libs: [
34        "net-tests-utils-host-device-common",
35        "cts-tradefed",
36        "tradefed",
37    ],
38    static_libs: [
39        "modules-utils-build-testing",
40    ],
41    // Tag this module as a cts test artifact
42    test_suites: [
43        "cts",
44        "general-tests",
45        "mcts-tethering",
46        "mts-tethering",
47        "sts",
48    ],
49    data: [
50        ":CtsHostsideNetworkTestsApp",
51        ":CtsHostsideNetworkTestsApp2",
52        ":CtsHostsideNetworkCapTestsAppWithoutProperty",
53        ":CtsHostsideNetworkCapTestsAppWithProperty",
54        ":CtsHostsideNetworkCapTestsAppSdk33",
55    ] + next_app_data,
56    per_testcase_directory: true,
57}
58