OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'sanitizer_options', | 8 'target_name': 'sanitizer_options', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'toolsets': ['host', 'target'], | 10 'toolsets': ['host', 'target'], |
(...skipping 10 matching lines...) Expand all Loading... |
21 'include_dirs': [ | 21 'include_dirs': [ |
22 '../..', | 22 '../..', |
23 ], | 23 ], |
24 # Some targets may want to opt-out from ASan, TSan and MSan and link | 24 # Some targets may want to opt-out from ASan, TSan and MSan and link |
25 # without the corresponding runtime libraries. We drop the libc++ | 25 # without the corresponding runtime libraries. We drop the libc++ |
26 # dependency and omit the compiler flags to avoid bringing instrumented | 26 # dependency and omit the compiler flags to avoid bringing instrumented |
27 # code to those targets. | 27 # code to those targets. |
28 'conditions': [ | 28 'conditions': [ |
29 ['use_custom_libcxx==1', { | 29 ['use_custom_libcxx==1', { |
30 'dependencies!': [ | 30 'dependencies!': [ |
31 '../../third_party/libc++/libc++.gyp:libcxx_proxy', | 31 '../../buildtools/third_party/libc++/libc++.gyp:libcxx_proxy', |
32 ], | 32 ], |
33 }], | 33 }], |
34 ['tsan==1', { | 34 ['tsan==1', { |
35 'sources': [ | 35 'sources': [ |
36 'tsan_suppressions.cc', | 36 'tsan_suppressions.cc', |
37 ], | 37 ], |
38 }], | 38 }], |
39 ], | 39 ], |
40 'cflags/': [ | 40 'cflags/': [ |
41 ['exclude', '-fsanitize='], | 41 ['exclude', '-fsanitize='], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 'files': [ | 73 'files': [ |
74 '<(llvm_symbolizer_path)', | 74 '<(llvm_symbolizer_path)', |
75 ], | 75 ], |
76 }], | 76 }], |
77 }], | 77 }], |
78 ], | 78 ], |
79 }, | 79 }, |
80 ], | 80 ], |
81 } | 81 } |
82 | 82 |
OLD | NEW |