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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/nacl/config.gni")
5 import("//build/toolchain/toolchain.gni") 6 import("//build/toolchain/toolchain.gni")
6 7
7 # This value will be inherited in the toolchain below. 8 # This value will be inherited in the toolchain below.
8 concurrent_links = exec_script("get_concurrent_links.py", [], "value") 9 concurrent_links = exec_script("get_concurrent_links.py", [], "value")
9 10
10 # This template defines a toolchain for something that works like gcc 11 # This template defines a toolchain for something that works like gcc
11 # (including clang). 12 # (including clang).
12 # 13 #
13 # It requires the following variables specifying the executables to run: 14 # It requires the following variables specifying the executables to run:
14 # - cc 15 # - cc
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 # These values need to be passed through unchanged. 301 # These values need to be passed through unchanged.
301 target_os = target_os 302 target_os = target_os
302 target_cpu = target_cpu 303 target_cpu = target_cpu
303 304
304 if (defined(invoker.is_clang)) { 305 if (defined(invoker.is_clang)) {
305 is_clang = invoker.is_clang 306 is_clang = invoker.is_clang
306 } 307 }
307 if (defined(invoker.is_component_build)) { 308 if (defined(invoker.is_component_build)) {
308 is_component_build = invoker.is_component_build 309 is_component_build = invoker.is_component_build
309 } 310 }
311 if (defined(invoker.is_nacl_glibc)) {
312 is_nacl_glibc = invoker.is_nacl_glibc
313 }
310 } 314 }
311 315
312 if (defined(invoker.deps)) { 316 if (defined(invoker.deps)) {
313 deps = invoker.deps 317 deps = invoker.deps
314 } 318 }
315 } 319 }
316 } 320 }
OLDNEW
« no previous file with comments | « build/config/nacl/config.gni ('k') | build/toolchain/nacl/BUILD.gn » ('j') | ppapi/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698