Fix benchmark build (#1938)

This commit is contained in:
Cuong-Tran
2025-03-29 16:51:18 +07:00
committed by GitHub
parent 3e5d3d099f
commit b00bbe91be

View File

@ -288,14 +288,6 @@ dependencies {
}
androidComponents {
beforeVariants { variantBuilder ->
// Disables standardBenchmark
if (variantBuilder.buildType == "benchmark") {
variantBuilder.enable = variantBuilder.productFlavors.containsAll(
listOf("default" to "dev"),
)
}
}
onVariants(selector().withFlavor("default" to "standard")) {
// Only excluding in standard flavor because this breaks
// Layout Inspector's Compose tree