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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 "-Wno-logical-op-parentheses", # http://crbug.com/504699 | 805 "-Wno-logical-op-parentheses", # http://crbug.com/504699 |
806 "-Wno-microsoft", # http://crbug.com/505296 | 806 "-Wno-microsoft", # http://crbug.com/505296 |
807 "-Wno-missing-braces", # http://crbug.com/505297 | 807 "-Wno-missing-braces", # http://crbug.com/505297 |
808 "-Wno-msvc-include", # http://crbug.com/505299 | 808 "-Wno-msvc-include", # http://crbug.com/505299 |
809 "-Wno-overloaded-virtual", # http://crbug.com/505301 | 809 "-Wno-overloaded-virtual", # http://crbug.com/505301 |
810 "-Wno-pointer-sign", # http://crbug.com/505303 | 810 "-Wno-pointer-sign", # http://crbug.com/505303 |
811 "-Wno-reorder", # http://crbug.com/505304 | 811 "-Wno-reorder", # http://crbug.com/505304 |
812 "-Wno-switch", # http://crbug.com/505308 | 812 "-Wno-switch", # http://crbug.com/505308 |
813 "-Wno-unknown-pragmas", # http://crbug.com/505314 | 813 "-Wno-unknown-pragmas", # http://crbug.com/505314 |
814 "-Wno-unused-function", # http://crbug.com/505316 | 814 "-Wno-unused-function", # http://crbug.com/505316 |
815 "-Wno-unused-private-field", # http://crbug.com/505317 | |
816 "-Wno-unused-value", # http://crbug.com/505318 | 815 "-Wno-unused-value", # http://crbug.com/505318 |
817 "-Wno-unused-variable", # http://crbug.com/505319 | 816 "-Wno-unused-variable", # http://crbug.com/505319 |
818 "-Wno-unused-local-typedef", # http://crbug.com/411648 | 817 "-Wno-unused-local-typedef", # http://crbug.com/411648 |
819 ] | 818 ] |
820 } | 819 } |
821 } else { | 820 } else { |
822 # Common GCC warning setup. | 821 # Common GCC warning setup. |
823 default_warning_flags += [ | 822 default_warning_flags += [ |
824 # Enables. | 823 # Enables. |
825 "-Wendif-labels", # Weird old-style text after an #endif. | 824 "-Wendif-labels", # Weird old-style text after an #endif. |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1232 cflags += [ "-gsplit-dwarf" ] | 1231 cflags += [ "-gsplit-dwarf" ] |
1233 } | 1232 } |
1234 } | 1233 } |
1235 } | 1234 } |
1236 | 1235 |
1237 config("no_symbols") { | 1236 config("no_symbols") { |
1238 if (!is_win) { | 1237 if (!is_win) { |
1239 cflags = [ "-g0" ] | 1238 cflags = [ "-g0" ] |
1240 } | 1239 } |
1241 } | 1240 } |
OLD | NEW |