You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.5 KiB

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "CtsMediaProviderTranscodeTests",
test_suites: [
"device-tests",
"cts",
],
compile_multilib: "both",
manifest: "AndroidManifest.xml",
srcs: [
"src/**/*.java",
],
libs: [
"android.test.base",
"android.test.mock",
"android.test.runner",
],
static_libs: [
"androidx.test.rules",
"cts-install-lib",
"collector-device-lib-platform",
"mockito-target",
"truth-prebuilt",
],
certificate: "media",
java_resources: [":CtsTranscodeTestAppSupportsHevc", ":CtsTranscodeTestAppSupportsSlowMotion"]
}
android_test_helper_app {
name: "CtsTranscodeTestAppSupportsHevc",
manifest: "helper/AndroidManifest.xml",
sdk_version: "test_current",
resource_dirs: ["helper/res-hevc"],
srcs: [
"helper/src/**/*.java",
"src/android/mediaprovidertranscode/cts/TranscodeTestConstants.java"
],
static_libs: ["androidx.legacy_legacy-support-v4"],
target_sdk_version: "28",
}
android_test_helper_app {
name: "CtsTranscodeTestAppSupportsSlowMotion",
manifest: "helper/AndroidManifest.xml",
sdk_version: "test_current",
resource_dirs: ["helper/res-slow-motion"],
srcs: [
"helper/src/**/*.java",
"src/android/mediaprovidertranscode/cts/TranscodeTestConstants.java"
],
static_libs: ["androidx.legacy_legacy-support-v4"],
target_sdk_version: "28",
}