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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 1910393002: Revert of Implement arflags in the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | build/config/posix/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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/nacl/config.gni") 8 import("//build/config/nacl/config.gni")
9 import("//build/toolchain/cc_wrapper.gni") 9 import("//build/toolchain/cc_wrapper.gni")
10 import("//build/toolchain/toolchain.gni") 10 import("//build/toolchain/toolchain.gni")
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } else if (is_android) { 155 } else if (is_android) {
156 configs += [ "//build/config/android:compiler" ] 156 configs += [ "//build/config/android:compiler" ]
157 } else if (is_linux) { 157 } else if (is_linux) {
158 configs += [ "//build/config/linux:compiler" ] 158 configs += [ "//build/config/linux:compiler" ]
159 } else if (is_nacl) { 159 } else if (is_nacl) {
160 configs += [ "//build/config/nacl:compiler" ] 160 configs += [ "//build/config/nacl:compiler" ]
161 } else if (is_ios || is_mac) { 161 } else if (is_ios || is_mac) {
162 configs += [ "//build/config/mac:compiler" ] 162 configs += [ "//build/config/mac:compiler" ]
163 } 163 }
164 164
165 # Applies to all Posix systems.
166 if (is_posix) {
167 configs += [ "//build/config/posix:compiler" ]
168 }
169
170 # See the definitions below. 165 # See the definitions below.
171 configs += [ 166 configs += [
172 ":compiler_cpu_abi", 167 ":compiler_cpu_abi",
173 ":compiler_codegen", 168 ":compiler_codegen",
174 ] 169 ]
175 170
176 # In general, Windows is totally different, but all the other builds share 171 # In general, Windows is totally different, but all the other builds share
177 # some common GCC configuration. 172 # some common GCC configuration.
178 if (!is_win) { 173 if (!is_win) {
179 # Common GCC compiler flags setup. 174 # Common GCC compiler flags setup.
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1432 1427
1433 if (is_ios || is_mac) { 1428 if (is_ios || is_mac) {
1434 # On Mac and iOS, this enables support for ARC (automatic ref-counting). 1429 # On Mac and iOS, this enables support for ARC (automatic ref-counting).
1435 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. 1430 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html.
1436 config("enable_arc") { 1431 config("enable_arc") {
1437 common_flags = [ "-fobjc-arc" ] 1432 common_flags = [ "-fobjc-arc" ]
1438 cflags_objc = common_flags 1433 cflags_objc = common_flags
1439 cflags_objcc = common_flags 1434 cflags_objcc = common_flags
1440 } 1435 }
1441 } 1436 }
OLDNEW
« no previous file with comments | « no previous file | build/config/posix/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698