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_applicable_licenses: ["Android-Apache-2.0"], 17 default_team: "trendy_team_android_storage", 18} 19 20android_test { 21 name: "CtsPhotoPickerTest", 22 manifest: "AndroidManifest.xml", 23 test_config: "AndroidTest.xml", 24 srcs: [ 25 "src/**/*.java", 26 "src/**/*.kt", 27 "helper/**/*.java", 28 ":CtsMediaProviderTestUtils", 29 ], 30 compile_multilib: "both", 31 test_suites: [ 32 "general-tests", 33 "mts-mediaprovider", 34 "mcts-mediaprovider", 35 "cts", 36 ], 37 sdk_version: "core_current", 38 min_sdk_version: "30", 39 target_sdk_version: "33", 40 libs: [ 41 "android.test.base.stubs", 42 "android.test.runner.stubs", 43 "framework-mediaprovider.impl", 44 "framework-photopicker.impl", 45 "framework-res", 46 "android_test_stubs_current", 47 ], 48 static_libs: [ 49 "androidx.test.rules", 50 "androidx.test.uiautomator_uiautomator", 51 "cts-install-lib", 52 "flag-junit", 53 "bedstead-enterprise", 54 "modules-utils-build", 55 "mediaprovider_flags_java_lib", 56 ], 57} 58