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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
802 "-Wno-extra-tokens", # http://crbug.com/504663 | 802 "-Wno-extra-tokens", # http://crbug.com/504663 |
803 "-Wno-incompatible-pointer-types", # http://crbug.com/504696 | 803 "-Wno-incompatible-pointer-types", # http://crbug.com/504696 |
804 "-Wno-microsoft", # http://crbug.com/505296 | 804 "-Wno-microsoft", # http://crbug.com/505296 |
805 "-Wno-missing-braces", # http://crbug.com/505297 | 805 "-Wno-missing-braces", # http://crbug.com/505297 |
806 "-Wno-msvc-include", # http://crbug.com/505299 | 806 "-Wno-msvc-include", # http://crbug.com/505299 |
807 "-Wno-pointer-sign", # http://crbug.com/505303 | 807 "-Wno-pointer-sign", # http://crbug.com/505303 |
808 "-Wno-reorder", # http://crbug.com/505304 | 808 "-Wno-reorder", # http://crbug.com/505304 |
809 "-Wno-switch", # http://crbug.com/505308 | 809 "-Wno-switch", # http://crbug.com/505308 |
810 "-Wno-unknown-pragmas", # http://crbug.com/505314 | 810 "-Wno-unknown-pragmas", # http://crbug.com/505314 |
811 "-Wno-unused-function", # http://crbug.com/505316 | 811 "-Wno-unused-function", # http://crbug.com/505316 |
812 "-Wno-unused-private-field", # http://crbug.com/505317 | |
813 "-Wno-unused-value", # http://crbug.com/505318 | 812 "-Wno-unused-value", # http://crbug.com/505318 |
814 "-Wno-unused-variable", # http://crbug.com/505319 | 813 "-Wno-unused-variable", # http://crbug.com/505319 |
815 "-Wno-unused-local-typedef", # http://crbug.com/411648 | 814 "-Wno-unused-local-typedef", # http://crbug.com/411648 |
816 ] | 815 ] |
817 } | 816 } |
818 } else { | 817 } else { |
819 # Common GCC warning setup. | 818 # Common GCC warning setup. |
820 default_warning_flags += [ | 819 default_warning_flags += [ |
821 # Enables. | 820 # Enables. |
822 "-Wendif-labels", # Weird old-style text after an #endif. | 821 "-Wendif-labels", # Weird old-style text after an #endif. |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1237 cflags += [ "-gsplit-dwarf" ] | 1236 cflags += [ "-gsplit-dwarf" ] |
1238 } | 1237 } |
1239 } | 1238 } |
1240 } | 1239 } |
1241 | 1240 |
1242 config("no_symbols") { | 1241 config("no_symbols") { |
1243 if (!is_win) { | 1242 if (!is_win) { |
1244 cflags = [ "-g0" ] | 1243 cflags = [ "-g0" ] |
1245 } | 1244 } |
1246 } | 1245 } |
OLD | NEW |