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

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

Issue 1415783003: Add more test binaries to GN Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 2 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.gn ('k') | content/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) 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 # TODO(brettw) Use "gcc_toolchain.gni" like the Linux toolchains. This requires 5 # TODO(brettw) Use "gcc_toolchain.gni" like the Linux toolchains. This requires
6 # some enhancements since the commands on Mac are slightly different than on 6 # some enhancements since the commands on Mac are slightly different than on
7 # Linux. 7 # Linux.
8 8
9 import("../goma.gni") 9 import("../goma.gni")
10 import("//build/config/ios/ios_sdk.gni") 10 import("//build/config/ios/ios_sdk.gni")
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 rspfile_content = "{{inputs_newline}}" 181 rspfile_content = "{{inputs_newline}}"
182 182
183 description = "SOLINK_MODULE {{output}}" 183 description = "SOLINK_MODULE {{output}}"
184 184
185 # Use this for {{output_extension}} expansions unless a target manually 185 # Use this for {{output_extension}} expansions unless a target manually
186 # overrides it (in which case {{output_extension}} will be what the target 186 # overrides it (in which case {{output_extension}} will be what the target
187 # specifies). 187 # specifies).
188 default_output_extension = ".so" 188 default_output_extension = ".so"
189 189
190 output_prefix = "lib"
191
192 outputs = [ 190 outputs = [
193 sofile, 191 sofile,
194 ] 192 ]
195 } 193 }
196 194
197 tool("link") { 195 tool("link") {
198 outfile = "{{root_out_dir}}/{{target_output_name}}{{output_extension}}" 196 outfile = "{{root_out_dir}}/{{target_output_name}}{{output_extension}}"
199 rspfile = "$outfile.rsp" 197 rspfile = "$outfile.rsp"
200 command = "$ld {{ldflags}} -o $outfile -Wl,-filelist,$rspfile {{solibs}} { {libs}}" 198 command = "$ld {{ldflags}} -o $outfile -Wl,-filelist,$rspfile {{solibs}} { {libs}}"
201 description = "LINK $outfile" 199 description = "LINK $outfile"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 } 275 }
278 276
279 mac_toolchain("x64") { 277 mac_toolchain("x64") {
280 toolchain_cpu = "x64" 278 toolchain_cpu = "x64"
281 toolchain_os = "mac" 279 toolchain_os = "mac"
282 cc = "${goma_prefix}/gcc" 280 cc = "${goma_prefix}/gcc"
283 cxx = "${goma_prefix}/g++" 281 cxx = "${goma_prefix}/g++"
284 ld = cxx 282 ld = cxx
285 is_clang = false 283 is_clang = false
286 } 284 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698