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

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

Issue 1910393002: Revert of Implement arflags in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/gcc_toolchain.gni ('k') | build/toolchain/win/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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 precompiled_header_type = "gcc" 104 precompiled_header_type = "gcc"
105 command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_objcc}} -c {{source}} -o {{output}}" 105 command = "$cxx -MMD -MF $depfile {{defines}} {{include_dirs}} {{cflags}} {{cflags_objcc}} -c {{source}} -o {{output}}"
106 depsformat = "gcc" 106 depsformat = "gcc"
107 description = "OBJCXX {{output}}" 107 description = "OBJCXX {{output}}"
108 outputs = [ 108 outputs = [
109 "$object_subdir/{{source_name_part}}.o", 109 "$object_subdir/{{source_name_part}}.o",
110 ] 110 ]
111 } 111 }
112 112
113 tool("alink") { 113 tool("alink") {
114 command = "rm -f {{output}} && ./gyp-mac-tool filter-libtool libtool -stat ic {{arflags}} -o {{output}} {{inputs}}" 114 command = "rm -f {{output}} && ./gyp-mac-tool filter-libtool libtool -stat ic -o {{output}} {{inputs}}"
115 description = "LIBTOOL-STATIC {{output}}" 115 description = "LIBTOOL-STATIC {{output}}"
116 outputs = [ 116 outputs = [
117 "{{output_dir}}/{{target_output_name}}{{output_extension}}", 117 "{{output_dir}}/{{target_output_name}}{{output_extension}}",
118 ] 118 ]
119 default_output_dir = "{{target_out_dir}}" 119 default_output_dir = "{{target_out_dir}}"
120 default_output_extension = ".a" 120 default_output_extension = ".a"
121 output_prefix = "lib" 121 output_prefix = "lib"
122 } 122 }
123 123
124 tool("solink") { 124 tool("solink") {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 } 356 }
357 357
358 mac_toolchain("x64") { 358 mac_toolchain("x64") {
359 toolchain_cpu = "x64" 359 toolchain_cpu = "x64"
360 toolchain_os = "mac" 360 toolchain_os = "mac"
361 cc = "${goma_prefix}/gcc" 361 cc = "${goma_prefix}/gcc"
362 cxx = "${goma_prefix}/g++" 362 cxx = "${goma_prefix}/g++"
363 ld = cxx 363 ld = cxx
364 is_clang = false 364 is_clang = false
365 } 365 }
OLDNEW
« no previous file with comments | « build/toolchain/gcc_toolchain.gni ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698