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 15package { 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19android_test_helper_app { 20 name: "CtsHasLauncherActivityApp", 21 // Don't include this package in any target 22 // When built, explicitly put it in the data partition. 23 dex_preopt: { 24 enabled: false, 25 }, 26 optimize: { 27 enabled: false, 28 }, 29 srcs: ["src/**/*.java"], 30 // tag this module as a cts test artifact 31 test_suites: [ 32 "arcts", 33 "cts", 34 "general-tests", 35 "mts-permission", 36 ], 37 sdk_version: "current", 38} 39 40// Build for no launcher activity app 41android_test_helper_app { 42 name: "CtsNoLauncherActivityApp", 43 dex_preopt: { 44 enabled: false, 45 }, 46 optimize: { 47 enabled: false, 48 }, 49 srcs: ["src/**/*.java"], 50 // tag this module as a cts test artifact 51 test_suites: [ 52 "arcts", 53 "cts", 54 "general-tests", 55 "mts-permission", 56 ], 57 manifest: "no_launcher_activity_AndroidManifest.xml", 58 sdk_version: "current", 59} 60 61// Build for no permission app 62android_test_helper_app { 63 name: "CtsNoPermissionApp", 64 dex_preopt: { 65 enabled: false, 66 }, 67 optimize: { 68 enabled: false, 69 }, 70 srcs: ["src/**/*.java"], 71 // tag this module as a cts test artifact 72 test_suites: [ 73 "arcts", 74 "cts", 75 "general-tests", 76 "mts-permission", 77 ], 78 manifest: "no_permission_AndroidManifest.xml", 79 sdk_version: "current", 80} 81