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