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

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

Issue 40533003: Fix the output of "gn args" for the OS and CPU architecture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « tools/gn/args.cc ('k') | 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 # 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 16 matching lines...) Expand all
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 = false 34 is_clang = false
35 35
36 # ASH is enabled. 36 # ASH is enabled.
37 # TODO(brettw) this should be moved out of the main build config file.
37 use_ash = false 38 use_ash = false
38 # Aura is enabled. 39 # Aura is enabled.
40 # TODO(brettw) this should be moved out of the main build config file.
39 use_aura = false 41 use_aura = false
40 # Ozone is enabled. 42 # Ozone is enabled.
43 # TODO(brettw) this should be moved out of the main build config file.
41 use_ozone = false 44 use_ozone = false
42 } 45 }
43 46
44 # ============================================================================= 47 # =============================================================================
45 # OS DEFINITIONS 48 # OS DEFINITIONS
46 # ============================================================================= 49 # =============================================================================
47 # 50 #
48 # We set these various is_FOO booleans for convenience in writing OS-based 51 # We set these various is_FOO booleans for convenience in writing OS-based
49 # conditions. 52 # conditions.
50 # 53 #
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 # Special toolchain for ARM cross-compiling. 374 # Special toolchain for ARM cross-compiling.
372 set_default_toolchain("//build/toolchain/linux:arm-cross-compile") 375 set_default_toolchain("//build/toolchain/linux:arm-cross-compile")
373 } else { 376 } else {
374 # Use whatever GCC is on the current platform. 377 # Use whatever GCC is on the current platform.
375 set_default_toolchain(host_toolchain) 378 set_default_toolchain(host_toolchain)
376 } 379 }
377 } else if (is_mac) { 380 } else if (is_mac) {
378 host_toolchain = "//build/toolchain/mac:clang" 381 host_toolchain = "//build/toolchain/mac:clang"
379 set_default_toolchain(host_toolchain) 382 set_default_toolchain(host_toolchain)
380 } 383 }
OLDNEW
« no previous file with comments | « tools/gn/args.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698