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

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

Issue 1226373006: clang/win: Take another stab at building with -Wunused-private-field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « build/common.gypi ('k') | third_party/cld_2/BUILD.gn » ('j') | 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 if (current_cpu == "arm") { 7 if (current_cpu == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 if (current_cpu == "mipsel" || current_cpu == "mips64el") { 10 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 if (is_clang) { 798 if (is_clang) {
799 default_warning_flags += [ 799 default_warning_flags += [
800 # TODO(hans): Make this list shorter eventually, http://crbug.com/504657 800 # TODO(hans): Make this list shorter eventually, http://crbug.com/504657
801 "-Qunused-arguments", # http://crbug.com/504658 801 "-Qunused-arguments", # http://crbug.com/504658
802 "-Wno-extra-tokens", # http://crbug.com/504663 802 "-Wno-extra-tokens", # http://crbug.com/504663
803 "-Wno-microsoft", # http://crbug.com/505296 803 "-Wno-microsoft", # http://crbug.com/505296
804 "-Wno-pointer-sign", # http://crbug.com/505303 804 "-Wno-pointer-sign", # http://crbug.com/505303
805 "-Wno-switch", # http://crbug.com/505308 805 "-Wno-switch", # http://crbug.com/505308
806 "-Wno-unknown-pragmas", # http://crbug.com/505314 806 "-Wno-unknown-pragmas", # http://crbug.com/505314
807 "-Wno-unused-function", # http://crbug.com/505316 807 "-Wno-unused-function", # http://crbug.com/505316
808 "-Wno-unused-private-field", # http://crbug.com/505317
809 "-Wno-unused-value", # http://crbug.com/505318 808 "-Wno-unused-value", # http://crbug.com/505318
810 "-Wno-unused-variable", # http://crbug.com/505319 809 "-Wno-unused-variable", # http://crbug.com/505319
811 "-Wno-unused-local-typedef", # http://crbug.com/411648 810 "-Wno-unused-local-typedef", # http://crbug.com/411648
812 ] 811 ]
813 } 812 }
814 } else { 813 } else {
815 # Common GCC warning setup. 814 # Common GCC warning setup.
816 default_warning_flags += [ 815 default_warning_flags += [
817 # Enables. 816 # Enables.
818 "-Wendif-labels", # Weird old-style text after an #endif. 817 "-Wendif-labels", # Weird old-style text after an #endif.
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 cflags += [ "-gsplit-dwarf" ] 1243 cflags += [ "-gsplit-dwarf" ]
1245 } 1244 }
1246 } 1245 }
1247 } 1246 }
1248 1247
1249 config("no_symbols") { 1248 config("no_symbols") {
1250 if (!is_win) { 1249 if (!is_win) {
1251 cflags = [ "-g0" ] 1250 cflags = [ "-g0" ]
1252 } 1251 }
1253 } 1252 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | third_party/cld_2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698