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

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

Issue 785393002: Revert "Roll Clang 218707:223109 (+r223211, +r223219, -r220714)" and follow-ups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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') | build/sanitizers/sanitizer_options.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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 # http://crbug.com/255186 755 # http://crbug.com/255186
756 "-Wno-deprecated-register", 756 "-Wno-deprecated-register",
757 757
758 # TODO(thakis): This used to be implied by -Wno-unused-function, 758 # TODO(thakis): This used to be implied by -Wno-unused-function,
759 # which we no longer use. Check if it makes sense to remove 759 # which we no longer use. Check if it makes sense to remove
760 # this as well. http://crbug.com/316352 760 # this as well. http://crbug.com/316352
761 "-Wno-unneeded-internal-declaration", 761 "-Wno-unneeded-internal-declaration",
762 762
763 # TODO(thakis): Remove, http://crbug.com/263960 763 # TODO(thakis): Remove, http://crbug.com/263960
764 "-Wno-reserved-user-defined-literal", 764 "-Wno-reserved-user-defined-literal",
765
766 # TODO(hans): Get this cleaned up.
767 "-Wno-inconsistent-missing-override",
768 ] 765 ]
769 } 766 }
770 if (gcc_version >= 48) { 767 if (gcc_version >= 48) {
771 cflags_cc += [ 768 cflags_cc += [
772 # See comment for -Wno-c++11-narrowing. 769 # See comment for -Wno-c++11-narrowing.
773 "-Wno-narrowing", 770 "-Wno-narrowing",
774 771
775 # TODO(thakis): Remove, http://crbug.com/263960 772 # TODO(thakis): Remove, http://crbug.com/263960
776 "-Wno-literal-suffix", 773 "-Wno-literal-suffix",
777 ] 774 ]
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 cflags += [ "-gsplit-dwarf" ] 976 cflags += [ "-gsplit-dwarf" ]
980 } 977 }
981 } 978 }
982 } 979 }
983 980
984 config("no_symbols") { 981 config("no_symbols") {
985 if (!is_win) { 982 if (!is_win) {
986 cflags = [ "-g0" ] 983 cflags = [ "-g0" ]
987 } 984 }
988 } 985 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/sanitizers/sanitizer_options.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698