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

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

Issue 614453002: Revert of Roll Clang 216630:217949 (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",
732 ] 729 ]
733 } 730 }
734 if (gcc_version >= 48) { 731 if (gcc_version >= 48) {
735 cflags_cc += [ 732 cflags_cc += [
736 # See comment for -Wno-c++11-narrowing. 733 # See comment for -Wno-c++11-narrowing.
737 "-Wno-narrowing", 734 "-Wno-narrowing",
738 # TODO(thakis): Remove, http://crbug.com/263960 735 # TODO(thakis): Remove, http://crbug.com/263960
739 "-Wno-literal-suffix", 736 "-Wno-literal-suffix",
740 ] 737 ]
741 } 738 }
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 cflags += [ "-gsplit-dwarf" ] 934 cflags += [ "-gsplit-dwarf" ]
938 } 935 }
939 } 936 }
940 } 937 }
941 938
942 config("no_symbols") { 939 config("no_symbols") {
943 if (!is_win) { 940 if (!is_win) {
944 cflags = [ "-g0" ] 941 cflags = [ "-g0" ]
945 } 942 }
946 } 943 }
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