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

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

Issue 1351623003: Remove transitional GN build variable. (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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 # to be global. 151 # to be global.
152 # 152 #
153 # In the new scheme, this file sets a "default_symbols" and 153 # In the new scheme, this file sets a "default_symbols" and
154 # "default_optimization" configs, which then expands to the right thing 154 # "default_optimization" configs, which then expands to the right thing
155 # depending on the current build. This means less information has to be global, 155 # depending on the current build. This means less information has to be global,
156 # and there's only one config to remove that's the same in all cases for 156 # and there's only one config to remove that's the same in all cases for
157 # targets that want to override it. It also means that the associated flags can 157 # targets that want to override it. It also means that the associated flags can
158 # be non-global. 158 # be non-global.
159 using_new_global_compiler_configs = true 159 using_new_global_compiler_configs = true
160 160
161 # To assist in a multi-sided landing of updating the default optimization
162 # config. When false, this file sets up the default optimization config to be
163 # either "no_optimize" (debug) or "optimize" (release). When true it will
164 # always set the config "default_optimization".
165 #
166 # TODO(brettw) remove this when all repos are updated.
167 using_new_optimization_config = true
168
169 # To assist in a multi-sided landing of updating the default optimization
170 # config. When false, this file sets up the default optimization config to be
171 # either "no_optimize" (debug) or "optimize" (release). When true it will
172 # always set the config "default_optimization".
173 #
174 # TODO(brettw) remove this when all repos are updated.
175 using_new_optimization_config = true
176
177 # ============================================================================= 161 # =============================================================================
178 # OS DEFINITIONS 162 # OS DEFINITIONS
179 # ============================================================================= 163 # =============================================================================
180 # 164 #
181 # We set these various is_FOO booleans for convenience in writing OS-based 165 # We set these various is_FOO booleans for convenience in writing OS-based
182 # conditions. 166 # conditions.
183 # 167 #
184 # - is_android, is_chromeos, is_ios, and is_win should be obvious. 168 # - is_android, is_chromeos, is_ios, and is_win should be obvious.
185 # - is_mac is set only for desktop Mac. It is not set on iOS. 169 # - is_mac is set only for desktop Mac. It is not set on iOS.
186 # - is_posix is true for mac and any Unix-like system (basically everything 170 # - is_posix is true for mac and any Unix-like system (basically everything
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 forward_variables_from(invoker, "*") 583 forward_variables_from(invoker, "*")
600 584
601 # All shared libraries must have the sanitizer deps to properly link in 585 # All shared libraries must have the sanitizer deps to properly link in
602 # asan mode (this target will be empty in other cases). 586 # asan mode (this target will be empty in other cases).
603 if (!defined(deps)) { 587 if (!defined(deps)) {
604 deps = [] 588 deps = []
605 } 589 }
606 deps += [ "//build/config/sanitizers:deps" ] 590 deps += [ "//build/config/sanitizers:deps" ]
607 } 591 }
608 } 592 }
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