Commit a71c5fcc authored by thakis@chromium.org's avatar thakis@chromium.org

Use clang as host compiler on android with gn too.

This ports https://codereview.chromium.org/430383002/ to gn.
Patch from brettw in https://codereview.chromium.org/385823002/ , this just
activates it.

BUG=360311
R=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287416 0039d316-1c4b-4281-b951-d872f2087c98
parent b92a04b7
...@@ -455,12 +455,11 @@ if (is_win) { ...@@ -455,12 +455,11 @@ if (is_win) {
} }
} else if (is_android) { } else if (is_android) {
# Use clang for the x86/64 Linux host builds. # Use clang for the x86/64 Linux host builds.
# (Disabled until the Clang build works properly.) if (build_cpu_arch == "x86" || build_cpu_arch == "x64") {
#if (build_cpu_arch == "x86" || build_cpu_arch == "x64") { host_toolchain = "//build/toolchain/linux:clang_$build_cpu_arch"
# host_toolchain = "//build/toolchain/linux:clang_$build_cpu_arch" } else {
#} else {
host_toolchain = "//build/toolchain/linux:$build_cpu_arch" host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
#} }
set_default_toolchain("//build/toolchain/android:$cpu_arch") set_default_toolchain("//build/toolchain/android:$cpu_arch")
} else if (is_linux) { } else if (is_linux) {
if (is_clang) { if (is_clang) {
......
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