Description[Android] Expose provisioning settings as command line options
provision_devices.py currently relies on the builder name to determine
the desired device configuration for perf bots. To safely phase this out
this CL:
- exposes these configuration settings as command line options
- sets default values for these options based on the builder name, thus
matching the previous behaviour of the script on all bots.
- explicitly adding these options on the perf bots will also maintain the
same script behaviour, namely:
--wait-for-battery --disable-network --disable-java-debug
- after all perf-bot recipes are updated, we can remove the
builder-name-sniffing code.
In the process we also upgrade from optparse to argparse for handling
command line options.
BUG=450984
Committed: https://crrev.com/b205693d72e37d173f7dabcefe6c02f115509f27
Cr-Commit-Position: refs/heads/master@{#312818}
Patch Set 1 #
Total comments: 6
Patch Set 2 : java debug enable = not disable #Messages
Total messages: 11 (2 generated)
|