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

Unified Diff: build/toolchain/gcc_toolchain.gni

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/config/nacl/config.gni ('k') | build/toolchain/nacl/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/gcc_toolchain.gni
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni
index 266f515ab0d7a92c2c4b8ae4b7f4c06f103510d5..41766ce920985f529a5312ef61122ce389739593 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/nacl/config.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/toolchain/toolchain.gni")
@@ -70,6 +71,8 @@ concurrent_links = exec_script("get_concurrent_links.py", [], "value")
# Whether to forcibly enable or disable component builds for this
# toolchain; if not specified, the toolchain will inherit the
# default setting.
+# - is_nacl_glibc
+# Whether NaCl code is built using Glibc instead of Newlib.
template("gcc_toolchain") {
toolchain(target_name) {
assert(defined(invoker.cc), "gcc_toolchain() must specify a \"cc\" value")
@@ -320,6 +323,7 @@ template("gcc_toolchain") {
[
"is_clang",
"is_component_build",
+ "is_nacl_glibc",
])
if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) {
« no previous file with comments | « build/config/nacl/config.gni ('k') | build/toolchain/nacl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698