blob: 8981fa3199290d8e7e798360ac48a0bce12753b4 [file] [log] [blame]
Baligh Uddin6a41dd42020-11-04 04:21:14 +00001//
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
Bob Badour97e6be22021-02-12 14:45:04 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Taras Antoshchukd9ba7492022-01-07 18:48:25 +000021java_defaults {
22 name: "CtsHostsideNetworkTestsAppDefaults",
Remi NGUYEN VAN0b137cb2021-04-09 13:48:27 +090023 platform_apis: true,
Baligh Uddin6a41dd42020-11-04 04:21:14 +000024 static_libs: [
Sudheer Shanka7bbbdbd2021-06-03 10:38:38 -070025 "CtsHostsideNetworkTestsAidl",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000026 "androidx.test.ext.junit",
Sudheer Shanka7bbbdbd2021-06-03 10:38:38 -070027 "androidx.test.rules",
28 "androidx.test.uiautomator_uiautomator",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000029 "compatibility-device-util-axt",
Lorenzo Colittied26ffe2021-04-08 12:50:42 +090030 "cts-net-utils",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000031 "ctstestrunner-axt",
junyulaid69d7c82021-02-24 18:25:37 +080032 "modules-utils-build",
Suprabh Shuklaa10d9662024-01-19 15:22:28 -080033 "flag-junit",
34 "net_flags_lib",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000035 ],
36 libs: [
37 "android.test.runner",
38 "android.test.base",
39 ],
Suprabh Shuklaa10d9662024-01-19 15:22:28 -080040 srcs: [
41 "src/**/*.java",
42 ":ArgumentConstants",
43 ],
Baligh Uddin6a41dd42020-11-04 04:21:14 +000044 // Tag this module as a cts test artifact
45 test_suites: [
Baligh Uddin6a41dd42020-11-04 04:21:14 +000046 "general-tests",
Kenneth Magicda973a62021-08-18 08:50:07 -070047 "sts",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000048 ],
49}
Taras Antoshchukd9ba7492022-01-07 18:48:25 +000050
51android_test_helper_app {
52 name: "CtsHostsideNetworkTestsApp",
53 defaults: [
54 "cts_support_defaults",
55 "framework-connectivity-test-defaults",
56 "CtsHostsideNetworkTestsAppDefaults",
57 ],
58 static_libs: [
59 "NetworkStackApiStableShims",
60 ],
61}
62
63android_test_helper_app {
64 name: "CtsHostsideNetworkTestsAppNext",
65 defaults: [
66 "cts_support_defaults",
67 "framework-connectivity-test-defaults",
68 "CtsHostsideNetworkTestsAppDefaults",
69 "ConnectivityNextEnableDefaults",
70 ],
71 static_libs: [
72 "NetworkStackApiCurrentShims",
73 ],
74}