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/+/2431585 Reviewed-by: Tiancong Wang <tcwang@google.com> Reviewed-by: Erik Chen <erikchen@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org> Cr-Commit-Position: refs/heads/master@{#810792}
This commit is contained in:

committed by
Commit Bot

parent
3670bb360c
commit
2c667c7c7f
@ -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(
|
||||
|
Reference in New Issue
Block a user