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

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

Issue 2649163002: clang tot: Disable -Wuser-defined-warnings (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/toolchain/toolchain.gni") 10 import("//build/toolchain/toolchain.gni")
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 1083 # TODO(hans): https://crbug.com/681136
1084 "-Wno-unused-lambda-capture", 1084 "-Wno-unused-lambda-capture",
1085
1086 # TODO(thakis ): https://crbug.com/683349
hans 2017/01/23 16:58:39 nit: there's an extra space here
Nico 2017/01/23 17:10:59 I actually changed my username from thakis to thak
1087 "-Wno-user-defined-warnings",
1085 ] 1088 ]
1086 } 1089 }
1087 } 1090 }
1088 } 1091 }
1089 } 1092 }
1090 1093
1091 # chromium_code --------------------------------------------------------------- 1094 # chromium_code ---------------------------------------------------------------
1092 # 1095 #
1093 # Toggles between higher and lower warnings for code that is (or isn't) 1096 # Toggles between higher and lower warnings for code that is (or isn't)
1094 # part of Chromium. 1097 # part of Chromium.
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 1679
1677 if (is_ios || is_mac) { 1680 if (is_ios || is_mac) {
1678 # On Mac and iOS, this enables support for ARC (automatic ref-counting). 1681 # On Mac and iOS, this enables support for ARC (automatic ref-counting).
1679 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. 1682 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html.
1680 config("enable_arc") { 1683 config("enable_arc") {
1681 common_flags = [ "-fobjc-arc" ] 1684 common_flags = [ "-fobjc-arc" ]
1682 cflags_objc = common_flags 1685 cflags_objc = common_flags
1683 cflags_objcc = common_flags 1686 cflags_objcc = common_flags
1684 } 1687 }
1685 } 1688 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698