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

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

Issue 1715503003: DEPs-ing in tools/clang rather than relying on outdated scripts. Base URL: https://github.com/domokit/mojo.git@clang_deps
Patch Set: Created 4 years, 10 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 | « DEPS ('k') | no next file » | 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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 # always have different versions. Certain flags may not be recognized by 842 # always have different versions. Certain flags may not be recognized by
843 # one version or the other. 843 # one version or the other.
844 if (!is_nacl) { 844 if (!is_nacl) {
845 # Flags NaCl (Clang 3.7) does not recognize. 845 # Flags NaCl (Clang 3.7) does not recognize.
846 default_warning_flags += [ 846 default_warning_flags += [
847 # TODO(smklein): Enable this, crbug.com/507717 847 # TODO(smklein): Enable this, crbug.com/507717
848 "-Wno-shift-negative-value", 848 "-Wno-shift-negative-value",
849 849
850 # TODO(smklein): Consider enabling this once not broken by third party 850 # TODO(smklein): Consider enabling this once not broken by third party
851 "-Wno-bitfield-width", 851 "-Wno-bitfield-width",
852
853 # TODO(smklein): Remove once not broken by base.
854 "-Wno-expansion-to-defined",
855
856 # TODO(smklein): Remove once not broken by third party.
857 "-Wno-constant-conversion",
852 ] 858 ]
853 } 859 }
854 } 860 }
855 861
856 # chromium_code --------------------------------------------------------------- 862 # chromium_code ---------------------------------------------------------------
857 # 863 #
858 # Toggles between higher and lower warnings for code that is (or isn't) 864 # Toggles between higher and lower warnings for code that is (or isn't)
859 # part of Chromium. 865 # part of Chromium.
860 866
861 config("chromium_code") { 867 config("chromium_code") {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 if (symbol_level == 0) { 1123 if (symbol_level == 0) {
1118 configs = [ ":no_symbols" ] 1124 configs = [ ":no_symbols" ]
1119 } else if (symbol_level == 1) { 1125 } else if (symbol_level == 1) {
1120 configs = [ ":minimal_symbols" ] 1126 configs = [ ":minimal_symbols" ]
1121 } else if (symbol_level == 2) { 1127 } else if (symbol_level == 2) {
1122 configs = [ ":symbols" ] 1128 configs = [ ":symbols" ]
1123 } else { 1129 } else {
1124 assert(false) 1130 assert(false)
1125 } 1131 }
1126 } 1132 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698