| 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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 792     default_warning_flags += [ "/wd4702" ]  # Unreachable code. | 792     default_warning_flags += [ "/wd4702" ]  # Unreachable code. | 
| 793   } | 793   } | 
| 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-extra-tokens",  # http://crbug.com/504663 |  | 
| 803       "-Wno-microsoft",  # http://crbug.com/505296 | 802       "-Wno-microsoft",  # http://crbug.com/505296 | 
| 804       "-Wno-pointer-sign",  # http://crbug.com/505303 | 803       "-Wno-pointer-sign",  # http://crbug.com/505303 | 
| 805       "-Wno-switch",  # http://crbug.com/505308 | 804       "-Wno-switch",  # http://crbug.com/505308 | 
| 806       "-Wno-unknown-pragmas",  # http://crbug.com/505314 | 805       "-Wno-unknown-pragmas",  # http://crbug.com/505314 | 
| 807       "-Wno-unused-function",  # http://crbug.com/505316 | 806       "-Wno-unused-function",  # http://crbug.com/505316 | 
| 808       "-Wno-unused-value",  # http://crbug.com/505318 | 807       "-Wno-unused-value",  # http://crbug.com/505318 | 
| 809       "-Wno-unused-local-typedef",  # http://crbug.com/411648 | 808       "-Wno-unused-local-typedef",  # http://crbug.com/411648 | 
| 810     ] | 809     ] | 
| 811   } | 810   } | 
| 812 } else { | 811 } else { | 
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1246       cflags += [ "-gsplit-dwarf" ] | 1245       cflags += [ "-gsplit-dwarf" ] | 
| 1247     } | 1246     } | 
| 1248   } | 1247   } | 
| 1249 } | 1248 } | 
| 1250 | 1249 | 
| 1251 config("no_symbols") { | 1250 config("no_symbols") { | 
| 1252   if (!is_win) { | 1251   if (!is_win) { | 
| 1253     cflags = [ "-g0" ] | 1252     cflags = [ "-g0" ] | 
| 1254   } | 1253   } | 
| 1255 } | 1254 } | 
| OLD | NEW | 
|---|