Chromium Code Reviews| Index: build/config/sysroot.gni |
| diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni |
| index 1c86210fda14ff6d50066ab65ef7d9782d7182da..815cdc4d98cdb1b50ecf901179e28f0b1ef2aa15 100644 |
| --- a/build/config/sysroot.gni |
| +++ b/build/config/sysroot.gni |
| @@ -19,7 +19,7 @@ if (is_android) { |
| } else { |
| sysroot = "" |
| } |
| -} else if (is_linux && is_chrome_branded && is_official_build && !is_chromeos) { |
|
Peter Mayo
2015/08/13 02:40:43
is_desktop_linux looks better here.
|
| +} else if (is_linux && !is_chromeos && is_chrome_branded && is_official_build) { |
| # For official builds, use the sysroot checked into the internal source repo |
| # so that the builds work on older versions of Linux. |
| if (current_cpu == "x64") { |
| @@ -31,7 +31,7 @@ if (is_android) { |
| # Any other builds don't use a sysroot. |
| sysroot = "" |
| } |
| -} else if (is_linux && !is_chromeos) { |
| +} else if (is_desktop_linux) { |
| if (current_cpu == "mipsel") { |
| sysroot = rebase_path("//mipsel-sysroot/sysroot") |
| } else { |