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