Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 878ec588c89036b8bb3bed1e321b30031ac0b47d..8429177020d25f119bea42aff791f02580e0340f 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -1035,18 +1035,9 @@ config("default_warnings") { |
] |
} |
- if (is_chromeos) { |
- # TODO(thakis): Remove, http://crbug.com/263960 |
- if (is_clang) { |
- cflags_cc += [ "-Wno-reserved-user-defined-literal" ] |
- |
- # TODO(thakis): Enable this, crbug.com/507717 |
- if (!is_nacl) { |
- cflags += [ "-Wno-shift-negative-value" ] |
- } |
- } else { |
- cflags_cc += [ "-Wno-literal-suffix" ] |
- } |
+ if (is_chromeos && is_clang && !is_nacl) { |
+ # TODO(thakis): Enable this, crbug.com/507717 |
+ cflags += [ "-Wno-shift-negative-value" ] |
} |
if (is_clang) { |