Reason for revert:
Broke all nanobench uploads, eg. https://uberchromegw.corp.google.com/i/client.skia.android/builders/Perf-Android-Clang-Nexus6p-CPU-Snapdragon810-arm64-Release-GN_Android/builds/154/steps/Upload%20perf%20results/logs/stdio
Original issue's description:
> Skia recipe: Use [depot_tools]/gsutil.py instead of [depot_tools]/third_party/gsutil/gsutil
>
> The latter is being removed in https://codereview.chromium.org/
2280023003/
> Is also pinned to 3.25, whereas the former is updated more often.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2298293002
>
> Committed: https://skia.googlesource.com/skia/+/
f15590f803596f51d0950994b2aeb623d2d1fc24
TBR=hinoka@google.com
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review-Url: https://codereview.chromium.org/
2355943002
"--githash",
"abc123",
"--gsutil_path",
- "[DEPOT_TOOLS]/gsutil.py",
+ "[DEPOT_TOOLS]/third_party/gsutil/gsutil",
"--issue_number",
"500"
],
"cmd": [
"python",
"RECIPE_MODULE[skia::core]/resources/generate_and_upload_doxygen.py",
- "[DEPOT_TOOLS]/gsutil.py"
+ "[DEPOT_TOOLS]/third_party/gsutil/gsutil"
],
"cwd": "[SLAVE_BUILD]/skia",
"env": {
"--githash",
"abc123",
"--gsutil_path",
- "[DEPOT_TOOLS]/gsutil.py"
+ "[DEPOT_TOOLS]/third_party/gsutil/gsutil"
],
"cwd": "[SLAVE_BUILD]/skia",
"env": {
# TODO(borenet): Detect static initializers?
- gsutil_path = api.path['depot_tools'].join('gsutil.py')
+ gsutil_path = api.path['depot_tools'].join('third_party', 'gsutil',
+ 'gsutil')
if not api.vars.is_trybot:
api.run(
api.step,
"5",
"[SLAVE_BUILD]/perfdata/Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot/data",
"abc123",
- "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/depot_tools/gsutil.py",
+ "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/depot_tools/third_party/gsutil/gsutil",
"500"
],
"cwd": "[SLAVE_BUILD]/skia",
infra_step=True)
gsutil_path = api.path['slave_build'].join(
- 'skia', 'infra', 'bots', '.recipe_deps', 'depot_tools', 'gsutil.py')
+ 'skia', 'infra', 'bots', '.recipe_deps', 'depot_tools', 'third_party',
+ 'gsutil', 'gsutil')
upload_args = [api.properties['buildername'], api.properties['buildnumber'],
perf_data_dir, got_revision, gsutil_path]
if is_trybot: