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

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

Issue 26561005: GYP generator for GN (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
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 # BUILD FLAGS 6 # BUILD FLAGS
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This block lists input arguments to the build, along with their default 9 # This block lists input arguments to the build, along with their default
10 # values. GN requires listing them explicitly so it can validate input and have 10 # values. GN requires listing them explicitly so it can validate input and have
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 # This is the actual set. 155 # This is the actual set.
156 set_sources_assignment_filter(sources_assignment_filter) 156 set_sources_assignment_filter(sources_assignment_filter)
157 157
158 # ============================================================================= 158 # =============================================================================
159 # BUILD OPTIONS 159 # BUILD OPTIONS
160 # ============================================================================= 160 # =============================================================================
161 161
162 if (is_component_build) { 162 if (is_component_build) {
163 component_mode = "shared_library" 163 component_mode = "shared_library"
164 } else { 164 } else {
165 component_mode = "source_set" 165 component_mode = "static_library"
scottmg 2013/10/15 19:58:21 is this necessary with the mapping in GypBinaryTar
brettw 2013/10/15 21:18:06 I was concerned about the following case: The gn t
166 } 166 }
167 167
168 toolkit_uses_gtk = is_linux 168 toolkit_uses_gtk = is_linux
169 169
170 # ============================================================================= 170 # =============================================================================
171 # TARGET DEFAULTS 171 # TARGET DEFAULTS
172 # ============================================================================= 172 # =============================================================================
173 # 173 #
174 # Set up the default configuration for every build target of the given type. 174 # Set up the default configuration for every build target of the given type.
175 # The values configured here will be automatically set on the scope of the 175 # The values configured here will be automatically set on the scope of the
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 # TOOLCHAIN SETUP 274 # TOOLCHAIN SETUP
275 # ============================================================================== 275 # ==============================================================================
276 276
277 if (is_win) { 277 if (is_win) {
278 set_default_toolchain("//build/toolchain/win:32") 278 set_default_toolchain("//build/toolchain/win:32")
279 } else if (is_linux) { 279 } else if (is_linux) {
280 set_default_toolchain("//build/toolchain/linux:gcc") 280 set_default_toolchain("//build/toolchain/linux:gcc")
281 } else if (is_mac) { 281 } else if (is_mac) {
282 set_default_toolchain("//build/toolchain/mac:clang") 282 set_default_toolchain("//build/toolchain/mac:clang")
283 } 283 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698