Merge "benchmark: set min sdk version to 28"

gugelfrei
Treehugger Robot 5 years ago committed by Gerrit Code Review
commit 3c19f3a4e0

@ -17,11 +17,13 @@
android_test { android_test {
name: "MediaBenchmarkTest", name: "MediaBenchmarkTest",
defaults: [
"MediaBenchmark-defaults",
],
// Include all the test code // Include all the test code
srcs: ["src/androidTest/**/*.java"], srcs: ["src/androidTest/**/*.java"],
sdk_version: "system_current",
resource_dirs: ["res"], resource_dirs: ["res"],
libs: [ libs: [
@ -43,12 +45,22 @@ android_test {
android_library { android_library {
name: "libMediaBenchmark", name: "libMediaBenchmark",
defaults: [
"MediaBenchmark-defaults",
],
// Include all the libraries // Include all the libraries
srcs: ["src/main/**/*.java"], srcs: ["src/main/**/*.java"],
sdk_version: "system_current",
static_libs: [ static_libs: [
"androidx.test.core", "androidx.test.core",
], ],
} }
java_defaults {
name: "MediaBenchmark-defaults",
sdk_version: "system_current",
min_sdk_version: "28",
target_sdk_version: "29",
}

Loading…
Cancel
Save