OLD | NEW |
1 # Copyright 2015 the V8 project authors. All rights reserved. | 1 # Copyright 2015 the V8 project 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': 'asan_dynamic_runtime', | 8 'target_name': 'asan_dynamic_runtime', |
9 'toolsets': ['target', 'host'], | 9 'toolsets': ['target', 'host'], |
10 'type': 'none', | 10 'type': 'none', |
11 'variables': { | 11 'variables': { |
12 # Every target is going to depend on asan_dynamic_runtime, so allow | 12 # Every target is going to depend on asan_dynamic_runtime, so allow |
13 # this one to depend on itself. | 13 # this one to depend on itself. |
14 'prune_self_dependency': 1, | 14 'prune_self_dependency': 1, |
15 # Path is relative to this GYP file. | 15 # Path is relative to this GYP file. |
16 'asan_rtl_mask_path': | 16 'asan_rtl_mask_path': |
17 '../../third_party/llvm-build/Release+Asserts/lib/clang/*/lib/darwi
n', | 17 '../../third_party/llvm-build/Release+Asserts/lib/clang/*/lib/darwi
n', |
18 'asan_osx_dynamic': | 18 'asan_osx_dynamic': |
19 '<(asan_rtl_mask_path)/libclang_rt.asan_osx_dynamic.dylib', | 19 '<(asan_rtl_mask_path)/libclang_rt.asan_osx_dynamic.dylib', |
20 'asan_iossim_dynamic': | |
21 '<(asan_rtl_mask_path)/libclang_rt.asan_iossim_dynamic.dylib', | |
22 }, | 20 }, |
23 'copies': [ | 21 'copies': [ |
24 { | 22 { |
25 'destination': '<(PRODUCT_DIR)', | 23 'destination': '<(PRODUCT_DIR)', |
26 'files': [ | 24 'files': [ |
27 '<!(/bin/ls <(asan_osx_dynamic))', | 25 '<!(/bin/ls <(asan_osx_dynamic))', |
28 ], | 26 ], |
29 }, | 27 }, |
30 ], | 28 ], |
31 }, | 29 }, |
32 ], | 30 ], |
33 } | 31 } |
OLD | NEW |