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

Unified Diff: build/config/clang/clang.gni

Issue 782813002: GN: prevent Clang plugins from being injected into NaCl toolchains. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/clang/clang.gni
diff --git a/build/config/clang/clang.gni b/build/config/clang/clang.gni
index 3b2d76fbe6af7e41ad6d3d309a26fb439f86d8e1..54d8570935d78ef379899f61d3a5ff3508232724 100644
--- a/build/config/clang/clang.gni
+++ b/build/config/clang/clang.gni
@@ -5,5 +5,5 @@
declare_args() {
# Indicates if the build should use the Chrome-specific plugins for enforcing
# coding guidelines, etc. Only used when compiling with Clang.
- clang_use_chrome_plugins = is_clang
+ clang_use_chrome_plugins = is_clang && os != "nacl"
brettw 2014/12/05 21:23:44 I'd use "|| !is_nacl" instead here.
Dirk Pranke 2014/12/05 21:28:36 really? I think what Nick wrote is clearer. Seems
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698