Commit 5e903fe1 authored by Sebastien Marchand's avatar Sebastien Marchand Committed by Commit Bot

Make the Linux PGO build use the archived profiles

Bug: 1111437
Change-Id: I20ed7be5fa1b15214b7db7f37527e54cbe101be3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2353492Reviewed-by: default avatarYuke Liao <liaoyuke@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Auto-Submit: Sébastien Marchand <sebmarchand@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799643}
parent 59f7ff89
...@@ -5005,6 +5005,17 @@ hooks = [ ...@@ -5005,6 +5005,17 @@ hooks = [
'--gs-url-base=chromium-optimization-profiles/pgo_profiles', '--gs-url-base=chromium-optimization-profiles/pgo_profiles',
], ],
}, },
{
'name': 'Fetch PGO profiles for linux',
'pattern': '.',
'condition': 'checkout_pgo_profiles and checkout_linux',
'action': [ 'vpython',
'src/tools/update_pgo_profiles.py',
'--target=linux',
'update',
'--gs-url-base=chromium-optimization-profiles/pgo_profiles',
],
},
{ {
'name': 'Download prebuilt ash-chrome', 'name': 'Download prebuilt ash-chrome',
......
...@@ -49,6 +49,9 @@ config("pgo_optimization_flags") { ...@@ -49,6 +49,9 @@ config("pgo_optimization_flags") {
} else if (is_mac) { } else if (is_mac) {
_pgo_target = "mac" _pgo_target = "mac"
inputs = [ "//chrome/build/mac.pgo.txt" ] inputs = [ "//chrome/build/mac.pgo.txt" ]
} else if (is_linux) {
_pgo_target = "linux"
inputs = [ "//chrome/build/linux.pgo.txt" ]
} }
if (pgo_data_path == "" && _pgo_target != "") { if (pgo_data_path == "" && _pgo_target != "") {
......
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