Commit 97a86556 authored by Tiancong Wang's avatar Tiancong Wang Committed by Commit Bot

Download Chrome OS AFDO artifacts in DEPS.

This is one of the efforts to move AFDO-related stuff from
Chrome OS ebuild to Chromium tree. This patch adds three files
to specify latest profile for each architecture. The files will
be updated by skia autoroller. Add calls to download the profiles
to DEPS file.

Bug: chromium:1001227
Test: gclient sync
Change-Id: I4d5fecf6089a8f43b0c3a5b030e8e8daa9ca9ce1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1809664Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarGeorge Burgess <gbiv@chromium.org>
Commit-Queue: Tiancong Wang <tcwang@google.com>
Cr-Commit-Position: refs/heads/master@{#697388}
parent 88dc88b3
...@@ -166,7 +166,8 @@ vs-chromium-project.txt ...@@ -166,7 +166,8 @@ vs-chromium-project.txt
/chromecast/internal /chromecast/internal
/chromeos/assistant/internal /chromeos/assistant/internal
/chromeos/profiles/chromeos.orderfile.txt /chromeos/profiles/chromeos.orderfile.txt
/chromeos/profiles/orderfile.local.txt /chromeos/profiles/*.local.txt
/chromeos/profiles/*.afdo.prof
/cipd_cache/ /cipd_cache/
/clank /clank
/cloud_print/cloud_print_version_resources.xml /cloud_print/cloud_print_version_resources.xml
......
...@@ -3681,6 +3681,43 @@ hooks = [ ...@@ -3681,6 +3681,43 @@ hooks = [
'--gs_url_base=chromeos-prebuilt/afdo-job/orderfiles/vetted', '--gs_url_base=chromeos-prebuilt/afdo-job/orderfiles/vetted',
], ],
}, },
# Download AFDO profiles for Chrome OS for each architecture.
{
'name': 'Fetch Chrome OS AFDO profiles (silvermont)',
'pattern': '.',
'condition': 'checkout_chromeos or checkout_simplechrome',
'action': [ 'vpython',
'src/tools/download_cros_provided_profile.py',
'--newest_state=src/chromeos/profiles/silvermont.afdo.newest.txt',
'--local_state=src/chromeos/profiles/silvermont.afdo.local.txt',
'--output_name=src/chromeos/profiles/silvermont.afdo.prof',
'--gs_url_base=chromeos-prebuilt/afdo-job/vetted/release',
],
},
{
'name': 'Fetch Chrome OS AFDO profiles (airmont)',
'pattern': '.',
'condition': 'checkout_chromeos or checkout_simplechrome',
'action': [ 'vpython',
'src/tools/download_cros_provided_profile.py',
'--newest_state=src/chromeos/profiles/airmont.afdo.newest.txt',
'--local_state=src/chromeos/profiles/airmont.afdo.local.txt',
'--output_name=src/chromeos/profiles/airmont.afdo.prof',
'--gs_url_base=chromeos-prebuilt/afdo-job/vetted/release',
],
},
{
'name': 'Fetch Chrome OS AFDO profiles (broadwell)',
'pattern': '.',
'condition': 'checkout_chromeos or checkout_simplechrome',
'action': [ 'vpython',
'src/tools/download_cros_provided_profile.py',
'--newest_state=src/chromeos/profiles/broadwell.afdo.newest.txt',
'--local_state=src/chromeos/profiles/broadwell.afdo.local.txt',
'--output_name=src/chromeos/profiles/broadwell.afdo.prof',
'--gs_url_base=chromeos-prebuilt/afdo-job/vetted/release',
],
},
{ {
# Pull doclava binaries if building for Android. # Pull doclava binaries if building for Android.
'name': 'doclava', 'name': 'doclava',
......
per-file orderfile.newest.txt=* # Chrome OS Toolchain Team
gbiv@chromium.org
tcwang@chromium.org
# For skia autoroller to submmit CLs
chromium-autoroll@skia-public.iam.gserviceaccount.com
chromeos-chrome-amd64-airmont-79-3900.0-1568629889-benchmark-78.0.3902.0-r1-redacted.afdo.xz
chromeos-chrome-amd64-broadwell-79-3865.63-1568626808-benchmark-78.0.3902.0-r1-redacted.afdo.xz
chromeos-chrome-amd64-silvermont-79-3903.0-1568628088-benchmark-78.0.3902.0-r1-redacted.afdo.xz
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment