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

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

Issue 2870543003: win: Set is_clang=true by default. (Closed)
Patch Set: comment Created 3 years, 7 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 | tools/mb/mb_config.pyl » ('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 # WHAT IS THIS FILE? 6 # WHAT IS THIS FILE?
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This is the master GN build configuration. This file is loaded after the 9 # This is the master GN build configuration. This file is loaded after the
10 # build args (args.gn) for the build directory and after the toplevel ".gn" 10 # build args (args.gn) for the build directory and after the toplevel ".gn"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 # separate flags. 130 # separate flags.
131 is_official_build = false 131 is_official_build = false
132 132
133 # Whether we're a traditional desktop unix. 133 # Whether we're a traditional desktop unix.
134 is_desktop_linux = current_os == "linux" 134 is_desktop_linux = current_os == "linux"
135 135
136 # Set to true when compiling with the Clang compiler. Typically this is used 136 # Set to true when compiling with the Clang compiler. Typically this is used
137 # to configure warnings. 137 # to configure warnings.
138 is_clang = 138 is_clang =
139 current_os == "mac" || current_os == "ios" || current_os == "chromeos" || 139 current_os == "mac" || current_os == "ios" || current_os == "chromeos" ||
140 current_os == "fuchsia" || 140 current_os == "fuchsia" || current_os == "win" ||
141 (current_os == "linux" && current_cpu != "s390x" && 141 (current_os == "linux" && current_cpu != "s390x" &&
142 current_cpu != "s390" && current_cpu != "ppc64" && current_cpu != "ppc") 142 current_cpu != "s390" && current_cpu != "ppc64" && current_cpu != "ppc")
143 143
144 # Allows the path to a custom target toolchain to be injected as a single 144 # Allows the path to a custom target toolchain to be injected as a single
145 # argument, and set as the default toolchain. 145 # argument, and set as the default toolchain.
146 custom_toolchain = "" 146 custom_toolchain = ""
147 147
148 # This should not normally be set as a build argument. It's here so that 148 # This should not normally be set as a build argument. It's here so that
149 # every toolchain can pass through the "global" value via toolchain_args(). 149 # every toolchain can pass through the "global" value via toolchain_args().
150 host_toolchain = "" 150 host_toolchain = ""
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 set_defaults("component") { 690 set_defaults("component") {
691 if (is_component_build) { 691 if (is_component_build) {
692 configs = default_shared_library_configs 692 configs = default_shared_library_configs
693 if (is_android) { 693 if (is_android) {
694 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] 694 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
695 } 695 }
696 } else { 696 } else {
697 configs = default_compiler_configs 697 configs = default_compiler_configs
698 } 698 }
699 } 699 }
OLDNEW
« no previous file with comments | « no previous file | tools/mb/mb_config.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698