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 15 android_test_helper_app { 16 name: "CtsNoLaunchableActivityApp", 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 "vts", 30 "general-tests", 31 "cts_instant", 32 ], 33 sdk_version: "current", 34 } 35 36 // Build for no component app 37 android_test_helper_app { 38 name: "CtsNoComponentApp", 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 "cts", 49 "vts", 50 "general-tests", 51 "cts_instant", 52 ], 53 manifest: "no_component_AndroidManifest.xml", 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: [ 69 "cts", 70 "vts", 71 "general-tests", 72 "cts_instant", 73 ], 74 manifest: "no_permission_AndroidManifest.xml", 75 sdk_version: "current", 76 } 77