blob: 2aa3f6983fdc88a0cb63173f2ed4f3c276ad0426 [file] [log] [blame]
Yuyang Huang96e8bfe2023-01-27 17:05:07 +09001//
2// Copyright (C) 2023 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_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21java_defaults {
22 name: "CtsHostsideNetworkCapTestsAppDefaults",
23 platform_apis: true,
24 static_libs: [
25 "androidx.test.ext.junit",
26 "androidx.test.rules",
27 "modules-utils-build",
28 "cts-net-utils",
29 ],
30 srcs: ["src/**/*.java"],
31 // Tag this module as a cts test artifact
32 test_suites: [
33 "cts",
34 "general-tests",
35 "sts",
36 ],
37}
38
39android_test_helper_app {
40 name: "CtsHostsideNetworkCapTestsAppWithoutProperty",
41 defaults: [
42 "cts_support_defaults",
43 "CtsHostsideNetworkCapTestsAppDefaults"
44 ],
45 manifest: "AndroidManifestWithoutProperty.xml",
46}
47
48android_test_helper_app {
49 name: "CtsHostsideNetworkCapTestsAppWithProperty",
50 defaults: [
51 "cts_support_defaults",
52 "CtsHostsideNetworkCapTestsAppDefaults"
53 ],
54 manifest: "AndroidManifestWithProperty.xml",
55}
56
57android_test_helper_app {
58 name: "CtsHostsideNetworkCapTestsAppSdk33",
59 defaults: [
60 "cts_support_defaults",
61 "CtsHostsideNetworkCapTestsAppDefaults"
62 ],
63 target_sdk_version: "33",
64 manifest: "AndroidManifestWithoutProperty.xml",
65}