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