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

Side by Side Diff: build/toolchain/linux/BUILD.gn

Issue 117673003: GN fixes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/gn/secondary/net/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) 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 cc = "gcc" 5 cc = "gcc"
6 cxx = "g++" 6 cxx = "g++"
7 ar = "ar" 7 ar = "ar"
8 ld = cxx 8 ld = cxx
9 9
10 # The toolchains below all issue the same commands with some different flags. 10 # The toolchains below all issue the same commands with some different flags.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 description = "STAMP \$out" 116 description = "STAMP \$out"
117 } 117 }
118 tool("copy") { 118 tool("copy") {
119 command = copy_command 119 command = copy_command
120 description = "COPY \$in \$out" 120 description = "COPY \$in \$out"
121 } 121 }
122 122
123 # When invoking this toolchain not as the default one, these args will be 123 # When invoking this toolchain not as the default one, these args will be
124 # passed to the build. They are ignored when this is the default toolchain. 124 # passed to the build. They are ignored when this is the default toolchain.
125 toolchain_args() { 125 toolchain_args() {
126 cpu_arch = "x32" 126 cpu_arch = "x86"
127 } 127 }
128 } 128 }
129 129
130 # 64-bit ----------------------------------------------------------------------- 130 # 64-bit -----------------------------------------------------------------------
131 131
132 toolchain("64") { 132 toolchain("64") {
133 # Make these apply to all tools below. 133 # Make these apply to all tools below.
134 lib_prefix = "-l" 134 lib_prefix = "-l"
135 lib_dir_prefix="-L" 135 lib_dir_prefix="-L"
136 136
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 command = copy_command 171 command = copy_command
172 description = "COPY \$in \$out" 172 description = "COPY \$in \$out"
173 } 173 }
174 174
175 # When invoking this toolchain not as the default one, these args will be 175 # When invoking this toolchain not as the default one, these args will be
176 # passed to the build. They are ignored when this is the default toolchain. 176 # passed to the build. They are ignored when this is the default toolchain.
177 toolchain_args() { 177 toolchain_args() {
178 cpu_arch = "x64" 178 cpu_arch = "x64"
179 } 179 }
180 } 180 }
OLDNEW
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | tools/gn/secondary/net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698