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        "cts",
32        "general-tests",
33    ],
34}
35
36android_test_helper_app {
37    name: "CtsVpnFirewallAppApi24",
38    defaults: ["CtsVpnAppDefaults"],
39    manifest: "api24/AndroidManifest.xml",
40    test_suites: [
41        "cts",
42        "general-tests",
43    ],
44}
45
46android_test_helper_app {
47    name: "CtsVpnFirewallApp",
48    defaults: ["CtsVpnAppDefaults"],
49    manifest: "latest/AndroidManifest.xml",
50    test_suites: [
51        "cts",
52        "general-tests",
53    ],
54}
55
56android_test_helper_app {
57    name: "CtsVpnFirewallAppNotAlwaysOn",
58    defaults: ["CtsVpnAppDefaults"],
59    manifest: "notalwayson/AndroidManifest.xml",
60    test_suites: [
61        "cts",
62        "general-tests",
63    ],
64}
65