Index: build/toolchain/nacl/BUILD.gn |
diff --git a/build/toolchain/nacl/BUILD.gn b/build/toolchain/nacl/BUILD.gn |
index 5329f188a418e44498d3710474d62072c0768949..8d894a4fc4f6a728f2673fa9a68b9f3b0891de2e 100644 |
--- a/build/toolchain/nacl/BUILD.gn |
+++ b/build/toolchain/nacl/BUILD.gn |
@@ -157,3 +157,29 @@ nacl_clang_toolchains("x64") { |
nacl_clang_toolchains("arm") { |
toolchain_tuple = "arm-nacl" |
} |
+ |
+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_nacl_nonsfi = true |
+ |
+ is_clang = true |
+ cc = toolprefix + "clang" |
+ cxx = toolprefix + "clang++" |
+ ar = toolprefix + "ar" |
+ ld = cxx |
+ executable_extension = "" |
+ |
+ #executable_extension = ".pexe" |
Dirk Pranke
2015/10/21 20:03:52
why is the rest of this commented out?
|
+ |
+ #translate = toolprefix + "translate" |
+ #portable_file = |
+ # "{{root_out_dir}}/{{target_output_name}}${executable_extension}" |
+ #translated_file = "{{root_out_dir}}/{{target_output_name}}.nexe" |
+ #postlink = "$translate -arch x86-32-nonsfi $portable_file -o $translated_file" |
+ #link_outputs = [ translated_file ] |
+} |