Skip to content

Commit ebafa50

Browse files
Remove benchmark build type (#272)
This build type is no longer needed when using the Baseline Profile Gradle plugin so we're removing it.
1 parent e6877a6 commit ebafa50

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

MacrobenchmarkSample/app/build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,6 @@ android {
5454
// In real app, this would use its own release keystore
5555
signingConfig = signingConfigs.getByName("debug")
5656
}
57-
58-
create("benchmark") {
59-
initWith(release)
60-
signingConfig = signingConfigs.getByName("debug")
61-
// [START_EXCLUDE silent]
62-
// Selects release buildType if the benchmark buildType not available in other modules.
63-
matchingFallbacks.add("release")
64-
// [END_EXCLUDE]
65-
proguardFiles("benchmark-rules.pro")
66-
}
6757
}
6858
// [END macrobenchmark_setup_app_build_type]
6959

MacrobenchmarkSample/macrobenchmark/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,6 @@ android {
6060
targetProjectPath = ":app"
6161
// Enable the benchmark to run separately from the app process
6262
experimentalProperties["android.experimental.self-instrumenting"] = true
63-
64-
buildTypes {
65-
// declare a build type to match the target app"s build type
66-
create("benchmark") {
67-
isDebuggable = true
68-
signingConfig = signingConfigs.getByName("debug")
69-
// [START_EXCLUDE silent]
70-
// Selects release buildType if the benchmark buildType not available in other modules.
71-
matchingFallbacks.add("release")
72-
// [END_EXCLUDE]
73-
}
74-
}
7563
}
7664
// [END macrobenchmark_setup_android]
7765

0 commit comments

Comments
 (0)