Commit 1f1fa16c authored by Sean Topping's avatar Sean Topping Committed by Commit Bot

Disallow PGO optimization for Chromecast

Bug: local 169779668
Test: tryjobs
Change-Id: I7978e19241c1041c9a91533e6098684f7a4c9f99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486075Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
Reviewed-by: default avatarSean Topping <seantopping@chromium.org>
Commit-Queue: Sandeep Vijayasekar <sandv@google.com>
Cr-Commit-Position: refs/heads/master@{#818696}
parent 041f1b05
......@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromecast_build.gni")
import("//build/config/chromeos/ui_mode.gni")
declare_args() {
......@@ -12,7 +13,7 @@ declare_args() {
# 2 : Used during the PGO (optimization) phase.
chrome_pgo_phase = 0
if (is_official_build &&
(is_win || is_mac || (is_linux && !chromeos_is_browser_only))) {
(is_win || is_mac || (is_linux && !chromeos_is_browser_only && !is_chromecast))) {
chrome_pgo_phase = 2
}
......
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