Revert "[android-binary-size] Don't use upload if patch's parent rev is too new"

This reverts commit bc93b402c8cf79eb28e9278c90850bcf78304500.

Reason for revert: "list index out of range" errors https://ci.chromium.org/p/chromium/builders/try/android-binary-size/766534

Original change's description:
> [android-binary-size] Don't use upload if patch's parent rev is too new
>
> If the patch's parent revision is newer than the recent upload's
> revision, android binary size builds can fail (rare but it's been
> happening). This compares the commit position of the parent revision and
> the recent upload revision and acts accordingly.
>
> Bug: 1150510
> Change-Id: I0c04884efaa172e9ffd77f8f1fb60ad7578f6a82
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2774430
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Commit-Queue: Stephanie Kim <kimstephanie@google.com>

Bug: 1150510
Change-Id: I91731661b72de0a9c929dc7580affc8371bd6dac
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2785077
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Stephanie Kim <kimstephanie@google.com>
9 files changed
tree: 40909cde500c80dbb1a10bd5594869a78af39d1b
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. .gitattributes
  6. .gitignore
  7. .style.yapf
  8. .vpython
  9. .yapfignore
  10. codereview.settings
  11. CROS_OWNERS
  12. DEPS
  13. environment.cfg.py
  14. LICENSE
  15. OWNERS
  16. PRESUBMIT.py
  17. README.md
  18. WATCHLISTS
README.md

Recipes

If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores, with the exception of the special functions RunSteps and RunTests in recipes. Use yapf (git cl format --no-clang-format) to autoformat new code.