Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 1330423002: Add a new flag to assist in landing optimization update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # PLATFORM SELECTION 6 # PLATFORM SELECTION
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name
10 # of the GN thing that encodes combinations of these things. 10 # of the GN thing that encodes combinations of these things.
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 # to be global. 171 # to be global.
172 # 172 #
173 # In the new scheme, this file sets a "default_symbols" and 173 # In the new scheme, this file sets a "default_symbols" and
174 # "default_optimization" configs, which then expands to the right thing 174 # "default_optimization" configs, which then expands to the right thing
175 # depending on the current build. This means less information has to be global, 175 # depending on the current build. This means less information has to be global,
176 # and there's only one config to remove that's the same in all cases for 176 # and there's only one config to remove that's the same in all cases for
177 # targets that want to override it. It also means that the associated flags can 177 # targets that want to override it. It also means that the associated flags can
178 # be non-global. 178 # be non-global.
179 using_new_global_compiler_configs = false 179 using_new_global_compiler_configs = false
180 180
181 # To assist in a multi-sided landing of updating the default optimization
182 # config. When false, this file sets up the default optimization config to be
183 # either "no_optimize" (debug) or "optimize" (release). When true it will
184 # always set the config "default_optimization".
185 #
186 # TODO(brettw) remove this when all repos are updated.
187 using_new_optimization_config = false
188
181 # ============================================================================= 189 # =============================================================================
182 # OS DEFINITIONS 190 # OS DEFINITIONS
183 # ============================================================================= 191 # =============================================================================
184 # 192 #
185 # We set these various is_FOO booleans for convenience in writing OS-based 193 # We set these various is_FOO booleans for convenience in writing OS-based
186 # conditions. 194 # conditions.
187 # 195 #
188 # - is_android, is_chromeos, is_ios, and is_win should be obvious. 196 # - is_android, is_chromeos, is_ios, and is_win should be obvious.
189 # - is_mac is set only for desktop Mac. It is not set on iOS. 197 # - is_mac is set only for desktop Mac. It is not set on iOS.
190 # - is_posix is true for mac and any Unix-like system (basically everything 198 # - is_posix is true for mac and any Unix-like system (basically everything
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 forward_variables_from(invoker, "*") 649 forward_variables_from(invoker, "*")
642 650
643 # All shared libraries must have the sanitizer deps to properly link in 651 # All shared libraries must have the sanitizer deps to properly link in
644 # asan mode (this target will be empty in other cases). 652 # asan mode (this target will be empty in other cases).
645 if (!defined(deps)) { 653 if (!defined(deps)) {
646 deps = [] 654 deps = []
647 } 655 }
648 deps += [ "//build/config/sanitizers:deps" ] 656 deps += [ "//build/config/sanitizers:deps" ]
649 } 657 }
650 } 658 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698