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

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

Issue 612093003: Roll Clang 216630:217949 (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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') | tools/clang/scripts/update.sh » ('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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 # http://crbug.com/255186 719 # http://crbug.com/255186
720 "-Wno-deprecated-register", 720 "-Wno-deprecated-register",
721 721
722 # TODO(thakis): This used to be implied by -Wno-unused-function, 722 # TODO(thakis): This used to be implied by -Wno-unused-function,
723 # which we no longer use. Check if it makes sense to remove 723 # which we no longer use. Check if it makes sense to remove
724 # this as well. http://crbug.com/316352 724 # this as well. http://crbug.com/316352
725 "-Wno-unneeded-internal-declaration", 725 "-Wno-unneeded-internal-declaration",
726 726
727 # TODO(thakis): Remove, http://crbug.com/263960 727 # TODO(thakis): Remove, http://crbug.com/263960
728 "-Wno-reserved-user-defined-literal", 728 "-Wno-reserved-user-defined-literal",
729
730 # TODO(hans): Clean this up. Or disable with finer granularity.
731 "-Wno-unused-local-typedef",
729 ] 732 ]
730 } 733 }
731 if (gcc_version >= 48) { 734 if (gcc_version >= 48) {
732 cflags_cc += [ 735 cflags_cc += [
733 # See comment for -Wno-c++11-narrowing. 736 # See comment for -Wno-c++11-narrowing.
734 "-Wno-narrowing", 737 "-Wno-narrowing",
735 # TODO(thakis): Remove, http://crbug.com/263960 738 # TODO(thakis): Remove, http://crbug.com/263960
736 "-Wno-literal-suffix", 739 "-Wno-literal-suffix",
737 ] 740 ]
738 } 741 }
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 cflags += [ "-gsplit-dwarf" ] 937 cflags += [ "-gsplit-dwarf" ]
935 } 938 }
936 } 939 }
937 } 940 }
938 941
939 config("no_symbols") { 942 config("no_symbols") {
940 if (!is_win) { 943 if (!is_win) {
941 cflags = [ "-g0" ] 944 cflags = [ "-g0" ]
942 } 945 }
943 } 946 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | tools/clang/scripts/update.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698