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

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

Issue 1842563006: DO NOT SUBMIT. Experimental Mac GN Framework support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Binary bundle data 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/config/mac/rules.gni ('k') | content/shell/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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 command = stamp_command 228 command = stamp_command
229 description = stamp_description 229 description = stamp_description
230 } 230 }
231 tool("copy") { 231 tool("copy") {
232 command = copy_command 232 command = copy_command
233 description = copy_description 233 description = copy_description
234 } 234 }
235 235
236 tool("copy_bundle_data") { 236 tool("copy_bundle_data") {
237 command = "rm -rf {{output}} && " + 237 command = "rm -rf {{output}} && " +
238 "./gyp-mac-tool copy-bundle-resource {{source}} {{output}} True" 238 "./gyp-mac-tool copy-bundle-resource {{source}} {{output}} {{bin ary_compress}}"
239 description = "COPY_BUNDLE_DATA {{source}} {{output}}" 239 description = "COPY_BUNDLE_DATA {{source}} {{output}} {{binary_compress}}"
240 } 240 }
241 tool("compile_xcassets") { 241 tool("compile_xcassets") {
242 if (is_ios) { 242 if (is_ios) {
243 _configuration = "Release" 243 _configuration = "Release"
244 if (is_debug) { 244 if (is_debug) {
245 _configuration = "Debug" 245 _configuration = "Debug"
246 } 246 }
247 247
248 _compile_xcassets_env = 248 _compile_xcassets_env =
249 "IPHONEOS_DEPLOYMENT_TARGET=$ios_deployment_target " + 249 "IPHONEOS_DEPLOYMENT_TARGET=$ios_deployment_target " +
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 } 351 }
352 352
353 mac_toolchain("x64") { 353 mac_toolchain("x64") {
354 toolchain_cpu = "x64" 354 toolchain_cpu = "x64"
355 toolchain_os = "mac" 355 toolchain_os = "mac"
356 cc = "${goma_prefix}/gcc" 356 cc = "${goma_prefix}/gcc"
357 cxx = "${goma_prefix}/g++" 357 cxx = "${goma_prefix}/g++"
358 ld = cxx 358 ld = cxx
359 is_clang = false 359 is_clang = false
360 } 360 }
OLDNEW
« no previous file with comments | « build/config/mac/rules.gni ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698