| 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 # ============================================================================= | 5 # ============================================================================= |
| 6 # BUILD FLAGS | 6 # BUILD FLAGS |
| 7 # ============================================================================= | 7 # ============================================================================= |
| 8 # | 8 # |
| 9 # This block lists input arguments to the build, along with their default | 9 # This block lists input arguments to the build, along with their default |
| 10 # values. GN requires listing them explicitly so it can validate input and have | 10 # values. GN requires listing them explicitly so it can validate input and have |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 | 316 |
| 317 "//build/config/compiler:compiler", | 317 "//build/config/compiler:compiler", |
| 318 "//build/config/compiler:chromium_code", | 318 "//build/config/compiler:chromium_code", |
| 319 "//build/config/compiler:default_warnings", | 319 "//build/config/compiler:default_warnings", |
| 320 "//build/config/compiler:no_rtti", | 320 "//build/config/compiler:no_rtti", |
| 321 "//build/config/compiler:runtime_library", | 321 "//build/config/compiler:runtime_library", |
| 322 ] | 322 ] |
| 323 if (is_win) { | 323 if (is_win) { |
| 324 _native_compiler_configs += [ | 324 _native_compiler_configs += [ |
| 325 "//build/config/win:lean_and_mean", | 325 "//build/config/win:lean_and_mean", |
| 326 "//build/config/win:nominmax", |
| 326 "//build/config/win:sdk", | 327 "//build/config/win:sdk", |
| 327 "//build/config/win:unicode", | 328 "//build/config/win:unicode", |
| 328 ] | 329 ] |
| 329 } else if (is_linux) { | 330 } else if (is_linux) { |
| 330 _native_compiler_configs += [ "//build/config/linux:sdk", ] | 331 _native_compiler_configs += [ "//build/config/linux:sdk", ] |
| 331 } else if (is_mac) { | 332 } else if (is_mac) { |
| 332 _native_compiler_configs += [ "//build/config/mac:sdk", ] | 333 _native_compiler_configs += [ "//build/config/mac:sdk", ] |
| 333 } else if (is_ios) { | 334 } else if (is_ios) { |
| 334 _native_compiler_configs += [ "//build/config/ios:sdk", ] | 335 _native_compiler_configs += [ "//build/config/ios:sdk", ] |
| 335 } else if (is_android) { | 336 } else if (is_android) { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 } else if (is_linux) { | 456 } else if (is_linux) { |
| 456 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" | 457 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" |
| 457 set_default_toolchain("//build/toolchain/linux:$cpu_arch") | 458 set_default_toolchain("//build/toolchain/linux:$cpu_arch") |
| 458 } else if (is_mac) { | 459 } else if (is_mac) { |
| 459 host_toolchain = "//build/toolchain/mac:clang" | 460 host_toolchain = "//build/toolchain/mac:clang" |
| 460 set_default_toolchain(host_toolchain) | 461 set_default_toolchain(host_toolchain) |
| 461 } else if (is_ios) { | 462 } else if (is_ios) { |
| 462 host_toolchain = "//build/toolchain/mac:host_clang" | 463 host_toolchain = "//build/toolchain/mac:host_clang" |
| 463 set_default_toolchain("//build/toolchain/mac:clang") | 464 set_default_toolchain("//build/toolchain/mac:clang") |
| 464 } | 465 } |
| OLD | NEW |