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

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

Issue 2916933002: Re-commit "win: Set is_clang=true by default" over the weekend. (Closed)
Patch Set: third_party/WebKit/Tools/Scripts/webkit-patch rebaseline-cl Created 3 years, 6 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 | chrome/browser/devtools/devtools_sanity_browsertest.cc » ('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" && 142 current_cpu != "s390" && current_cpu != "ppc64" &&
143 current_cpu != "ppc" && current_cpu != "mips" && current_cpu != "mips64") 143 current_cpu != "ppc" && current_cpu != "mips" && current_cpu != "mips64")
144 144
145 # Allows the path to a custom target toolchain to be injected as a single 145 # Allows the path to a custom target toolchain to be injected as a single
146 # argument, and set as the default toolchain. 146 # argument, and set as the default toolchain.
147 custom_toolchain = "" 147 custom_toolchain = ""
148 148
149 # This should not normally be set as a build argument. It's here so that 149 # This should not normally be set as a build argument. It's here so that
150 # every toolchain can pass through the "global" value via toolchain_args(). 150 # every toolchain can pass through the "global" value via toolchain_args().
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 set_defaults("component") { 691 set_defaults("component") {
692 if (is_component_build) { 692 if (is_component_build) {
693 configs = default_shared_library_configs 693 configs = default_shared_library_configs
694 if (is_android) { 694 if (is_android) {
695 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] 695 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
696 } 696 }
697 } else { 697 } else {
698 configs = default_compiler_configs 698 configs = default_compiler_configs
699 } 699 }
700 } 700 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/devtools/devtools_sanity_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698