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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 | 794 |
795 # Building with Clang on Windows is a work in progress and very | 795 # Building with Clang on Windows is a work in progress and very |
796 # experimental. See crbug.com/82385. | 796 # experimental. See crbug.com/82385. |
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-empty-body", # http://crbug.com/504661 | 802 "-Wno-empty-body", # http://crbug.com/504661 |
803 "-Wno-extra-tokens", # http://crbug.com/504663 | 803 "-Wno-extra-tokens", # http://crbug.com/504663 |
804 "-Wno-incompatible-pointer-types", # http://crbug.com/504696 | |
805 "-Wno-logical-op-parentheses", # http://crbug.com/504699 | 804 "-Wno-logical-op-parentheses", # http://crbug.com/504699 |
806 "-Wno-microsoft", # http://crbug.com/505296 | 805 "-Wno-microsoft", # http://crbug.com/505296 |
807 "-Wno-missing-braces", # http://crbug.com/505297 | 806 "-Wno-missing-braces", # http://crbug.com/505297 |
808 "-Wno-msvc-include", # http://crbug.com/505299 | 807 "-Wno-msvc-include", # http://crbug.com/505299 |
809 "-Wno-overloaded-virtual", # http://crbug.com/505301 | 808 "-Wno-overloaded-virtual", # http://crbug.com/505301 |
810 "-Wno-pointer-sign", # http://crbug.com/505303 | 809 "-Wno-pointer-sign", # http://crbug.com/505303 |
811 "-Wno-reorder", # http://crbug.com/505304 | 810 "-Wno-reorder", # http://crbug.com/505304 |
812 "-Wno-switch", # http://crbug.com/505308 | 811 "-Wno-switch", # http://crbug.com/505308 |
813 "-Wno-unknown-pragmas", # http://crbug.com/505314 | 812 "-Wno-unknown-pragmas", # http://crbug.com/505314 |
814 "-Wno-unused-function", # http://crbug.com/505316 | 813 "-Wno-unused-function", # http://crbug.com/505316 |
(...skipping 417 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 |