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

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

Issue 1333673002: Build PPAPI NaCl Glibc tests with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | build/toolchain/nacl_toolchain.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/nacl/BUILD.gn
diff --git a/build/toolchain/nacl/BUILD.gn b/build/toolchain/nacl/BUILD.gn
index 5e7e39124e232fac9f7507347f9c8a67552982c9..c2e3be019e587d7bec95c8f0af5b4f148fd113f4 100644
--- a/build/toolchain/nacl/BUILD.gn
+++ b/build/toolchain/nacl/BUILD.gn
@@ -29,6 +29,7 @@ nacl_toolchain("newlib_pnacl") {
toolchain_revision = pnacl_newlib_rev
toolchain_cpu = "pnacl"
toolprefix = "${os_toolchain_dir}/${toolchain_package}/bin/pnacl-"
+ is_nacl_glibc = false
cc = toolprefix + "clang"
cxx = toolprefix + "clang++"
@@ -50,6 +51,7 @@ nacl_toolchain("glibc_x86") {
toolchain_cpu = "x86"
toolprefix = "${os_toolchain_dir}/${toolchain_package}/bin/i686-nacl-"
is_clang = false
+ is_nacl_glibc = true
cc = toolprefix + "gcc"
cxx = toolprefix + "g++"
@@ -63,6 +65,7 @@ nacl_toolchain("glibc_x64") {
toolchain_cpu = "x64"
toolprefix = "${os_toolchain_dir}/${toolchain_package}/bin/x86_64-nacl-"
is_clang = false
+ is_nacl_glibc = true
cc = toolprefix + "gcc"
cxx = toolprefix + "g++"
@@ -108,6 +111,7 @@ template("nacl_irt_toolchain") {
nacl_toolchain("irt_" + toolchain_cpu) {
is_clang = true
+ is_nacl_glibc = false
Roland McGrath 2015/09/23 18:33:36 This is superfluous, right? The default is false.
Petr Hosek 2015/09/23 18:37:28 Removed.
cc = toolprefix + "clang"
cxx = toolprefix + "clang++"
ar = toolprefix + "ar"
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | build/toolchain/nacl_toolchain.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698