xref: /aosp_15_r20/tools/trebuchet/scripts/README.md (revision 56b170dbe6574b1f0ec9db7a63de7238ca6a09ea)
1*56b170dbSXin LiThis directory contains scripts for automating various tasks.
2*56b170dbSXin Li
3*56b170dbSXin Li## `run-startup.sh`
4*56b170dbSXin Li
5*56b170dbSXin LiUsage:
6*56b170dbSXin Li```
7*56b170dbSXin Lirun-startup.sh <package name> <activity name>
8*56b170dbSXin Li```
9*56b170dbSXin Li
10*56b170dbSXin LiThis script automatically starts an app on a device connected through adb with
11*56b170dbSXin Liappropriate tracing enabled. It then saves a trace and reports a summary of the
12*56b170dbSXin Listartup behavior using StartupAnalyzerKt. This script requires `adb` to be in
13*56b170dbSXin Liyour path and that a phone be connected.
14