Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: build/toolchain/nacl/BUILD.gn

Issue 1395573003: Build nacl_helper_nonsfi with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set cflags locally rather than globally Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/toolchain/nacl/BUILD.gn
diff --git a/build/toolchain/nacl/BUILD.gn b/build/toolchain/nacl/BUILD.gn
index fffecebed1bcff331eae2fa675f3363e8fff3292..8484e7ddb51ef83166038857a623e540a897c1a6 100644
--- a/build/toolchain/nacl/BUILD.gn
+++ b/build/toolchain/nacl/BUILD.gn
@@ -46,6 +46,23 @@ 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_nacl_nonsfi = true
+
+ is_clang = true
+ cc = toolprefix + "clang"
+ cxx = toolprefix + "clang++"
+ ar = toolprefix + "ar"
+ ld = cxx
+ executable_extension = ""
brettw 2015/10/25 08:45:33 I think this should default to empty, right? I thi
Petr Hosek 2015/10/25 22:50:48 nacl_toolchain sets this to ".nexe" unless it's ov
+}
+
template("nacl_glibc_toolchain") {
toolchain_cpu = target_name
assert(defined(invoker.toolchain_tuple), "Must define toolchain_tuple")

Powered by Google App Engine
This is Rietveld 408576698