Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index d806a1763a4e2cb35513d9834ace1dcc99c92ab7..c33c4d66a60714f3690c738bb1e68b203185b471 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -513,6 +513,12 @@ if (is_win) { |
} else if (is_ios) { |
host_toolchain = "//build/toolchain/mac:host_clang" |
set_default_toolchain("//build/toolchain/mac:clang") |
+} else if (is_nacl) { |
+ # TODO(dpranke): This will need to change when we get NaCl working |
+ # on multiple platforms, but this whole block of code (how we define |
+ # host_toolchain) needs to be reworked regardless to key off of build_os |
+ # and build_cpu_arch rather than the is_* variables. |
+ host_toolchain = "//build/toolchain/linux:clang_x64" |
} |
# ============================================================================== |