| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |