| 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 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) { | 1081 if (llvm_force_head_revision) { |
| 1082 cflags += [ | 1082 cflags += [ |
| 1083 # TODO(hans): https://crbug.com/681136 | |
| 1084 "-Wno-unused-lambda-capture", | |
| 1085 | |
| 1086 # TODO(thakis ): https://crbug.com/683349 | 1083 # TODO(thakis ): https://crbug.com/683349 |
| 1087 "-Wno-user-defined-warnings", | 1084 "-Wno-user-defined-warnings", |
| 1088 ] | 1085 ] |
| 1089 } | 1086 } |
| 1090 } | 1087 } |
| 1091 } | 1088 } |
| 1092 } | 1089 } |
| 1093 | 1090 |
| 1094 # chromium_code --------------------------------------------------------------- | 1091 # chromium_code --------------------------------------------------------------- |
| 1095 # | 1092 # |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1679 | 1676 |
| 1680 if (is_ios || is_mac) { | 1677 if (is_ios || is_mac) { |
| 1681 # 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). |
| 1682 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. | 1679 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. |
| 1683 config("enable_arc") { | 1680 config("enable_arc") { |
| 1684 common_flags = [ "-fobjc-arc" ] | 1681 common_flags = [ "-fobjc-arc" ] |
| 1685 cflags_objc = common_flags | 1682 cflags_objc = common_flags |
| 1686 cflags_objcc = common_flags | 1683 cflags_objcc = common_flags |
| 1687 } | 1684 } |
| 1688 } | 1685 } |
| OLD | NEW |