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

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

Issue 1806513002: Add config to enable ARC on iOS/OS X to //build/config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iossim
Patch Set: Remove //build/config/mac:macosx_version_min_10_9 config Created 4 years, 9 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
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 10
(...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 if (symbol_level == 0) { 1328 if (symbol_level == 0) {
1329 configs = [ ":no_symbols" ] 1329 configs = [ ":no_symbols" ]
1330 } else if (symbol_level == 1) { 1330 } else if (symbol_level == 1) {
1331 configs = [ ":minimal_symbols" ] 1331 configs = [ ":minimal_symbols" ]
1332 } else if (symbol_level == 2) { 1332 } else if (symbol_level == 2) {
1333 configs = [ ":symbols" ] 1333 configs = [ ":symbols" ]
1334 } else { 1334 } else {
1335 assert(false) 1335 assert(false)
1336 } 1336 }
1337 } 1337 }
1338
1339 if (is_ios || is_mac) {
1340 # On Mac and iOS, this enables support for ARC (automatic ref-counting).
1341 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html.
1342 config("enable_arc") {
1343 common_flags = [ "-fobjc-arc" ]
1344 cflags_objc = common_flags
1345 cflags_objcc = common_flags
1346 }
1347 }
OLDNEW
« no previous file with comments | « no previous file | ios/third_party/gcdwebserver/BUILD.gn » ('j') | ios/third_party/gcdwebserver/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698