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-c++11-compat-deprecated-writable-strings", # http://crbug.com/50465
9 | 802 "-Wno-c++11-compat-deprecated-writable-strings", # http://crbug.com/50465
9 |
803 "-Wno-deprecated-declarations", # http://crbug.com/504660 | 803 "-Wno-deprecated-declarations", # http://crbug.com/504660 |
804 "-Wno-empty-body", # http://crbug.com/504661 | 804 "-Wno-empty-body", # http://crbug.com/504661 |
805 "-Wno-enum-conversion", # http://crbug.com/504662 | 805 "-Wno-enum-conversion", # http://crbug.com/504662 |
806 "-Wno-extra-tokens", # http://crbug.com/504663 | 806 "-Wno-extra-tokens", # http://crbug.com/504663 |
807 "-Wno-ignored-attributes", # http://crbug.com/504695 | 807 "-Wno-ignored-attributes", # http://crbug.com/504695 |
808 "-Wno-incompatible-pointer-types", # http://crbug.com/504696 | 808 "-Wno-incompatible-pointer-types", # http://crbug.com/504696 |
809 "-Wno-int-to-void-pointer-cast", # http://crbug.com/504697 | 809 "-Wno-int-to-void-pointer-cast", # http://crbug.com/504697 |
810 "-Wno-invalid-noreturn", # http://crbug.com/504698 | 810 "-Wno-invalid-noreturn", # http://crbug.com/504698 |
811 "-Wno-logical-op-parentheses", # http://crbug.com/504699 | 811 "-Wno-logical-op-parentheses", # http://crbug.com/504699 |
812 "-Wno-microsoft", | 812 "-Wno-microsoft", # http://crbug.com/505296 |
813 "-Wno-missing-braces", | 813 "-Wno-missing-braces", # http://crbug.com/505297 |
814 "-Wno-missing-declarations", | 814 "-Wno-missing-declarations", # http://crbug.com/505298 |
815 "-Wno-msvc-include", | 815 "-Wno-msvc-include", # http://crbug.com/505299 |
816 "-Wno-null-dereference", | 816 "-Wno-null-dereference", # http://crbug.com/ |
817 "-Wno-overloaded-virtual", | 817 "-Wno-overloaded-virtual", # http://crbug.com/505301 |
818 "-Wno-parentheses", | 818 "-Wno-parentheses", # http://crbug.com/505302 |
819 "-Wno-pointer-sign", | 819 "-Wno-pointer-sign", # http://crbug.com/505303 |
820 "-Wno-reorder", | 820 "-Wno-reorder", # http://crbug.com/505304 |
821 "-Wno-return-type-c-linkage", | 821 "-Wno-return-type-c-linkage", # http://crbug.com/505305 |
822 "-Wno-self-assign", | 822 "-Wno-self-assign", # http://crbug.com/505306 |
823 "-Wno-sometimes-uninitialized", | 823 "-Wno-sometimes-uninitialized", # http://crbug.com/505307 |
824 "-Wno-switch", | 824 "-Wno-switch", # http://crbug.com/505308 |
825 "-Wno-tautological-compare", | 825 "-Wno-tautological-compare", # http://crbug.com/505309 |
826 "-Wno-unknown-pragmas", | 826 "-Wno-unknown-pragmas", # http://crbug.com/505314 |
827 "-Wno-unsequenced", | 827 "-Wno-unsequenced", # http://crbug.com/505315 |
828 "-Wno-unused-function", | 828 "-Wno-unused-function", # http://crbug.com/505316 |
829 "-Wno-unused-private-field", | 829 "-Wno-unused-private-field", # http://crbug.com/505317 |
830 "-Wno-unused-value", | 830 "-Wno-unused-value", # http://crbug.com/505318 |
831 "-Wno-unused-variable", | 831 "-Wno-unused-variable", # http://crbug.com/505319 |
832 "-Wno-unused-local-typedef", # http://crbug.com/411648 | 832 "-Wno-unused-local-typedef", # http://crbug.com/411648 |
833 ] | 833 ] |
834 } | 834 } |
835 } else { | 835 } else { |
836 # Common GCC warning setup. | 836 # Common GCC warning setup. |
837 default_warning_flags += [ | 837 default_warning_flags += [ |
838 # Enables. | 838 # Enables. |
839 "-Wendif-labels", # Weird old-style text after an #endif. | 839 "-Wendif-labels", # Weird old-style text after an #endif. |
840 "-Werror", # Warnings as errors. | 840 "-Werror", # Warnings as errors. |
841 | 841 |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 cflags += [ "-gsplit-dwarf" ] | 1246 cflags += [ "-gsplit-dwarf" ] |
1247 } | 1247 } |
1248 } | 1248 } |
1249 } | 1249 } |
1250 | 1250 |
1251 config("no_symbols") { | 1251 config("no_symbols") { |
1252 if (!is_win) { | 1252 if (!is_win) { |
1253 cflags = [ "-g0" ] | 1253 cflags = [ "-g0" ] |
1254 } | 1254 } |
1255 } | 1255 } |
OLD | NEW |