blob: 2688fb8ff9369e66dc599913c229aa8f8b234ec0 [file] [log] [blame]
Baligh Uddin6a41dd42020-11-04 04:21:14 +00001// 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
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000015next_app_data = [":CtsHostsideNetworkTestsAppNext"]
Yuyang Huang626b3502023-02-20 18:40:36 +090016
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
Bob Badour97e6be22021-02-12 14:45:04 -080021package {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000022 default_team: "trendy_team_fwk_core_networking",
Bob Badour97e6be22021-02-12 14:45:04 -080023 default_applicable_licenses: ["Android-Apache-2.0"],
24}
25
Baligh Uddin6a41dd42020-11-04 04:21:14 +000026java_test_host {
27 name: "CtsHostsideNetworkTests",
28 defaults: ["cts_defaults"],
29 // Only compile source java files in this apk.
30 srcs: ["src/**/*.java"],
31 libs: [
Junyu Lai7eb00f72023-07-26 13:58:06 +080032 "net-tests-utils-host-device-common",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000033 "cts-tradefed",
34 "tradefed",
35 ],
Taras Antoshchukd9ba7492022-01-07 18:48:25 +000036 static_libs: [
37 "modules-utils-build-testing",
38 ],
Baligh Uddin6a41dd42020-11-04 04:21:14 +000039 // Tag this module as a cts test artifact
40 test_suites: [
41 "cts",
42 "general-tests",
Ken Chenc2cbf842023-12-25 04:01:43 +000043 "mcts-tethering",
44 "mts-tethering",
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000045 "sts",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000046 ],
yangbillc1b8af22022-04-06 17:29:37 +080047 data: [
48 ":CtsHostsideNetworkTestsApp",
49 ":CtsHostsideNetworkTestsApp2",
Yuyang Huang96e8bfe2023-01-27 17:05:07 +090050 ":CtsHostsideNetworkCapTestsAppWithoutProperty",
51 ":CtsHostsideNetworkCapTestsAppWithProperty",
52 ":CtsHostsideNetworkCapTestsAppSdk33",
Yuyang Huang626b3502023-02-20 18:40:36 +090053 ] + next_app_data,
yangbillc1b8af22022-04-06 17:29:37 +080054 per_testcase_directory: true,
Baligh Uddin6a41dd42020-11-04 04:21:14 +000055}