1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3 default_team: "trendy_team_android_storage", 4} 5 6android_test { 7 name: "CtsMediaProviderTestCases", 8 defaults: ["cts_defaults"], 9 10 compile_multilib: "both", 11 12 test_suites: [ 13 "cts", 14 "general-tests", 15 "sts", 16 "mts-mediaprovider", 17 "mcts-mediaprovider", 18 ], 19 20 libs: [ 21 "android.test.mock", 22 "android.test.base", 23 "android.test.runner", 24 ], 25 26 static_libs: [ 27 "androidx.test.core", 28 "compatibility-device-util-axt", 29 "ctstestrunner-axt", 30 "junit", 31 "truth", 32 ], 33 34 srcs: [ 35 "src/**/*.java", 36 "app/GalleryTestApp/src/**/*.java", 37 ":CtsProviderTestUtils", 38 ], 39 40 min_sdk_version: "21", 41 target_sdk_version: "33", 42 43 platform_apis: true, 44 45 data: [ 46 ":CtsProviderGalleryTestApp", 47 ], 48 49 host_required: ["compatibility-host-provider-preconditions"], 50} 51 52filegroup { 53 name: "CtsMediaProviderTestUtils", 54 srcs: [ 55 "src/android/provider/cts/media/MediaStoreUtils.java", 56 "src/android/provider/cts/media/MediaProviderTestUtils.java", 57 ":CtsProviderTestUtils", 58 ], 59} 60