| OLD | NEW |
| 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/clang/clang.gni") | 10 import("//build/config/clang/clang.gni") |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 } | 424 } |
| 425 } | 425 } |
| 426 | 426 |
| 427 mac_toolchain("clang_x64") { | 427 mac_toolchain("clang_x64") { |
| 428 toolchain_args = { | 428 toolchain_args = { |
| 429 current_cpu = "x64" | 429 current_cpu = "x64" |
| 430 current_os = "mac" | 430 current_os = "mac" |
| 431 } | 431 } |
| 432 } | 432 } |
| 433 | 433 |
| 434 mac_toolchain("clang_x86") { |
| 435 toolchain_args = { |
| 436 current_cpu = "x86" |
| 437 current_os = "mac" |
| 438 } |
| 439 } |
| 440 |
| 441 mac_toolchain("clang_x86_v8_arm") { |
| 442 toolchain_args = { |
| 443 current_cpu = "x86" |
| 444 v8_current_cpu = "arm" |
| 445 current_os = "mac" |
| 446 } |
| 447 } |
| 448 |
| 449 mac_toolchain("clang_x86_v8_mipsel") { |
| 450 toolchain_args = { |
| 451 current_cpu = "x86" |
| 452 v8_current_cpu = "mipsel" |
| 453 current_os = "mac" |
| 454 } |
| 455 } |
| 456 |
| 457 mac_toolchain("clang_x64_v8_arm64") { |
| 458 toolchain_args = { |
| 459 current_cpu = "x64" |
| 460 v8_current_cpu = "arm64" |
| 461 current_os = "mac" |
| 462 } |
| 463 } |
| 464 |
| 465 mac_toolchain("clang_x64_v8_mips64el") { |
| 466 toolchain_args = { |
| 467 current_cpu = "x64" |
| 468 v8_current_cpu = "mips64el" |
| 469 current_os = "mac" |
| 470 } |
| 471 } |
| 472 |
| 434 if (is_ios) { | 473 if (is_ios) { |
| 435 mac_toolchain("ios_clang_arm") { | 474 mac_toolchain("ios_clang_arm") { |
| 436 toolchain_args = { | 475 toolchain_args = { |
| 437 current_cpu = "arm" | 476 current_cpu = "arm" |
| 438 current_os = "ios" | 477 current_os = "ios" |
| 439 } | 478 } |
| 440 } | 479 } |
| 441 | 480 |
| 442 mac_toolchain("ios_clang_arm64") { | 481 mac_toolchain("ios_clang_arm64") { |
| 443 toolchain_args = { | 482 toolchain_args = { |
| 444 current_cpu = "arm64" | 483 current_cpu = "arm64" |
| 445 current_os = "ios" | 484 current_os = "ios" |
| 446 } | 485 } |
| 447 } | 486 } |
| 448 | 487 |
| 449 mac_toolchain("ios_clang_x86") { | 488 mac_toolchain("ios_clang_x86") { |
| 450 toolchain_args = { | 489 toolchain_args = { |
| 451 current_cpu = "x86" | 490 current_cpu = "x86" |
| 452 current_os = "ios" | 491 current_os = "ios" |
| 453 } | 492 } |
| 454 } | 493 } |
| 455 | 494 |
| 456 mac_toolchain("ios_clang_x64") { | 495 mac_toolchain("ios_clang_x64") { |
| 457 toolchain_args = { | 496 toolchain_args = { |
| 458 current_cpu = "x64" | 497 current_cpu = "x64" |
| 459 current_os = "ios" | 498 current_os = "ios" |
| 460 } | 499 } |
| 461 } | 500 } |
| 462 } | 501 } |
| OLD | NEW |