Sasha Smundak | 2d1c35e | 2019-03-10 18:57:41 -0700 | [diff] [blame] | 1 | // Copyright (C) 2018 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 | |
Sasha Smundak | f72cf55 | 2019-03-27 15:58:27 -0700 | [diff] [blame] | 15 | android_test_helper_app { |
Ricky Wai | 1c3ba04 | 2019-09-09 16:08:50 +0100 | [diff] [blame] | 16 | name: "CtsHasLauncherActivityApp", |
Sasha Smundak | 2d1c35e | 2019-03-10 18:57:41 -0700 | [diff] [blame] | 17 | // Don't include this package in any target |
| 18 | // When built, explicitly put it in the data partition. |
| 19 | dex_preopt: { |
| 20 | enabled: false, |
| 21 | }, |
| 22 | optimize: { |
| 23 | enabled: false, |
| 24 | }, |
| 25 | srcs: ["src/**/*.java"], |
| 26 | // tag this module as a cts test artifact |
| 27 | test_suites: [ |
Lenka Trochtova | b6f1a7d | 2019-05-20 18:38:07 +0200 | [diff] [blame] | 28 | "arcts", |
Sasha Smundak | 2d1c35e | 2019-03-10 18:57:41 -0700 | [diff] [blame] | 29 | "cts", |
Dan Shi | efdc7e1 | 2020-03-19 12:07:49 -0700 | [diff] [blame] | 30 | "vts10", |
Sasha Smundak | 2d1c35e | 2019-03-10 18:57:41 -0700 | [diff] [blame] | 31 | "general-tests", |
Sasha Smundak | 2d1c35e | 2019-03-10 18:57:41 -0700 | [diff] [blame] | 32 | ], |
| 33 | sdk_version: "current", |
| 34 | } |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 35 | |
Ricky Wai | 1c3ba04 | 2019-09-09 16:08:50 +0100 | [diff] [blame] | 36 | // Build for no launcher activity app |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 37 | android_test_helper_app { |
Ricky Wai | 1c3ba04 | 2019-09-09 16:08:50 +0100 | [diff] [blame] | 38 | name: "CtsNoLauncherActivityApp", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 39 | dex_preopt: { |
| 40 | enabled: false, |
| 41 | }, |
| 42 | optimize: { |
| 43 | enabled: false, |
| 44 | }, |
| 45 | srcs: ["src/**/*.java"], |
| 46 | // tag this module as a cts test artifact |
| 47 | test_suites: [ |
Lenka Trochtova | b6f1a7d | 2019-05-20 18:38:07 +0200 | [diff] [blame] | 48 | "arcts", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 49 | "cts", |
Dan Shi | efdc7e1 | 2020-03-19 12:07:49 -0700 | [diff] [blame] | 50 | "vts10", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 51 | "general-tests", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 52 | ], |
Ricky Wai | 1c3ba04 | 2019-09-09 16:08:50 +0100 | [diff] [blame] | 53 | manifest: "no_launcher_activity_AndroidManifest.xml", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 54 | sdk_version: "current", |
| 55 | } |
| 56 | |
| 57 | // Build for no permission app |
| 58 | android_test_helper_app { |
| 59 | name: "CtsNoPermissionApp", |
| 60 | dex_preopt: { |
| 61 | enabled: false, |
| 62 | }, |
| 63 | optimize: { |
| 64 | enabled: false, |
| 65 | }, |
| 66 | srcs: ["src/**/*.java"], |
| 67 | // tag this module as a cts test artifact |
| 68 | test_suites: [ |
Lenka Trochtova | b6f1a7d | 2019-05-20 18:38:07 +0200 | [diff] [blame] | 69 | "arcts", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 70 | "cts", |
Dan Shi | efdc7e1 | 2020-03-19 12:07:49 -0700 | [diff] [blame] | 71 | "vts10", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 72 | "general-tests", |
Sasha Smundak | b0b48a5 | 2019-04-05 12:45:24 -0700 | [diff] [blame] | 73 | ], |
| 74 | manifest: "no_permission_AndroidManifest.xml", |
| 75 | sdk_version: "current", |
| 76 | } |