| 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 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1086 # recognize. | 1086 # recognize. |
| 1087 cflags += [ | 1087 cflags += [ |
| 1088 # TODO(thakis): https://crbug.com/604888 | 1088 # TODO(thakis): https://crbug.com/604888 |
| 1089 "-Wno-undefined-var-template", | 1089 "-Wno-undefined-var-template", |
| 1090 | 1090 |
| 1091 # TODO(thakis): https://crbug.com/617318 | 1091 # TODO(thakis): https://crbug.com/617318 |
| 1092 "-Wno-nonportable-include-path", | 1092 "-Wno-nonportable-include-path", |
| 1093 | 1093 |
| 1094 # TODO(hans): https://crbug.com/637306 | 1094 # TODO(hans): https://crbug.com/637306 |
| 1095 "-Wno-address-of-packed-member", | 1095 "-Wno-address-of-packed-member", |
| 1096 |
| 1097 # TODO(thakis): Consider turning this on, https://crbug.com/691120 |
| 1098 "-Wno-block-capture-autoreleasing", |
| 1096 ] | 1099 ] |
| 1097 if (llvm_force_head_revision) { | 1100 if (llvm_force_head_revision) { |
| 1098 cflags += [ | 1101 cflags += [ |
| 1099 # TODO(hans): https://crbug.com/681136 | 1102 # TODO(hans): https://crbug.com/681136 |
| 1100 "-Wno-unused-lambda-capture", | 1103 "-Wno-unused-lambda-capture", |
| 1101 | 1104 |
| 1102 # TODO(thakis ): https://crbug.com/683349 | 1105 # TODO(thakis ): https://crbug.com/683349 |
| 1103 "-Wno-user-defined-warnings", | 1106 "-Wno-user-defined-warnings", |
| 1104 ] | 1107 ] |
| 1105 } | 1108 } |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1694 | 1697 |
| 1695 if (is_ios || is_mac) { | 1698 if (is_ios || is_mac) { |
| 1696 # On Mac and iOS, this enables support for ARC (automatic ref-counting). | 1699 # On Mac and iOS, this enables support for ARC (automatic ref-counting). |
| 1697 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. | 1700 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. |
| 1698 config("enable_arc") { | 1701 config("enable_arc") { |
| 1699 common_flags = [ "-fobjc-arc" ] | 1702 common_flags = [ "-fobjc-arc" ] |
| 1700 cflags_objc = common_flags | 1703 cflags_objc = common_flags |
| 1701 cflags_objcc = common_flags | 1704 cflags_objcc = common_flags |
| 1702 } | 1705 } |
| 1703 } | 1706 } |
| OLD | NEW |