Commit 2c667c7c authored by Sebastien Marchand's avatar Sebastien Marchand Committed by Commit Bot

Make the LaCrOS official builds use the CrOS AFDO profiles

Bug: 1131199
Change-Id: I0f640950322650555c1c3b9724020531616bb776
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2431585Reviewed-by: default avatarTiancong Wang <tcwang@google.com>
Reviewed-by: default avatarErik Chen <erikchen@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810792}
parent 3670bb36
......@@ -2167,9 +2167,9 @@ if (is_clang && is_a_target_toolchain) {
} else if (clang_use_default_sample_profile) {
assert(build_with_chromium,
"Our default profiles currently only apply to Chromium")
assert(is_android || is_desktop_linux || is_chromeos,
assert(is_android || chromeos_is_browser_only || is_chromeos,
"The current platform has no default profile")
if (is_android || is_desktop_linux) {
if (is_android) {
_clang_sample_profile = "//chrome/android/profiles/afdo.prof"
} else {
assert(
......
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