| OLD | NEW |
| 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 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 cflags += [ | 1093 cflags += [ |
| 1094 # TODO(thakis): https://crbug.com/604888 | 1094 # TODO(thakis): https://crbug.com/604888 |
| 1095 "-Wno-undefined-var-template", | 1095 "-Wno-undefined-var-template", |
| 1096 | 1096 |
| 1097 # TODO(thakis): https://crbug.com/617318 | 1097 # TODO(thakis): https://crbug.com/617318 |
| 1098 "-Wno-nonportable-include-path", | 1098 "-Wno-nonportable-include-path", |
| 1099 | 1099 |
| 1100 # TODO(hans): https://crbug.com/637306 | 1100 # TODO(hans): https://crbug.com/637306 |
| 1101 "-Wno-address-of-packed-member", | 1101 "-Wno-address-of-packed-member", |
| 1102 | 1102 |
| 1103 # TODO(thakis): Consider turning this on, https://crbug.com/691120 | |
| 1104 "-Wno-block-capture-autoreleasing", | |
| 1105 | |
| 1106 # TODO(hans): https://crbug.com/681136 | 1103 # TODO(hans): https://crbug.com/681136 |
| 1107 "-Wno-unused-lambda-capture", | 1104 "-Wno-unused-lambda-capture", |
| 1108 | 1105 |
| 1109 # TODO(thakis ): https://crbug.com/683349 | 1106 # TODO(thakis ): https://crbug.com/683349 |
| 1110 "-Wno-user-defined-warnings", | 1107 "-Wno-user-defined-warnings", |
| 1111 ] | 1108 ] |
| 1112 } | 1109 } |
| 1113 } | 1110 } |
| 1114 } | 1111 } |
| 1115 | 1112 |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1706 | 1703 |
| 1707 if (is_ios || is_mac) { | 1704 if (is_ios || is_mac) { |
| 1708 # On Mac and iOS, this enables support for ARC (automatic ref-counting). | 1705 # On Mac and iOS, this enables support for ARC (automatic ref-counting). |
| 1709 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. | 1706 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. |
| 1710 config("enable_arc") { | 1707 config("enable_arc") { |
| 1711 common_flags = [ "-fobjc-arc" ] | 1708 common_flags = [ "-fobjc-arc" ] |
| 1712 cflags_objc = common_flags | 1709 cflags_objc = common_flags |
| 1713 cflags_objcc = common_flags | 1710 cflags_objcc = common_flags |
| 1714 } | 1711 } |
| 1715 } | 1712 } |
| OLD | NEW |