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

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

Issue 1234713002: win/clang: Roll clang 239674:242415 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 242415 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
« no previous file with comments | « build/common.gypi ('k') | tools/clang/scripts/update.py » ('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 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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 ] 903 ]
904 904
905 # NaCl's Clang compiler and Chrome's hermetic Clang compiler will almost 905 # NaCl's Clang compiler and Chrome's hermetic Clang compiler will almost
906 # always have different versions. Certain flags may not be recognized by 906 # always have different versions. Certain flags may not be recognized by
907 # one version or the other. 907 # one version or the other.
908 if (!is_nacl) { 908 if (!is_nacl) {
909 # Flags NaCl does not recognize. 909 # Flags NaCl does not recognize.
910 default_warning_flags += [ 910 default_warning_flags += [
911 # TODO(hans): Get this cleaned up, http://crbug.com/428099 911 # TODO(hans): Get this cleaned up, http://crbug.com/428099
912 "-Wno-inconsistent-missing-override", 912 "-Wno-inconsistent-missing-override",
913
914 # TODO(thakis): Enable this, crbug.com/507717
915 "-Wno-shift-negative-value",
913 ] 916 ]
914
915 if (exec_script("//tools/clang/scripts/update.py",
916 [ "--print-revision" ],
917 "trim string") != "239674-1") {
918 default_warning_flags += [
919 # TODO(thakis): Move this into outer if once clang is rolled far enough
920 # that the pinned clang understands this flag.
921 # TODO(thakis): Enable this, crbug.com/507717
922 "-Wno-shift-negative-value",
923 ]
924 }
925 } 917 }
926 } 918 }
927 919
928 # chromium_code --------------------------------------------------------------- 920 # chromium_code ---------------------------------------------------------------
929 # 921 #
930 # Toggles between higher and lower warnings for code that is (or isn't) 922 # Toggles between higher and lower warnings for code that is (or isn't)
931 # part of Chromium. 923 # part of Chromium.
932 924
933 config("chromium_code") { 925 config("chromium_code") {
934 if (is_win) { 926 if (is_win) {
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 cflags += [ "-gsplit-dwarf" ] 1233 cflags += [ "-gsplit-dwarf" ]
1242 } 1234 }
1243 } 1235 }
1244 } 1236 }
1245 1237
1246 config("no_symbols") { 1238 config("no_symbols") {
1247 if (!is_win) { 1239 if (!is_win) {
1248 cflags = [ "-g0" ] 1240 cflags = [ "-g0" ]
1249 } 1241 }
1250 } 1242 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | tools/clang/scripts/update.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698