1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5android_test { 6 name: "CtsMediaProviderTranscodeTests", 7 test_suites: [ 8 "device-tests", 9 "cts", 10 ], 11 compile_multilib: "both", 12 13 manifest: "AndroidManifest.xml", 14 15 srcs: [ 16 "src/**/*.java", 17 ], 18 19 libs: [ 20 "android.test.base", 21 "android.test.mock", 22 "android.test.runner", 23 ], 24 25 static_libs: [ 26 "androidx.test.rules", 27 "cts-install-lib", 28 "collector-device-lib-platform", 29 "mockito-target", 30 "truth-prebuilt", 31 ], 32 33 certificate: "media", 34 java_resources: [":CtsTranscodeTestAppSupportsHevc", ":CtsTranscodeTestAppSupportsSlowMotion"] 35} 36 37android_test_helper_app { 38 name: "CtsTranscodeTestAppSupportsHevc", 39 manifest: "helper/AndroidManifest.xml", 40 sdk_version: "test_current", 41 resource_dirs: ["helper/res-hevc"], 42 srcs: [ 43 "helper/src/**/*.java", 44 "src/android/mediaprovidertranscode/cts/TranscodeTestConstants.java" 45 ], 46 static_libs: ["androidx.legacy_legacy-support-v4"], 47 target_sdk_version: "28", 48} 49 50android_test_helper_app { 51 name: "CtsTranscodeTestAppSupportsSlowMotion", 52 manifest: "helper/AndroidManifest.xml", 53 sdk_version: "test_current", 54 resource_dirs: ["helper/res-slow-motion"], 55 srcs: [ 56 "helper/src/**/*.java", 57 "src/android/mediaprovidertranscode/cts/TranscodeTestConstants.java" 58 ], 59 static_libs: ["androidx.legacy_legacy-support-v4"], 60 target_sdk_version: "28", 61} 62