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 "cts", 29 "vts10", 30 "general-tests", 31 ], 32 sdk_version: "current", 33} 34 35// Build for no launcher activity app 36android_test_helper_app { 37 name: "CtsNoLauncherActivityApp", 38 dex_preopt: { 39 enabled: false, 40 }, 41 optimize: { 42 enabled: false, 43 }, 44 srcs: ["src/**/*.java"], 45 // tag this module as a cts test artifact 46 test_suites: [ 47 "cts", 48 "vts10", 49 "general-tests", 50 ], 51 manifest: "no_launcher_activity_AndroidManifest.xml", 52 sdk_version: "current", 53} 54 55// Build for no permission app 56android_test_helper_app { 57 name: "CtsNoPermissionApp", 58 dex_preopt: { 59 enabled: false, 60 }, 61 optimize: { 62 enabled: false, 63 }, 64 srcs: ["src/**/*.java"], 65 // tag this module as a cts test artifact 66 test_suites: [ 67 "cts", 68 "vts10", 69 "general-tests", 70 ], 71 manifest: "no_permission_AndroidManifest.xml", 72 sdk_version: "current", 73} 74