-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small baseline profile generation tweaks (#1260)
Just aligning some stuff from our other projects and small updates
- Loading branch information
Showing
4 changed files
with
45 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
#!/usr/bin/env bash | ||
set -uo pipefail | ||
|
||
# If on CI, add indirect swiftshader arg | ||
gpu_arg=" " | ||
if [[ "${CI:-}" == "true" ]]; then | ||
gpu_arg="-Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect" | ||
fi | ||
|
||
# TODO --unused-only flag for cleaning can't be used because devices appear to be left in a bad state | ||
./gradlew cleanManagedDevices && ./gradlew generateBaselineProfile $gpu_arg | ||
./gradlew cleanManagedDevices --unused-only | ||
./gradlew generateBaselineProfile |