Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3918)

Unified Diff: build/config/clang/BUILD.gn

Issue 1904553002: Check IPC messages for banned types on Linux and Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-enable Linux and use defined(is_chromecast) Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
}
}
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698