| 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 # WHAT IS THIS FILE? | 6 # WHAT IS THIS FILE? |
| 7 # ============================================================================= | 7 # ============================================================================= |
| 8 # | 8 # |
| 9 # This is the master GN build configuration. This file is loaded after the | 9 # This is the master GN build configuration. This file is loaded after the |
| 10 # build args (args.gn) for the build directory and after the toplevel ".gn" | 10 # build args (args.gn) for the build directory and after the toplevel ".gn" |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 "//build/config/compiler:default_include_dirs", | 474 "//build/config/compiler:default_include_dirs", |
| 475 "//build/config/compiler:default_optimization", | 475 "//build/config/compiler:default_optimization", |
| 476 "//build/config/compiler:default_stack_frames", | 476 "//build/config/compiler:default_stack_frames", |
| 477 "//build/config/compiler:default_symbols", | 477 "//build/config/compiler:default_symbols", |
| 478 "//build/config/compiler:no_rtti", | 478 "//build/config/compiler:no_rtti", |
| 479 "//build/config/compiler:runtime_library", | 479 "//build/config/compiler:runtime_library", |
| 480 "//build/config/sanitizers:default_sanitizer_flags", | 480 "//build/config/sanitizers:default_sanitizer_flags", |
| 481 ] | 481 ] |
| 482 if (is_win) { | 482 if (is_win) { |
| 483 default_compiler_configs += [ | 483 default_compiler_configs += [ |
| 484 "//build/config/win:default_crt", |
| 484 "//build/config/win:lean_and_mean", | 485 "//build/config/win:lean_and_mean", |
| 485 "//build/config/win:nominmax", | 486 "//build/config/win:nominmax", |
| 486 "//build/config/win:unicode", | 487 "//build/config/win:unicode", |
| 487 "//build/config/win:winver", | 488 "//build/config/win:winver", |
| 488 "//build/config/win:vs_code_analysis", | 489 "//build/config/win:vs_code_analysis", |
| 489 ] | 490 ] |
| 490 } | 491 } |
| 491 if (current_os == "winrt_81" || current_os == "winrt_81_phone" || | 492 if (current_os == "winrt_81" || current_os == "winrt_81_phone" || |
| 492 current_os == "winrt_10") { | 493 current_os == "winrt_10") { |
| 493 default_compiler_configs += [ "//build/config/win:target_winrt" ] | 494 default_compiler_configs += [ "//build/config/win:target_winrt" ] |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 set_defaults("component") { | 641 set_defaults("component") { |
| 641 if (is_component_build) { | 642 if (is_component_build) { |
| 642 configs = default_shared_library_configs | 643 configs = default_shared_library_configs |
| 643 if (is_android) { | 644 if (is_android) { |
| 644 configs -= [ "//build/config/android:hide_native_jni_exports" ] | 645 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
| 645 } | 646 } |
| 646 } else { | 647 } else { |
| 647 configs = default_compiler_configs | 648 configs = default_compiler_configs |
| 648 } | 649 } |
| 649 } | 650 } |
| OLD | NEW |