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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 # Set up the default configuration for every build target of the given type. | 502 # Set up the default configuration for every build target of the given type. |
503 # The values configured here will be automatically set on the scope of the | 503 # The values configured here will be automatically set on the scope of the |
504 # corresponding target. Target definitions can add or remove to the settings | 504 # corresponding target. Target definitions can add or remove to the settings |
505 # here as needed. | 505 # here as needed. |
506 | 506 |
507 # Holds all configs used for running the compiler. | 507 # Holds all configs used for running the compiler. |
508 default_compiler_configs = [ | 508 default_compiler_configs = [ |
509 "//build/config:feature_flags", | 509 "//build/config:feature_flags", |
510 "//build/config/compiler:afdo", | 510 "//build/config/compiler:afdo", |
511 "//build/config/compiler:compiler", | 511 "//build/config/compiler:compiler", |
512 "//build/config/compiler:pthread", | |
513 "//build/config/compiler:clang_stackrealign", | 512 "//build/config/compiler:clang_stackrealign", |
514 "//build/config/compiler:compiler_arm_fpu", | 513 "//build/config/compiler:compiler_arm_fpu", |
515 "//build/config/compiler:compiler_arm_thumb", | 514 "//build/config/compiler:compiler_arm_thumb", |
516 "//build/config/compiler:chromium_code", | 515 "//build/config/compiler:chromium_code", |
517 "//build/config/compiler:default_include_dirs", | 516 "//build/config/compiler:default_include_dirs", |
518 "//build/config/compiler:default_optimization", | 517 "//build/config/compiler:default_optimization", |
519 "//build/config/compiler:default_stack_frames", | 518 "//build/config/compiler:default_stack_frames", |
520 "//build/config/compiler:default_symbols", | 519 "//build/config/compiler:default_symbols", |
521 "//build/config/compiler:no_rtti", | 520 "//build/config/compiler:no_rtti", |
522 "//build/config/compiler:runtime_library", | 521 "//build/config/compiler:runtime_library", |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 set_defaults("component") { | 690 set_defaults("component") { |
692 if (is_component_build) { | 691 if (is_component_build) { |
693 configs = default_shared_library_configs | 692 configs = default_shared_library_configs |
694 if (is_android) { | 693 if (is_android) { |
695 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | 694 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] |
696 } | 695 } |
697 } else { | 696 } else { |
698 configs = default_compiler_configs | 697 configs = default_compiler_configs |
699 } | 698 } |
700 } | 699 } |
OLD | NEW |