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

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

Issue 722513003: Enable -Wunused-local-typedef (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month 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') | chrome/browser/chromeos/extensions/file_manager/event_router.cc » ('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 if (cpu_arch == "arm") { 6 if (cpu_arch == "arm") {
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 } 8 }
9 if (is_posix) { 9 if (is_posix) {
10 import("//build/config/gcc/gcc_version.gni") 10 import("//build/config/gcc/gcc_version.gni")
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 # http://crbug.com/255186 738 # http://crbug.com/255186
739 "-Wno-deprecated-register", 739 "-Wno-deprecated-register",
740 740
741 # TODO(thakis): This used to be implied by -Wno-unused-function, 741 # TODO(thakis): This used to be implied by -Wno-unused-function,
742 # which we no longer use. Check if it makes sense to remove 742 # which we no longer use. Check if it makes sense to remove
743 # this as well. http://crbug.com/316352 743 # this as well. http://crbug.com/316352
744 "-Wno-unneeded-internal-declaration", 744 "-Wno-unneeded-internal-declaration",
745 745
746 # TODO(thakis): Remove, http://crbug.com/263960 746 # TODO(thakis): Remove, http://crbug.com/263960
747 "-Wno-reserved-user-defined-literal", 747 "-Wno-reserved-user-defined-literal",
748
749 # TODO(hans): Clean this up. Or disable with finer granularity.
750 "-Wno-unused-local-typedef",
751 ] 748 ]
752 } 749 }
753 if (gcc_version >= 48) { 750 if (gcc_version >= 48) {
754 cflags_cc += [ 751 cflags_cc += [
755 # See comment for -Wno-c++11-narrowing. 752 # See comment for -Wno-c++11-narrowing.
756 "-Wno-narrowing", 753 "-Wno-narrowing",
757 # TODO(thakis): Remove, http://crbug.com/263960 754 # TODO(thakis): Remove, http://crbug.com/263960
758 "-Wno-literal-suffix", 755 "-Wno-literal-suffix",
759 ] 756 ]
760 } 757 }
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 cflags += [ "-gsplit-dwarf" ] 968 cflags += [ "-gsplit-dwarf" ]
972 } 969 }
973 } 970 }
974 } 971 }
975 972
976 config("no_symbols") { 973 config("no_symbols") {
977 if (!is_win) { 974 if (!is_win) {
978 cflags = [ "-g0" ] 975 cflags = [ "-g0" ]
979 } 976 }
980 } 977 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/chromeos/extensions/file_manager/event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698