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