blob: 6ffd45a311d5c46422759676047ca35e5286fe26 [file] [log] [blame]
Sasha Smundak2d1c35e2019-03-10 18:57:41 -07001// 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 Smundakf72cf552019-03-27 15:58:27 -070015android_test_helper_app {
Ricky Wai1c3ba042019-09-09 16:08:50 +010016 name: "CtsHasLauncherActivityApp",
Sasha Smundak2d1c35e2019-03-10 18:57:41 -070017 // 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 Trochtovab6f1a7d2019-05-20 18:38:07 +020028 "arcts",
Sasha Smundak2d1c35e2019-03-10 18:57:41 -070029 "cts",
Dan Shiefdc7e12020-03-19 12:07:49 -070030 "vts10",
Sasha Smundak2d1c35e2019-03-10 18:57:41 -070031 "general-tests",
Sasha Smundak2d1c35e2019-03-10 18:57:41 -070032 ],
33 sdk_version: "current",
34}
Sasha Smundakb0b48a52019-04-05 12:45:24 -070035
Ricky Wai1c3ba042019-09-09 16:08:50 +010036// Build for no launcher activity app
Sasha Smundakb0b48a52019-04-05 12:45:24 -070037android_test_helper_app {
Ricky Wai1c3ba042019-09-09 16:08:50 +010038 name: "CtsNoLauncherActivityApp",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070039 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 Trochtovab6f1a7d2019-05-20 18:38:07 +020048 "arcts",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070049 "cts",
Dan Shiefdc7e12020-03-19 12:07:49 -070050 "vts10",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070051 "general-tests",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070052 ],
Ricky Wai1c3ba042019-09-09 16:08:50 +010053 manifest: "no_launcher_activity_AndroidManifest.xml",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070054 sdk_version: "current",
55}
56
57// Build for no permission app
58android_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 Trochtovab6f1a7d2019-05-20 18:38:07 +020069 "arcts",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070070 "cts",
Dan Shiefdc7e12020-03-19 12:07:49 -070071 "vts10",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070072 "general-tests",
Sasha Smundakb0b48a52019-04-05 12:45:24 -070073 ],
74 manifest: "no_permission_AndroidManifest.xml",
75 sdk_version: "current",
76}