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

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

Issue 21983003: Make the Mac build work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dunnow Created 7 years, 4 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 | « tools/gn/secondary/build/config/BUILDCONFIG.gn ('k') | tools/gn/secondary/build/config/compiler/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/build/config/clang/BUILD.gn
diff --git a/tools/gn/secondary/build/config/clang/BUILD.gn b/tools/gn/secondary/build/config/clang/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d083e86c11b452113f8b04bbe02be8aa45385151
--- /dev/null
+++ b/tools/gn/secondary/build/config/clang/BUILD.gn
@@ -0,0 +1,18 @@
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+config("find_bad_constructs") {
+ cflags = [
+ "-Xclang", "-load",
+ "-Xclang",
+
+ # TODO(brettw) express this in terms of a relative dir from the output.
+ # for now, assume the output dir is two levels deep under the source
+ # (like "out/Debug").
+ "../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib",
+
+ "-Xclang", "-add-plugin",
+ "-Xclang", "find-bad-constructs",
+ ]
+}
« no previous file with comments | « tools/gn/secondary/build/config/BUILDCONFIG.gn ('k') | tools/gn/secondary/build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698