1// Copyright (C) 2020 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: "TestApp1", 21 defaults: ["cts_defaults"], 22 platform_apis: true, 23 srcs: ["testapp1/src/**/*.java"], 24 libs: [ 25 "android.test.runner", 26 "android.test.base", 27 ], 28 static_libs: [ 29 "compatibility-device-util-axt", 30 "ctstestrunner-axt", 31 "androidx.test.uiautomator_uiautomator", 32 "cts-security-test-support-library", 33 "androidx.legacy_legacy-support-v4", 34 ], 35 min_sdk_version: "23", 36 // tag this module as a cts test artifact 37 test_suites: [ 38 "cts", 39 "general-tests", 40 "mts-permission", 41 ], 42 manifest: "testapp1/AndroidManifest.xml", 43 sdk_version: "test_current", 44} 45 46android_test_helper_app { 47 name: "TestApp2", 48 defaults: ["cts_defaults"], 49 platform_apis: true, 50 srcs: ["testapp2/src/**/*.java"], 51 libs: [ 52 "android.test.runner", 53 "android.test.base", 54 ], 55 static_libs: [ 56 "compatibility-device-util-axt", 57 "ctstestrunner-axt", 58 "androidx.test.uiautomator_uiautomator", 59 "cts-security-test-support-library", 60 "androidx.legacy_legacy-support-v4", 61 ], 62 min_sdk_version: "23", 63 // tag this module as a cts test artifact 64 test_suites: [ 65 "cts", 66 "general-tests", 67 "mts-permission", 68 ], 69 manifest: "testapp2/AndroidManifest.xml", 70 sdk_version: "test_current", 71} 72 73android_test_helper_app { 74 name: "TestApp3", 75 defaults: ["cts_defaults"], 76 platform_apis: true, 77 srcs: ["testapp3/src/**/*.java"], 78 libs: [ 79 "android.test.runner", 80 "android.test.base", 81 ], 82 static_libs: [ 83 "compatibility-device-util-axt", 84 "ctstestrunner-axt", 85 "androidx.test.uiautomator_uiautomator", 86 "cts-security-test-support-library", 87 "androidx.legacy_legacy-support-v4", 88 ], 89 min_sdk_version: "23", 90 // tag this module as a cts test artifact 91 test_suites: [ 92 "cts", 93 "general-tests", 94 "mts-permission", 95 ], 96 manifest: "testapp3/AndroidManifest.xml", 97 sdk_version: "test_current", 98} 99 100android_test_helper_app { 101 name: "TestApp4", 102 defaults: ["cts_defaults"], 103 platform_apis: true, 104 srcs: ["testapp4/src/**/*.java"], 105 libs: [ 106 "android.test.runner", 107 "android.test.base", 108 ], 109 static_libs: [ 110 "compatibility-device-util-axt", 111 "ctstestrunner-axt", 112 "androidx.test.uiautomator_uiautomator", 113 "cts-security-test-support-library", 114 "androidx.legacy_legacy-support-v4", 115 ], 116 min_sdk_version: "23", 117 // tag this module as a cts test artifact 118 test_suites: [ 119 "cts", 120 "general-tests", 121 "mts-permission", 122 ], 123 manifest: "testapp4/AndroidManifest.xml", 124 sdk_version: "test_current", 125} 126 127android_test_helper_app { 128 name: "SharedUidApp1", 129 defaults: ["cts_defaults"], 130 //srcs: ["share/src/**/*.java"], 131 test_suites: [ 132 "cts", 133 "general-tests", 134 "mts-permission", 135 ], 136 manifest: "shareduidapp1/AndroidManifest.xml", 137 sdk_version: "test_current", 138} 139 140android_test_helper_app { 141 name: "SharedUidApp2", 142 defaults: ["cts_defaults"], 143 //srcs: ["share/src/**/*.java"], 144 test_suites: [ 145 "cts", 146 "general-tests", 147 "mts-permission", 148 ], 149 manifest: "shareduidapp2/AndroidManifest.xml", 150 sdk_version: "test_current", 151} 152