| 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 # Set up the default configuration for every build target of the given type. | 464 # Set up the default configuration for every build target of the given type. |
| 465 # The values configured here will be automatically set on the scope of the | 465 # The values configured here will be automatically set on the scope of the |
| 466 # corresponding target. Target definitions can add or remove to the settings | 466 # corresponding target. Target definitions can add or remove to the settings |
| 467 # here as needed. | 467 # here as needed. |
| 468 | 468 |
| 469 # Holds all configs used for running the compiler. | 469 # Holds all configs used for running the compiler. |
| 470 default_compiler_configs = [ | 470 default_compiler_configs = [ |
| 471 "//build/config:feature_flags", | 471 "//build/config:feature_flags", |
| 472 "//build/config/compiler:afdo", | 472 "//build/config/compiler:afdo", |
| 473 "//build/config/compiler:compiler", | 473 "//build/config/compiler:compiler", |
| 474 "//build/config/compiler:pthread", |
| 474 "//build/config/compiler:clang_stackrealign", | 475 "//build/config/compiler:clang_stackrealign", |
| 475 "//build/config/compiler:compiler_arm_fpu", | 476 "//build/config/compiler:compiler_arm_fpu", |
| 476 "//build/config/compiler:compiler_arm_thumb", | 477 "//build/config/compiler:compiler_arm_thumb", |
| 477 "//build/config/compiler:chromium_code", | 478 "//build/config/compiler:chromium_code", |
| 478 "//build/config/compiler:default_include_dirs", | 479 "//build/config/compiler:default_include_dirs", |
| 479 "//build/config/compiler:default_optimization", | 480 "//build/config/compiler:default_optimization", |
| 480 "//build/config/compiler:default_stack_frames", | 481 "//build/config/compiler:default_stack_frames", |
| 481 "//build/config/compiler:default_symbols", | 482 "//build/config/compiler:default_symbols", |
| 482 "//build/config/compiler:no_rtti", | 483 "//build/config/compiler:no_rtti", |
| 483 "//build/config/compiler:runtime_library", | 484 "//build/config/compiler:runtime_library", |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 set_defaults("component") { | 646 set_defaults("component") { |
| 646 if (is_component_build) { | 647 if (is_component_build) { |
| 647 configs = default_shared_library_configs | 648 configs = default_shared_library_configs |
| 648 if (is_android) { | 649 if (is_android) { |
| 649 configs -= [ "//build/config/android:hide_native_jni_exports" ] | 650 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
| 650 } | 651 } |
| 651 } else { | 652 } else { |
| 652 configs = default_compiler_configs | 653 configs = default_compiler_configs |
| 653 } | 654 } |
| 654 } | 655 } |
| OLD | NEW |