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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 _native_compiler_configs = [ | 349 _native_compiler_configs = [ |
350 "//build/config:feature_flags", | 350 "//build/config:feature_flags", |
351 "//build/config/compiler:compiler", | 351 "//build/config/compiler:compiler", |
352 "//build/config/compiler:compiler_arm_fpu", | 352 "//build/config/compiler:compiler_arm_fpu", |
353 "//build/config/compiler:chromium_code", | 353 "//build/config/compiler:chromium_code", |
354 "//build/config/compiler:default_include_dirs", | 354 "//build/config/compiler:default_include_dirs", |
355 "//build/config/compiler:default_optimization", | 355 "//build/config/compiler:default_optimization", |
356 "//build/config/compiler:default_symbols", | 356 "//build/config/compiler:default_symbols", |
357 "//build/config/compiler:no_rtti", | 357 "//build/config/compiler:no_rtti", |
358 "//build/config/compiler:runtime_library", | 358 "//build/config/compiler:runtime_library", |
| 359 "//build/config/sanitizers:default_sanitizer_flags", |
359 ] | 360 ] |
360 if (is_win) { | 361 if (is_win) { |
361 _native_compiler_configs += [ | 362 _native_compiler_configs += [ |
362 "//build/config/win:lean_and_mean", | 363 "//build/config/win:lean_and_mean", |
363 "//build/config/win:nominmax", | 364 "//build/config/win:nominmax", |
364 "//build/config/win:sdk", | 365 "//build/config/win:sdk", |
365 "//build/config/win:unicode", | 366 "//build/config/win:unicode", |
366 "//build/config/win:winver", | 367 "//build/config/win:winver", |
367 ] | 368 ] |
368 } | 369 } |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 forward_variables_from(invoker, "*") | 562 forward_variables_from(invoker, "*") |
562 | 563 |
563 # All shared libraries must have the sanitizer deps to properly link in | 564 # All shared libraries must have the sanitizer deps to properly link in |
564 # asan mode (this target will be empty in other cases). | 565 # asan mode (this target will be empty in other cases). |
565 if (!defined(deps)) { | 566 if (!defined(deps)) { |
566 deps = [] | 567 deps = [] |
567 } | 568 } |
568 deps += [ "//build/config/sanitizers:deps" ] | 569 deps += [ "//build/config/sanitizers:deps" ] |
569 } | 570 } |
570 } | 571 } |
OLD | NEW |