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 15android_test_helper_app { 16 name: "CtsHasLauncherActivityApp", 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: [ 28 "arcts", 29 "cts", 30 "vts10", 31 "general-tests", 32 ], 33 sdk_version: "current", 34} 35 36// Build for no launcher activity app 37android_test_helper_app { 38 name: "CtsNoLauncherActivityApp", 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: [ 48 "arcts", 49 "cts", 50 "vts10", 51 "general-tests", 52 ], 53 manifest: "no_launcher_activity_AndroidManifest.xml", 54 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: [ 69 "arcts", 70 "cts", 71 "vts10", 72 "general-tests", 73 ], 74 manifest: "no_permission_AndroidManifest.xml", 75 sdk_version: "current", 76} 77