OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 config("find_bad_constructs") { | 5 config("find_bad_constructs") { |
6 cflags = [ | 6 cflags = [ |
7 "-Xclang", "-load", | 7 "-Xclang", "-load", |
8 "-Xclang", | 8 "-Xclang", |
9 | 9 |
10 # TODO(brettw) express this in terms of a relative dir from the output. | 10 # TODO(brettw) express this in terms of a relative dir from the output. |
11 # for now, assume the output dir is two levels deep under the source | 11 # for now, assume the output dir is two levels deep under the source |
12 # (like "out/Debug"). | 12 # (like "out/Debug"). |
13 "../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib
", | 13 "../../third_party/llvm-build/Release+Asserts/lib/libFindBadConstructs.dylib
", |
14 | 14 |
15 "-Xclang", "-add-plugin", | 15 "-Xclang", "-add-plugin", |
16 "-Xclang", "find-bad-constructs", | 16 "-Xclang", "find-bad-constructs", |
17 ] | 17 ] |
18 } | 18 } |
OLD | NEW |