Index: build/config/clang/BUILD.gn |
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn |
index 22e308f330a9432e8521428cb69a105788fe2837..0aeccd07da180ca83b12dc997898185a7e9919b2 100644 |
--- a/build/config/clang/BUILD.gn |
+++ b/build/config/clang/BUILD.gn |
@@ -35,18 +35,12 @@ config("find_bad_constructs") { |
"-add-plugin", |
"-Xclang", |
"find-bad-constructs", |
+ "-Xclang", |
+ "-plugin-arg-find-bad-constructs", |
+ "-Xclang", |
+ "check-auto-raw-pointer", |
] |
- # TODO(vmpstr): We need to enable this everywhere. crbug.com/554600 |
- if (is_linux && !is_chromeos && !is_chromecast) { |
- cflags += [ |
- "-Xclang", |
- "-plugin-arg-find-bad-constructs", |
- "-Xclang", |
- "check-auto-raw-pointer", |
- ] |
- } |
- |
if ((is_linux || is_android) && !is_chromecast) { |
cflags += [ |
"-Xclang", |