Chromium Code Reviews| Index: build/config/clang/BUILD.gn |
| diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn |
| index c2249f211a2aa036790edb71a8931366ae8b6591..3dc141fb3d0bd427b25e928ec038f1a4f3334fb8 100644 |
| --- a/build/config/clang/BUILD.gn |
| +++ b/build/config/clang/BUILD.gn |
| @@ -49,6 +49,16 @@ config("find_bad_constructs") { |
| "-Xclang", |
| "check-implicit-copy-ctors", |
| ] |
| + |
| + if ((is_linux || is_android) && !is_chromeos && |
| + !(defined(is_chromecast) && is_chromecast)) { |
|
Dirk Pranke
2016/04/25 18:41:42
import("//build/config/chromecast_build.gni") up a
|
| + cflags += [ |
| + "-Xclang", |
| + "-plugin-arg-find-bad-constructs", |
| + "-Xclang", |
| + "check-ipc", |
| + ] |
| + } |
| } |
| } |