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: "CtsMediaStorageApp", 21 defaults: ["cts_support_defaults"], 22 min_sdk_version: "29", 23 sdk_version: "test_current", 24 static_libs: [ 25 "cts-scopedstorage-lib", 26 "compatibility-device-util-axt", 27 "androidx.test.rules", 28 "ub-uiautomator", 29 ], 30 libs: ["android.test.base"], 31 srcs: ["src/**/*.java"], 32 asset_dirs: ["assets"], 33 test_suites: [ 34 "general-tests", 35 ], 36} 37 38android_test_helper_app { 39 name: "CtsMediaStorageApp28", 40 defaults: ["cts_support_defaults"], 41 min_sdk_version: "28", 42 sdk_version: "test_current", 43 static_libs: [ 44 "cts-scopedstorage-lib", 45 "compatibility-device-util-axt", 46 "androidx.test.rules", 47 "ub-uiautomator", 48 ], 49 libs: ["android.test.base"], 50 srcs: ["src/**/*.java"], 51 asset_dirs: ["assets"], 52 test_suites: [ 53 "general-tests", 54 ], 55 manifest: "AndroidManifest28.xml", 56} 57 58android_test_helper_app { 59 name: "CtsMediaStorageApp29", 60 defaults: ["cts_support_defaults"], 61 min_sdk_version: "29", 62 sdk_version: "test_current", 63 static_libs: [ 64 "cts-scopedstorage-lib", 65 "compatibility-device-util-axt", 66 "androidx.test.rules", 67 "ub-uiautomator", 68 ], 69 libs: ["android.test.base"], 70 srcs: ["src/**/*.java"], 71 asset_dirs: ["assets"], 72 test_suites: [ 73 "general-tests", 74 ], 75 manifest: "AndroidManifest29.xml", 76} 77 78android_test_helper_app { 79 name: "CtsMediaStorageApp31", 80 defaults: ["cts_support_defaults"], 81 min_sdk_version: "31", 82 sdk_version: "test_current", 83 static_libs: [ 84 "cts-scopedstorage-lib", 85 "compatibility-device-util-axt", 86 "androidx.test.rules", 87 "ub-uiautomator", 88 ], 89 libs: ["android.test.base"], 90 srcs: ["src/**/*.java"], 91 asset_dirs: ["assets"], 92 test_suites: [ 93 "general-tests", 94 ], 95 manifest: "AndroidManifest31.xml", 96} 97