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