1// Copyright (C) 2021 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_team: "trendy_team_framework_android_packages", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test_helper_app { 21 name: "CtsReadSettingsFieldsApp", 22 defaults: ["cts_support_defaults"], 23 static_libs: [ 24 "androidx.test.rules", 25 ], 26 libs: [ 27 "android.test.runner", 28 "android.test.base", 29 ], 30 srcs: [ 31 "src/**/*.java", 32 ], 33 // tag this module as a cts test artifact 34 test_suites: [ 35 "cts", 36 "general-tests", 37 ], 38 manifest: "AndroidManifest.xml", 39 sdk_version: "current", 40} 41 42android_test_helper_app { 43 name: "CtsReadSettingsFieldsAppTestOnly", 44 defaults: ["cts_support_defaults"], 45 static_libs: [ 46 "androidx.test.rules", 47 ], 48 libs: [ 49 "android.test.runner", 50 "android.test.base", 51 ], 52 srcs: [ 53 "src/**/*.java", 54 ], 55 // tag this module as a cts test artifact 56 test_suites: [ 57 "cts", 58 "general-tests", 59 ], 60 manifest: "AndroidManifestTestOnly.xml", 61 sdk_version: "current", 62} 63 64android_test_helper_app { 65 name: "CtsReadSettingsFieldsAppTargetQ", 66 defaults: ["cts_support_defaults"], 67 static_libs: [ 68 "androidx.test.rules", 69 ], 70 libs: [ 71 "android.test.runner", 72 "android.test.base", 73 ], 74 srcs: [ 75 "src/**/*.java", 76 ], 77 // tag this module as a cts test artifact 78 test_suites: [ 79 "cts", 80 "general-tests", 81 ], 82 manifest: "AndroidManifestTargetQ.xml", 83 sdk_version: "current", 84} 85 86android_test_helper_app { 87 name: "CtsReadSettingsFieldsAppTargetR", 88 defaults: ["cts_support_defaults"], 89 static_libs: [ 90 "androidx.test.rules", 91 ], 92 libs: [ 93 "android.test.runner", 94 "android.test.base", 95 ], 96 srcs: [ 97 "src/**/*.java", 98 ], 99 // tag this module as a cts test artifact 100 test_suites: [ 101 "cts", 102 "general-tests", 103 ], 104 manifest: "AndroidManifestTargetR.xml", 105 sdk_version: "current", 106} 107 108android_test_helper_app { 109 name: "CtsReadSettingsFieldsAppTargetS", 110 defaults: ["cts_support_defaults"], 111 static_libs: [ 112 "androidx.test.rules", 113 ], 114 libs: [ 115 "android.test.runner", 116 "android.test.base", 117 ], 118 srcs: [ 119 "src/**/*.java", 120 ], 121 // tag this module as a cts test artifact 122 test_suites: [ 123 "cts", 124 "general-tests", 125 ], 126 manifest: "AndroidManifestTargetS.xml", 127 sdk_version: "current", 128} 129