Index: build/toolchain/nacl/BUILD.gn |
diff --git a/build/toolchain/nacl/BUILD.gn b/build/toolchain/nacl/BUILD.gn |
index 6d4303aa56f8edbfdcd4e1256b3c92c4eae6dbe1..d5e8316f397bad1c144b6365571c4b02f42c229b 100644 |
--- a/build/toolchain/nacl/BUILD.gn |
+++ b/build/toolchain/nacl/BUILD.gn |
@@ -47,6 +47,22 @@ nacl_toolchain("newlib_pnacl") { |
link_outputs = [ finalized_file ] |
} |
+nacl_toolchain("newlib_pnacl_nonsfi") { |
+ toolchain_package = "pnacl_newlib" |
+ toolchain_revision = pnacl_newlib_rev |
+ toolchain_cpu = "pnacl" |
+ toolprefix = |
+ rebase_path("${nacl_toolchain_dir}/${toolchain_package}/bin/pnacl-", |
+ root_build_dir) |
+ |
+ is_clang = true |
+ cc = toolprefix + "clang" |
+ cxx = toolprefix + "clang++" |
+ ar = toolprefix + "ar" |
+ ld = cxx |
+ executable_extension = "" |
+} |
+ |
template("nacl_glibc_toolchain") { |
toolchain_cpu = target_name |
assert(defined(invoker.toolchain_tuple), "Must define toolchain_tuple") |