| 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 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
| 8 import("//build/config/nacl/config.gni") | 8 import("//build/config/nacl/config.gni") |
| 9 import("//build/toolchain/ccache.gni") | 9 import("//build/toolchain/ccache.gni") |
| 10 | 10 |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 # Building with Clang on Windows is a work in progress and very | 764 # Building with Clang on Windows is a work in progress and very |
| 765 # experimental. See crbug.com/82385. | 765 # experimental. See crbug.com/82385. |
| 766 # Keep this in sync with the similar block in build/common.gypi | 766 # Keep this in sync with the similar block in build/common.gypi |
| 767 if (is_clang) { | 767 if (is_clang) { |
| 768 cflags += [ | 768 cflags += [ |
| 769 # TODO(hans): Make this list shorter eventually, http://crbug.com/504657 | 769 # TODO(hans): Make this list shorter eventually, http://crbug.com/504657 |
| 770 "-Qunused-arguments", # http://crbug.com/504658 | 770 "-Qunused-arguments", # http://crbug.com/504658 |
| 771 "-Wno-microsoft-enum-value", # http://crbug.com/505296 | 771 "-Wno-microsoft-enum-value", # http://crbug.com/505296 |
| 772 "-Wno-unknown-pragmas", # http://crbug.com/505314 | 772 "-Wno-unknown-pragmas", # http://crbug.com/505314 |
| 773 "-Wno-microsoft-cast", # http://crbug.com/550065 | 773 "-Wno-microsoft-cast", # http://crbug.com/550065 |
| 774 | |
| 775 # Disable unused-value (crbug.com/505318) except -Wunused-result. | |
| 776 "-Wno-unused-value", | |
| 777 "-Wunused-result", | |
| 778 ] | 774 ] |
| 779 } | 775 } |
| 780 } else { | 776 } else { |
| 781 # Common GCC warning setup. | 777 # Common GCC warning setup. |
| 782 cflags += [ | 778 cflags += [ |
| 783 # Enables. | 779 # Enables. |
| 784 "-Wendif-labels", # Weird old-style text after an #endif. | 780 "-Wendif-labels", # Weird old-style text after an #endif. |
| 785 | 781 |
| 786 # Disables. | 782 # Disables. |
| 787 "-Wno-missing-field-initializers", # "struct foo f = {0};" | 783 "-Wno-missing-field-initializers", # "struct foo f = {0};" |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 if (symbol_level == 0) { | 1304 if (symbol_level == 0) { |
| 1309 configs = [ ":no_symbols" ] | 1305 configs = [ ":no_symbols" ] |
| 1310 } else if (symbol_level == 1) { | 1306 } else if (symbol_level == 1) { |
| 1311 configs = [ ":minimal_symbols" ] | 1307 configs = [ ":minimal_symbols" ] |
| 1312 } else if (symbol_level == 2) { | 1308 } else if (symbol_level == 2) { |
| 1313 configs = [ ":symbols" ] | 1309 configs = [ ":symbols" ] |
| 1314 } else { | 1310 } else { |
| 1315 assert(false) | 1311 assert(false) |
| 1316 } | 1312 } |
| 1317 } | 1313 } |
| OLD | NEW |