| 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 # PLATFORM SELECTION | 6 # PLATFORM SELECTION |
| 7 # ============================================================================= | 7 # ============================================================================= |
| 8 # | 8 # |
| 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name | 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name |
| 10 # of the GN thing that encodes combinations of these things. | 10 # of the GN thing that encodes combinations of these things. |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 "//build/config/compiler:compiler", | 451 "//build/config/compiler:compiler", |
| 452 "//build/config/compiler:clang_stackrealign", | 452 "//build/config/compiler:clang_stackrealign", |
| 453 "//build/config/compiler:compiler_arm_fpu", | 453 "//build/config/compiler:compiler_arm_fpu", |
| 454 "//build/config/compiler:chromium_code", | 454 "//build/config/compiler:chromium_code", |
| 455 "//build/config/compiler:default_include_dirs", | 455 "//build/config/compiler:default_include_dirs", |
| 456 "//build/config/compiler:default_optimization", | 456 "//build/config/compiler:default_optimization", |
| 457 "//build/config/compiler:default_symbols", | 457 "//build/config/compiler:default_symbols", |
| 458 "//build/config/compiler:no_rtti", | 458 "//build/config/compiler:no_rtti", |
| 459 "//build/config/compiler:runtime_library", | 459 "//build/config/compiler:runtime_library", |
| 460 "//build/config/sanitizers:default_sanitizer_flags", | 460 "//build/config/sanitizers:default_sanitizer_flags", |
| 461 "//build/config/sanitizers:ubsan_vptr_flags", |
| 461 "//build/config/sanitizers:default_sanitizer_coverage_flags", | 462 "//build/config/sanitizers:default_sanitizer_coverage_flags", |
| 462 ] | 463 ] |
| 463 if (is_win) { | 464 if (is_win) { |
| 464 _native_compiler_configs += [ | 465 _native_compiler_configs += [ |
| 465 "//build/config/win:lean_and_mean", | 466 "//build/config/win:lean_and_mean", |
| 466 "//build/config/win:nominmax", | 467 "//build/config/win:nominmax", |
| 467 "//build/config/win:unicode", | 468 "//build/config/win:unicode", |
| 468 "//build/config/win:winver", | 469 "//build/config/win:winver", |
| 469 "//build/config/win:vs_code_analysis", | 470 "//build/config/win:vs_code_analysis", |
| 470 ] | 471 ] |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 forward_variables_from(invoker, "*", [ "visibility" ]) | 622 forward_variables_from(invoker, "*", [ "visibility" ]) |
| 622 | 623 |
| 623 # All shared libraries must have the sanitizer deps to properly link in | 624 # All shared libraries must have the sanitizer deps to properly link in |
| 624 # asan mode (this target will be empty in other cases). | 625 # asan mode (this target will be empty in other cases). |
| 625 if (!defined(deps)) { | 626 if (!defined(deps)) { |
| 626 deps = [] | 627 deps = [] |
| 627 } | 628 } |
| 628 deps += [ "//build/config/sanitizers:deps" ] | 629 deps += [ "//build/config/sanitizers:deps" ] |
| 629 } | 630 } |
| 630 } | 631 } |
| OLD | NEW |