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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 # Keep this in sync with the similar block in build/common.gypi | 797 # Keep this in sync with the similar block in build/common.gypi |
798 if (is_clang) { | 798 if (is_clang) { |
799 default_warning_flags += [ | 799 default_warning_flags += [ |
800 # TODO(hans): Make this list shorter eventually, http://crbug.com/504657 | 800 # TODO(hans): Make this list shorter eventually, http://crbug.com/504657 |
801 "-Qunused-arguments", # http://crbug.com/504658 | 801 "-Qunused-arguments", # http://crbug.com/504658 |
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", | 807 "-Wno-ignored-attributes", # http://crbug.com/504695 |
808 "-Wno-incompatible-pointer-types", | 808 "-Wno-incompatible-pointer-types", # http://crbug.com/504696 |
809 "-Wno-int-to-void-pointer-cast", | 809 "-Wno-int-to-void-pointer-cast", # http://crbug.com/504697 |
810 "-Wno-invalid-noreturn", | 810 "-Wno-invalid-noreturn", # http://crbug.com/504698 |
811 "-Wno-logical-op-parentheses", | 811 "-Wno-logical-op-parentheses", # http://crbug.com/504699 |
812 "-Wno-microsoft", | 812 "-Wno-microsoft", |
813 "-Wno-missing-braces", | 813 "-Wno-missing-braces", |
814 "-Wno-missing-declarations", | 814 "-Wno-missing-declarations", |
815 "-Wno-msvc-include", | 815 "-Wno-msvc-include", |
816 "-Wno-null-dereference", | 816 "-Wno-null-dereference", |
817 "-Wno-overloaded-virtual", | 817 "-Wno-overloaded-virtual", |
818 "-Wno-parentheses", | 818 "-Wno-parentheses", |
819 "-Wno-pointer-sign", | 819 "-Wno-pointer-sign", |
820 "-Wno-reorder", | 820 "-Wno-reorder", |
821 "-Wno-return-type-c-linkage", | 821 "-Wno-return-type-c-linkage", |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 cflags += [ "-gsplit-dwarf" ] | 1247 cflags += [ "-gsplit-dwarf" ] |
1248 } | 1248 } |
1249 } | 1249 } |
1250 } | 1250 } |
1251 | 1251 |
1252 config("no_symbols") { | 1252 config("no_symbols") { |
1253 if (!is_win) { | 1253 if (!is_win) { |
1254 cflags = [ "-g0" ] | 1254 cflags = [ "-g0" ] |
1255 } | 1255 } |
1256 } | 1256 } |
OLD | NEW |