| 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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 # excluding it from the "*" set works around this problem. | 675 # excluding it from the "*" set works around this problem. |
| 676 # See http://crbug.com/594610 | 676 # See http://crbug.com/594610 |
| 677 forward_variables_from(invoker, [ "visibility" ]) | 677 forward_variables_from(invoker, [ "visibility" ]) |
| 678 forward_variables_from(invoker, "*", [ "visibility" ]) | 678 forward_variables_from(invoker, "*", [ "visibility" ]) |
| 679 | 679 |
| 680 # All shared libraries must have the sanitizer deps to properly link in | 680 # All shared libraries must have the sanitizer deps to properly link in |
| 681 # asan mode (this target will be empty in other cases). | 681 # asan mode (this target will be empty in other cases). |
| 682 if (!defined(deps)) { | 682 if (!defined(deps)) { |
| 683 deps = [] | 683 deps = [] |
| 684 } | 684 } |
| 685 deps += [ "//build/config/sanitizers:deps" ] | 685 deps += [ "//build/config:exe_and_shlib_deps" ] |
| 686 } | 686 } |
| 687 } | 687 } |
| 688 | 688 |
| 689 # Component defaults | 689 # Component defaults |
| 690 set_defaults("component") { | 690 set_defaults("component") { |
| 691 if (is_component_build) { | 691 if (is_component_build) { |
| 692 configs = default_shared_library_configs | 692 configs = default_shared_library_configs |
| 693 if (is_android) { | 693 if (is_android) { |
| 694 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | 694 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] |
| 695 } | 695 } |
| 696 } else { | 696 } else { |
| 697 configs = default_compiler_configs | 697 configs = default_compiler_configs |
| 698 } | 698 } |
| 699 } | 699 } |
| OLD | NEW |