Commit 3bb044b8 authored by Gordana.Cmiljanovic's avatar Gordana.Cmiljanovic Committed by Commit bot

Fix gcc_version.gni to determine target GCC version for MIPSEL Linux.

This CL modifies gcc_version.gni to set the gcc_version to the target
GCC toolchain version when building for MIPSEL Linux.

BUG=
TEST=Compile 'chrome' target with 'os="linux" cpu_arch="mipsel"'.
     Manually verify that the correct GCC options are used.

Review URL: https://codereview.chromium.org/797593002

Cr-Commit-Position: refs/heads/master@{#308334}
parent 7b832eab
...@@ -9,8 +9,8 @@ if (is_android) { ...@@ -9,8 +9,8 @@ if (is_android) {
} else { } else {
gcc_version = 49 gcc_version = 49
} }
} else if (current_toolchain == "//build/toolchain/cros:target") { } else if (current_toolchain == "//build/toolchain/cros:target" ||
# TODO(benchan): Generalize the check for platforms other than Chrome OS. current_toolchain == "//build/toolchain/linux:mipsel") {
gcc_version = exec_script("../../compiler_version.py", gcc_version = exec_script("../../compiler_version.py",
[ [
"target", "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