Skip to content

Commit

Permalink
build: disable managedDevices animation.
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyroid committed Oct 25, 2024
1 parent 3fe26bf commit 2288476
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions baselineprofile/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ android {
// This code creates the gradle managed device used to generate baseline profiles.
// To use GMD please invoke generation through the command line:
// ./gradlew :androidApp:generateBaselineProfile
testOptions.animationsDisabled = true
testOptions.managedDevices.devices {
create<ManagedVirtualDevice>("pixel6Api34") {
device = "Pixel 6"
// A lower resolution device is used here for better emulator performance
device = "Nexus One"
apiLevel = 34
systemImageSource = "aosp"
// Also use the AOSP Automated Test Device image for better emulator performance
systemImageSource = "aosp-atd"
}
}
}
Expand Down

0 comments on commit 2288476

Please sign in to comment.