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

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

Issue 936103003: Roll GN binaries to #317120 for the cpu_arch changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: fix android_gcc_toolchain() invocations for new toolchains Created 5 years, 10 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/linux/BUILD.gn ('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 10
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 command = "touch {{output}}" 187 command = "touch {{output}}"
188 description = "STAMP {{output}}" 188 description = "STAMP {{output}}"
189 } 189 }
190 190
191 tool("copy") { 191 tool("copy") {
192 command = "ln -f {{source}} {{output}} 2>/dev/null || (rm -rf {{output}} & & cp -af {{source}} {{output}})" 192 command = "ln -f {{source}} {{output}} 2>/dev/null || (rm -rf {{output}} & & cp -af {{source}} {{output}})"
193 description = "COPY {{source}} {{output}}" 193 description = "COPY {{source}} {{output}}"
194 } 194 }
195 195
196 toolchain_args() { 196 toolchain_args() {
197 os = invoker.toolchain_os 197 current_os = invoker.toolchain_os
198
199 # TODO(dpranke): os is here for backwards compatibility.
200 os = current_os
198 } 201 }
199 } 202 }
200 } 203 }
201 204
202 # Toolchain representing the target build (either mac or iOS). 205 # Toolchain representing the target build (either mac or iOS).
203 mac_clang_toolchain("clang") { 206 mac_clang_toolchain("clang") {
204 toolchain_os = os 207 toolchain_os = os
205 } 208 }
206 209
207 # This toolchain provides a way for iOS target compiles to reference targets 210 # This toolchain provides a way for iOS target compiles to reference targets
208 # compiled for the host system. It just overrides the OS back to "mac". 211 # compiled for the host system. It just overrides the OS back to "mac".
209 mac_clang_toolchain("host_clang") { 212 mac_clang_toolchain("host_clang") {
210 toolchain_os = "mac" 213 toolchain_os = "mac"
211 } 214 }
OLDNEW
« no previous file with comments | « build/toolchain/linux/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698