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 387693002: Port r282246 to gn. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nope Created 6 years, 5 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
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | 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 # 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 13 matching lines...) Expand all
24 # 0 means no symbols. 24 # 0 means no symbols.
25 symbol_level = 2 25 symbol_level = 2
26 26
27 # Component build. 27 # Component build.
28 is_component_build = false 28 is_component_build = false
29 # Debug build. 29 # Debug build.
30 is_debug = true 30 is_debug = true
31 31
32 # Set to true when compiling with the Clang compiler. Typically this is used 32 # Set to true when compiling with the Clang compiler. Typically this is used
33 # to configure warnings. 33 # to configure warnings.
34 is_clang = (os == "mac" || os == "ios") 34 is_clang = (os == "mac" || os == "ios" || os == "linux")
35 35
36 # Forces a 64-bit build on Windows. Does nothing on other platforms. Normally 36 # Forces a 64-bit build on Windows. Does nothing on other platforms. Normally
37 # we build 32-bit on Windows regardless of the current host OS bit depth. 37 # we build 32-bit on Windows regardless of the current host OS bit depth.
38 # Setting this flag will override this logic and generate 64-bit toolchains. 38 # Setting this flag will override this logic and generate 64-bit toolchains.
39 # 39 #
40 # Normally this would get set automatically when you specify a target using 40 # Normally this would get set automatically when you specify a target using
41 # the 64-bit toolchain. You can also set this on the command line to convert 41 # the 64-bit toolchain. You can also set this on the command line to convert
42 # the default toolchain to 64-bit. 42 # the default toolchain to 64-bit.
43 force_win64 = false 43 force_win64 = false
44 44
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 host_toolchain = "//build/toolchain/linux:$build_cpu_arch" 469 host_toolchain = "//build/toolchain/linux:$build_cpu_arch"
470 set_default_toolchain("//build/toolchain/linux:$cpu_arch") 470 set_default_toolchain("//build/toolchain/linux:$cpu_arch")
471 } 471 }
472 } else if (is_mac) { 472 } else if (is_mac) {
473 host_toolchain = "//build/toolchain/mac:clang" 473 host_toolchain = "//build/toolchain/mac:clang"
474 set_default_toolchain(host_toolchain) 474 set_default_toolchain(host_toolchain)
475 } else if (is_ios) { 475 } else if (is_ios) {
476 host_toolchain = "//build/toolchain/mac:host_clang" 476 host_toolchain = "//build/toolchain/mac:host_clang"
477 set_default_toolchain("//build/toolchain/mac:clang") 477 set_default_toolchain("//build/toolchain/mac:clang")
478 } 478 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698