| 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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1071 cflags += [ | 1071 cflags += [ |
| 1072 # TODO(thakis): https://crbug.com/604888 | 1072 # TODO(thakis): https://crbug.com/604888 |
| 1073 "-Wno-undefined-var-template", | 1073 "-Wno-undefined-var-template", |
| 1074 | 1074 |
| 1075 # TODO(thakis): https://crbug.com/617318 | 1075 # TODO(thakis): https://crbug.com/617318 |
| 1076 "-Wno-nonportable-include-path", | 1076 "-Wno-nonportable-include-path", |
| 1077 | 1077 |
| 1078 # TODO(hans): https://crbug.com/637306 | 1078 # TODO(hans): https://crbug.com/637306 |
| 1079 "-Wno-address-of-packed-member", | 1079 "-Wno-address-of-packed-member", |
| 1080 ] | 1080 ] |
| 1081 if (llvm_force_head_revision) { |
| 1082 cflags += [ |
| 1083 # TODO(hans): https://crbug.com/681136 |
| 1084 "-Wno-unused-lambda-capture", |
| 1085 ] |
| 1086 } |
| 1081 } | 1087 } |
| 1082 } | 1088 } |
| 1083 } | 1089 } |
| 1084 | 1090 |
| 1085 # chromium_code --------------------------------------------------------------- | 1091 # chromium_code --------------------------------------------------------------- |
| 1086 # | 1092 # |
| 1087 # Toggles between higher and lower warnings for code that is (or isn't) | 1093 # Toggles between higher and lower warnings for code that is (or isn't) |
| 1088 # part of Chromium. | 1094 # part of Chromium. |
| 1089 | 1095 |
| 1090 config("chromium_code") { | 1096 config("chromium_code") { |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1670 | 1676 |
| 1671 if (is_ios || is_mac) { | 1677 if (is_ios || is_mac) { |
| 1672 # On Mac and iOS, this enables support for ARC (automatic ref-counting). | 1678 # On Mac and iOS, this enables support for ARC (automatic ref-counting). |
| 1673 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. | 1679 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. |
| 1674 config("enable_arc") { | 1680 config("enable_arc") { |
| 1675 common_flags = [ "-fobjc-arc" ] | 1681 common_flags = [ "-fobjc-arc" ] |
| 1676 cflags_objc = common_flags | 1682 cflags_objc = common_flags |
| 1677 cflags_objcc = common_flags | 1683 cflags_objcc = common_flags |
| 1678 } | 1684 } |
| 1679 } | 1685 } |
| OLD | NEW |