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

Side by Side 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: 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 unified diff | Download patch
« no previous file with comments | « build/toolchain/nacl/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 The Native Client 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/gcc_toolchain.gni") 6 import("//build/toolchain/gcc_toolchain.gni")
6 7
7 # This template defines a NaCl toolchain. 8 # This template defines a NaCl toolchain.
8 # 9 #
9 # It requires the following variables specifying the executables to run: 10 # It requires the following variables specifying the executables to run:
10 # - cc 11 # - cc
11 # - cxx 12 # - cxx
12 # - ar 13 # - ar
13 # - ld 14 # - ld
14 # and the following which is used in the toolchain_args 15 # and the following which is used in the toolchain_args
(...skipping 16 matching lines...) Expand all
31 executable_extension = ".nexe" 32 executable_extension = ".nexe"
32 } 33 }
33 34
34 forward_variables_from(invoker, 35 forward_variables_from(invoker,
35 [ 36 [
36 "ar", 37 "ar",
37 "cc", 38 "cc",
38 "cxx", 39 "cxx",
39 "deps", 40 "deps",
40 "is_clang", 41 "is_clang",
42 "is_nacl_glibc",
41 "ld", 43 "ld",
42 "link_outputs", 44 "link_outputs",
43 "postlink", 45 "postlink",
44 "toolchain_cpu", 46 "toolchain_cpu",
45 ]) 47 ])
46 48
47 # We do not suport component builds or sanitizers with the NaCl toolchains. 49 # We do not suport component builds or sanitizers with the NaCl toolchains.
48 is_component_build = false 50 is_component_build = false
49 clear_sanitizers = true 51 clear_sanitizers = true
50 52
51 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision 53 rebuild_define = "NACL_TC_REV=" + invoker.toolchain_revision
52 } 54 }
53 } 55 }
OLDNEW
« no previous file with comments | « build/toolchain/nacl/BUILD.gn ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698