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

Unified Diff: build/toolchain/nacl_toolchain.gni

Issue 1333673002: Build PPAPI NaCl Glibc tests with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Combine Newlib and Glibc targets 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
Index: build/toolchain/nacl_toolchain.gni
diff --git a/build/toolchain/nacl_toolchain.gni b/build/toolchain/nacl_toolchain.gni
index ab3b693a142e3f5575a46e0fd71a2aa2c3c9cc12..cf1d14b96b559919e704e9dfd0bb05145127d52a 100644
--- a/build/toolchain/nacl_toolchain.gni
+++ b/build/toolchain/nacl_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/toolchain/gcc_toolchain.gni")
# This template defines a NaCl toolchain.
@@ -48,6 +49,8 @@ template("nacl_toolchain") {
# We do not wish to suport shared builds with the NaCl toolchains.
is_component_build = false
+ is_nacl_glibc = invoker.is_nacl_glibc
+
gcc_toolchain(target_name) {
rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision
if (defined(invoker.deps)) {
« no previous file with comments | « build/toolchain/nacl/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | ppapi/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698