Index: build/toolchain/nacl_toolchain.gni |
diff --git a/build/toolchain/nacl_toolchain.gni b/build/toolchain/nacl_toolchain.gni |
index 159366647a1d217dd9d75a6988c2948ed37a6920..96722cb3d057b754199da63db368680fcd4ec945 100644 |
--- a/build/toolchain/nacl_toolchain.gni |
+++ b/build/toolchain/nacl_toolchain.gni |
@@ -38,8 +38,6 @@ template("nacl_toolchain") { |
"cc", |
"cxx", |
"deps", |
- "is_clang", |
- "is_nacl_glibc", |
"ld", |
"link_outputs", |
"nm", |
@@ -49,6 +47,13 @@ template("nacl_toolchain") { |
"toolchain_cpu", |
]) |
+ if (defined(invoker.is_clang)) { |
+ is_clang = invoker.is_clang |
+ } |
+ if (defined(invoker.is_nacl_glibc)) { |
+ is_nacl_glibc = invoker.is_nacl_glibc |
+ } |
+ |
# We do not support component builds or sanitizers with the NaCl toolchains. |
is_component_build = false |
clear_sanitizers = true |