Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Issue 869563002: [Android] Expose provisioning settings as command line options (Closed)

Created:
5 years, 11 months ago by perezju
Modified:
5 years, 11 months ago
Reviewers:
klundberg, jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -44 lines) Patch
M build/android/provision_devices.py View 1 9 chunks +72 lines, -44 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
perezju
John, Karin: this CL would allow to configure the required settings for the bot running ...
5 years, 11 months ago (2015-01-22 12:07:12 UTC) #2
perezju
Also, not sure which would be suitable trybots for testing this before trying to commit.
5 years, 11 months ago (2015-01-22 12:09:04 UTC) #3
jbudorick
lgtm w/ nit Sanity! Hooray! https://codereview.chromium.org/869563002/diff/1/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/869563002/diff/1/build/android/provision_devices.py#newcode100 build/android/provision_devices.py:100: ['chmod', '644', constants.DEVICE_LOCAL_PROPERTIES_PATH], On ...
5 years, 11 months ago (2015-01-22 14:20:28 UTC) #4
jbudorick
On 2015/01/22 12:09:04, perezju wrote: > Also, not sure which would be suitable trybots for ...
5 years, 11 months ago (2015-01-22 14:22:24 UTC) #5
klundberg
On 2015/01/22 14:22:24, jbudorick wrote: > On 2015/01/22 12:09:04, perezju wrote: > > Also, not ...
5 years, 11 months ago (2015-01-22 15:30:04 UTC) #6
perezju
https://codereview.chromium.org/869563002/diff/1/build/android/provision_devices.py File build/android/provision_devices.py (right): https://codereview.chromium.org/869563002/diff/1/build/android/provision_devices.py#newcode277 build/android/provision_devices.py:277: parser.add_argument('--disable-java-debug', action='store_true', On 2015/01/22 14:20:28, jbudorick wrote: > nit: ...
5 years, 11 months ago (2015-01-23 10:54:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869563002/20001
5 years, 11 months ago (2015-01-23 10:55:36 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-23 11:56:11 UTC) #10
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 11:56:57 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b205693d72e37d173f7dabcefe6c02f115509f27
Cr-Commit-Position: refs/heads/master@{#312818}

Powered by Google App Engine
This is Rietveld 408576698