blob: 2ca9adb753bda7bb388d9153bb82614286161b98 [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 {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000018 default_team: "trendy_team_fwk_core_networking",
Bob Badour97e6be22021-02-12 14:45:04 -080019 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
Taras Antoshchukd9ba7492022-01-07 18:48:25 +000022java_defaults {
23 name: "CtsHostsideNetworkTestsAppDefaults",
Remi NGUYEN VAN0b137cb2021-04-09 13:48:27 +090024 platform_apis: true,
Baligh Uddin6a41dd42020-11-04 04:21:14 +000025 static_libs: [
Sudheer Shanka7bbbdbd2021-06-03 10:38:38 -070026 "CtsHostsideNetworkTestsAidl",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000027 "androidx.test.ext.junit",
Sudheer Shanka7bbbdbd2021-06-03 10:38:38 -070028 "androidx.test.rules",
29 "androidx.test.uiautomator_uiautomator",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000030 "compatibility-device-util-axt",
Lorenzo Colittied26ffe2021-04-08 12:50:42 +090031 "cts-net-utils",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000032 "ctstestrunner-axt",
junyulaid69d7c82021-02-24 18:25:37 +080033 "modules-utils-build",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000034 ],
35 libs: [
Jihoon Kang8401b6a2024-08-30 00:29:58 +000036 "android.test.runner.stubs",
37 "android.test.base.stubs",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000038 ],
Suprabh Shuklab2e574d2024-01-19 15:22:28 -080039 srcs: [
40 "src/**/*.java",
Suprabh Shuklab2e574d2024-01-19 15:22:28 -080041 ],
Baligh Uddin6a41dd42020-11-04 04:21:14 +000042 // Tag this module as a cts test artifact
43 test_suites: [
Baligh Uddin6a41dd42020-11-04 04:21:14 +000044 "general-tests",
Kenneth Magicda973a62021-08-18 08:50:07 -070045 "sts",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000046 ],
Yuyang Huangcea1e602024-09-09 17:09:51 +090047 min_sdk_version: "30",
Baligh Uddin6a41dd42020-11-04 04:21:14 +000048}
Taras Antoshchukd9ba7492022-01-07 18:48:25 +000049
50android_test_helper_app {
51 name: "CtsHostsideNetworkTestsApp",
52 defaults: [
53 "cts_support_defaults",
54 "framework-connectivity-test-defaults",
55 "CtsHostsideNetworkTestsAppDefaults",
56 ],
57 static_libs: [
58 "NetworkStackApiStableShims",
59 ],
60}
61
62android_test_helper_app {
63 name: "CtsHostsideNetworkTestsAppNext",
64 defaults: [
65 "cts_support_defaults",
66 "framework-connectivity-test-defaults",
67 "CtsHostsideNetworkTestsAppDefaults",
68 "ConnectivityNextEnableDefaults",
69 ],
70 static_libs: [
71 "NetworkStackApiCurrentShims",
72 ],
73}