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

Issue 934753007: Use CHROME_HEADLESS to check if download_sdk_extras.py is running on a bot. (Closed)

Created:
5 years, 10 months ago by navabi
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use CHROME_HEADLESS to check if download_sdk_extras.py is running on a bot. This will also change where depot_tools is found. Instead of assuming it is part of the build_bot checkout it will use find_depot_tools. BUG=454220 Committed: https://crrev.com/b0c3ed39916e25bed2900b653974672a39fcb254 Cr-Commit-Position: refs/heads/master@{#316737}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Make constant vars UPPERCASE. #

Patch Set 3 : Fix nits, comments and description. #

Patch Set 4 : Call gsutil.py with python for windows. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M build/download_sdk_extras.py View 1 2 3 4 chunks +13 lines, -7 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
navabi
5 years, 10 months ago (2015-02-17 20:23:08 UTC) #2
hinoka
https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py#newcode45 build/download_sdk_extras.py:45: if not os.environ.get('CHROME_HEADLESS'): Or just check if GSUTIL_PATH exists? ...
5 years, 10 months ago (2015-02-17 20:34:01 UTC) #3
navabi
https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py#newcode45 build/download_sdk_extras.py:45: if not os.environ.get('CHROME_HEADLESS'): On 2015/02/17 20:34:01, hinoka wrote: > ...
5 years, 10 months ago (2015-02-17 20:38:24 UTC) #4
hinoka
https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py#newcode45 build/download_sdk_extras.py:45: if not os.environ.get('CHROME_HEADLESS'): On 2015/02/17 20:38:24, navabi wrote: > ...
5 years, 10 months ago (2015-02-17 20:40:59 UTC) #5
navabi
https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py#newcode45 build/download_sdk_extras.py:45: if not os.environ.get('CHROME_HEADLESS'): On 2015/02/17 20:40:59, hinoka wrote: > ...
5 years, 10 months ago (2015-02-17 20:45:39 UTC) #6
hinoka
lgtm https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py#newcode10 build/download_sdk_extras.py:10: be extracted in the android_tools/sdk/extras directory. Add something ...
5 years, 10 months ago (2015-02-17 21:29:08 UTC) #7
kjellander_chromium
lgtm with a nit. Thanks for fixing this! https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py#newcode20 build/download_sdk_extras.py:20: script_dir ...
5 years, 10 months ago (2015-02-17 21:33:00 UTC) #8
nyquist
This not only changes the check to CHROME_HEADLESS, but also changes how the GSUTIL_PATH is ...
5 years, 10 months ago (2015-02-17 21:37:05 UTC) #9
navabi
https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py File build/download_sdk_extras.py (right): https://codereview.chromium.org/934753007/diff/1/build/download_sdk_extras.py#newcode10 build/download_sdk_extras.py:10: be extracted in the android_tools/sdk/extras directory. On 2015/02/17 21:29:08, ...
5 years, 10 months ago (2015-02-17 21:44:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934753007/40001
5 years, 10 months ago (2015-02-17 21:49:07 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/43327)
5 years, 10 months ago (2015-02-17 21:55:59 UTC) #15
cjhopman
lgtm
5 years, 10 months ago (2015-02-17 22:27:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934753007/40001
5 years, 10 months ago (2015-02-17 22:50:06 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/27303)
5 years, 10 months ago (2015-02-17 23:05:09 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934753007/40001
5 years, 10 months ago (2015-02-17 23:30:30 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/27329)
5 years, 10 months ago (2015-02-17 23:44:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/934753007/60001
5 years, 10 months ago (2015-02-18 01:09:43 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-18 02:01:24 UTC) #30
commit-bot: I haz the power
5 years, 10 months ago (2015-02-18 02:02:19 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b0c3ed39916e25bed2900b653974672a39fcb254
Cr-Commit-Position: refs/heads/master@{#316737}

Powered by Google App Engine
This is Rietveld 408576698