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

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

Issue 1432603003: GN: Avoid nontrivial shell commands in gcc_toolchain tool("link") (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 bf31e846a97452b0558d00fc7fcd5f317460f1c4..060ece3d675b0805a15eb1bb6444552897782934 100644
--- a/build/toolchain/nacl/BUILD.gn
+++ b/build/toolchain/nacl/BUILD.gn
@@ -37,14 +37,8 @@ nacl_toolchain("newlib_pnacl") {
cxx = toolprefix + "clang++"
ar = toolprefix + "ar"
ld = cxx
- executable_extension = ".pexe.debug"
-
- finalize = toolprefix + "finalize"
- nonfinal_file =
- "{{root_out_dir}}/{{target_output_name}}${executable_extension}"
- finalized_file = "{{root_out_dir}}/{{target_output_name}}.pexe"
- postlink = "$finalize $nonfinal_file -o $finalized_file"
- link_outputs = [ finalized_file ]
+ strip = toolprefix + "finalize"
Dirk Pranke 2015/11/03 23:49:13 maybe add a comment here about why we're using the
Roland McGrath 2015/11/04 00:06:44 Done.
+ executable_extension = ".pexe"
}
nacl_toolchain("newlib_pnacl_nonsfi") {

Powered by Google App Engine
This is Rietveld 408576698