| 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", |
| 765 ] | 768 ] |
| 766 } | 769 } |
| 767 if (gcc_version >= 48) { | 770 if (gcc_version >= 48) { |
| 768 cflags_cc += [ | 771 cflags_cc += [ |
| 769 # See comment for -Wno-c++11-narrowing. | 772 # See comment for -Wno-c++11-narrowing. |
| 770 "-Wno-narrowing", | 773 "-Wno-narrowing", |
| 771 | 774 |
| 772 # TODO(thakis): Remove, http://crbug.com/263960 | 775 # TODO(thakis): Remove, http://crbug.com/263960 |
| 773 "-Wno-literal-suffix", | 776 "-Wno-literal-suffix", |
| 774 ] | 777 ] |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 976 cflags += [ "-gsplit-dwarf" ] | 979 cflags += [ "-gsplit-dwarf" ] |
| 977 } | 980 } |
| 978 } | 981 } |
| 979 } | 982 } |
| 980 | 983 |
| 981 config("no_symbols") { | 984 config("no_symbols") { |
| 982 if (!is_win) { | 985 if (!is_win) { |
| 983 cflags = [ "-g0" ] | 986 cflags = [ "-g0" ] |
| 984 } | 987 } |
| 985 } | 988 } |
| OLD | NEW |