Download newest orderfile from GS bucket for ChromeOS.

This patch gives us the ability to download the most recent
orderfile (with name specified in a file) so that ChromeOS can
use it for linking Chrome in the future.

This patch generalizes the script used for downloading
newest AFDO profiles for Android/Linux to be able to download
any artifacts generated on Chrome OS. The script now takes
arguments that can describe any profiles/orderfiles.
Also move the script to a non Android-specific location.

Bug: chromium:950627
Test: The script is working locally for both android and chromeos

Change-Id: I9eedbd6f39664013c5f61c7e64cbe0652bb13b7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1704936
Commit-Queue: Tiancong Wang <[email protected]>
Reviewed-by: Steven Bennetts <[email protected]>
Reviewed-by: Andrew Grieve <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Reviewed-by: George Burgess <[email protected]>
Reviewed-by: Dirk Pranke <[email protected]>
Auto-Submit: Tiancong Wang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#681012}
7 files changed