1// Copyright (C) 2017 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
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19java_defaults {
20    name: "CtsVpnAppDefaults",
21    defaults: ["cts_defaults"],
22    srcs: ["src/**/*.java"],
23    platform_apis: true,
24}
25
26android_test_helper_app {
27    name: "CtsVpnFirewallAppApi23",
28    defaults: ["CtsVpnAppDefaults"],
29    manifest: "api23/AndroidManifest.xml",
30    test_suites: [
31        "arcts",
32        "cts",
33        "general-tests",
34    ],
35    sdk_version: "test_current",
36}
37
38android_test_helper_app {
39    name: "CtsVpnFirewallAppApi24",
40    defaults: ["CtsVpnAppDefaults"],
41    manifest: "api24/AndroidManifest.xml",
42    test_suites: [
43        "arcts",
44        "cts",
45        "general-tests",
46    ],
47    sdk_version: "test_current",
48}
49
50android_test_helper_app {
51    name: "CtsVpnFirewallApp",
52    defaults: ["CtsVpnAppDefaults"],
53    manifest: "latest/AndroidManifest.xml",
54    test_suites: [
55        "arcts",
56        "cts",
57        "general-tests",
58    ],
59    sdk_version: "test_current",
60}
61
62android_test_helper_app {
63    name: "CtsVpnFirewallAppNotAlwaysOn",
64    defaults: ["CtsVpnAppDefaults"],
65    manifest: "notalwayson/AndroidManifest.xml",
66    test_suites: [
67        "arcts",
68        "cts",
69        "general-tests",
70    ],
71    sdk_version: "test_current",
72}
73