| 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 if (cpu_arch == "arm") { |    6 if (cpu_arch == "arm") { | 
|    7   import("//build/config/arm.gni") |    7   import("//build/config/arm.gni") | 
|    8 } |    8 } | 
|    9 if (is_posix) { |    9 if (is_posix) { | 
|   10   import("//build/config/gcc/gcc_version.gni") |   10   import("//build/config/gcc/gcc_version.gni") | 
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  755         # http://crbug.com/255186 |  755         # http://crbug.com/255186 | 
|  756         "-Wno-deprecated-register", |  756         "-Wno-deprecated-register", | 
|  757  |  757  | 
|  758         # TODO(thakis): This used to be implied by -Wno-unused-function, |  758         # TODO(thakis): This used to be implied by -Wno-unused-function, | 
|  759         # which we no longer use. Check if it makes sense to remove |  759         # which we no longer use. Check if it makes sense to remove | 
|  760         # this as well. http://crbug.com/316352 |  760         # this as well. http://crbug.com/316352 | 
|  761         "-Wno-unneeded-internal-declaration", |  761         "-Wno-unneeded-internal-declaration", | 
|  762  |  762  | 
|  763         # TODO(thakis): Remove, http://crbug.com/263960 |  763         # TODO(thakis): Remove, http://crbug.com/263960 | 
|  764         "-Wno-reserved-user-defined-literal", |  764         "-Wno-reserved-user-defined-literal", | 
|  765  |  | 
|  766         # TODO(hans): Get this cleaned up. |  | 
|  767         "-Wno-inconsistent-missing-override", |  | 
|  768       ] |  765       ] | 
|  769     } |  766     } | 
|  770     if (gcc_version >= 48) { |  767     if (gcc_version >= 48) { | 
|  771       cflags_cc += [ |  768       cflags_cc += [ | 
|  772         # See comment for -Wno-c++11-narrowing. |  769         # See comment for -Wno-c++11-narrowing. | 
|  773         "-Wno-narrowing", |  770         "-Wno-narrowing", | 
|  774  |  771  | 
|  775         # TODO(thakis): Remove, http://crbug.com/263960 |  772         # TODO(thakis): Remove, http://crbug.com/263960 | 
|  776         "-Wno-literal-suffix", |  773         "-Wno-literal-suffix", | 
|  777       ] |  774       ] | 
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  979       cflags += [ "-gsplit-dwarf" ] |  976       cflags += [ "-gsplit-dwarf" ] | 
|  980     } |  977     } | 
|  981   } |  978   } | 
|  982 } |  979 } | 
|  983  |  980  | 
|  984 config("no_symbols") { |  981 config("no_symbols") { | 
|  985   if (!is_win) { |  982   if (!is_win) { | 
|  986     cflags = [ "-g0" ] |  983     cflags = [ "-g0" ] | 
|  987   } |  984   } | 
|  988 } |  985 } | 
| OLD | NEW |