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

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

Issue 1210013007: clang/win: Fix warnings to prepare for building without -Wno-reorder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clang-unsequenced
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
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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 "-Wno-int-to-void-pointer-cast", # http://crbug.com/504697 809 "-Wno-int-to-void-pointer-cast", # http://crbug.com/504697
810 "-Wno-invalid-noreturn", # http://crbug.com/504698 810 "-Wno-invalid-noreturn", # http://crbug.com/504698
811 "-Wno-logical-op-parentheses", # http://crbug.com/504699 811 "-Wno-logical-op-parentheses", # http://crbug.com/504699
812 "-Wno-microsoft", # http://crbug.com/505296 812 "-Wno-microsoft", # http://crbug.com/505296
813 "-Wno-missing-braces", # http://crbug.com/505297 813 "-Wno-missing-braces", # http://crbug.com/505297
814 "-Wno-missing-declarations", # http://crbug.com/505298 814 "-Wno-missing-declarations", # http://crbug.com/505298
815 "-Wno-msvc-include", # http://crbug.com/505299 815 "-Wno-msvc-include", # http://crbug.com/505299
816 "-Wno-overloaded-virtual", # http://crbug.com/505301 816 "-Wno-overloaded-virtual", # http://crbug.com/505301
817 "-Wno-parentheses", # http://crbug.com/505302 817 "-Wno-parentheses", # http://crbug.com/505302
818 "-Wno-pointer-sign", # http://crbug.com/505303 818 "-Wno-pointer-sign", # http://crbug.com/505303
819 "-Wno-reorder", # http://crbug.com/505304
820 "-Wno-return-type-c-linkage", # http://crbug.com/505305 819 "-Wno-return-type-c-linkage", # http://crbug.com/505305
821 "-Wno-self-assign", # http://crbug.com/505306 820 "-Wno-self-assign", # http://crbug.com/505306
822 "-Wno-sometimes-uninitialized", # http://crbug.com/505307 821 "-Wno-sometimes-uninitialized", # http://crbug.com/505307
823 "-Wno-switch", # http://crbug.com/505308 822 "-Wno-switch", # http://crbug.com/505308
824 "-Wno-unknown-pragmas", # http://crbug.com/505314 823 "-Wno-unknown-pragmas", # http://crbug.com/505314
825 "-Wno-unused-function", # http://crbug.com/505316 824 "-Wno-unused-function", # http://crbug.com/505316
826 "-Wno-unused-private-field", # http://crbug.com/505317 825 "-Wno-unused-private-field", # http://crbug.com/505317
827 "-Wno-unused-value", # http://crbug.com/505318 826 "-Wno-unused-value", # http://crbug.com/505318
828 "-Wno-unused-variable", # http://crbug.com/505319 827 "-Wno-unused-variable", # http://crbug.com/505319
829 "-Wno-unused-local-typedef", # http://crbug.com/411648 828 "-Wno-unused-local-typedef", # http://crbug.com/411648
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 cflags += [ "-gsplit-dwarf" ] 1242 cflags += [ "-gsplit-dwarf" ]
1244 } 1243 }
1245 } 1244 }
1246 } 1245 }
1247 1246
1248 config("no_symbols") { 1247 config("no_symbols") {
1249 if (!is_win) { 1248 if (!is_win) {
1250 cflags = [ "-g0" ] 1249 cflags = [ "-g0" ]
1251 } 1250 }
1252 } 1251 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698