| 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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 # corresponding target. Target definitions can add or remove to the settings | 464 # corresponding target. Target definitions can add or remove to the settings |
| 465 # here as needed. | 465 # here as needed. |
| 466 | 466 |
| 467 # Holds all configs used for running the compiler. | 467 # Holds all configs used for running the compiler. |
| 468 default_compiler_configs = [ | 468 default_compiler_configs = [ |
| 469 "//build/config:feature_flags", | 469 "//build/config:feature_flags", |
| 470 "//build/config/compiler:afdo", | 470 "//build/config/compiler:afdo", |
| 471 "//build/config/compiler:compiler", | 471 "//build/config/compiler:compiler", |
| 472 "//build/config/compiler:clang_stackrealign", | 472 "//build/config/compiler:clang_stackrealign", |
| 473 "//build/config/compiler:compiler_arm_fpu", | 473 "//build/config/compiler:compiler_arm_fpu", |
| 474 "//build/config/compiler:compiler_arm_thumb", | |
| 475 "//build/config/compiler:chromium_code", | 474 "//build/config/compiler:chromium_code", |
| 476 "//build/config/compiler:default_include_dirs", | 475 "//build/config/compiler:default_include_dirs", |
| 477 "//build/config/compiler:default_optimization", | 476 "//build/config/compiler:default_optimization", |
| 478 "//build/config/compiler:default_stack_frames", | 477 "//build/config/compiler:default_stack_frames", |
| 479 "//build/config/compiler:default_symbols", | 478 "//build/config/compiler:default_symbols", |
| 480 "//build/config/compiler:no_rtti", | 479 "//build/config/compiler:no_rtti", |
| 481 "//build/config/compiler:runtime_library", | 480 "//build/config/compiler:runtime_library", |
| 482 "//build/config/sanitizers:default_sanitizer_flags", | 481 "//build/config/sanitizers:default_sanitizer_flags", |
| 483 ] | 482 ] |
| 484 if (is_win) { | 483 if (is_win) { |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 set_defaults("component") { | 642 set_defaults("component") { |
| 644 if (is_component_build) { | 643 if (is_component_build) { |
| 645 configs = default_shared_library_configs | 644 configs = default_shared_library_configs |
| 646 if (is_android) { | 645 if (is_android) { |
| 647 configs -= [ "//build/config/android:hide_native_jni_exports" ] | 646 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
| 648 } | 647 } |
| 649 } else { | 648 } else { |
| 650 configs = default_compiler_configs | 649 configs = default_compiler_configs |
| 651 } | 650 } |
| 652 } | 651 } |
| OLD | NEW |