• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3# found in the LICENSE file.
4
5{
6   'targets': [
7     {
8       'target_name': 'asan_dynamic_runtime',
9       'toolsets': ['target', 'host'],
10       'type': 'none',
11       'variables': {
12         # Every target is going to depend on asan_dynamic_runtime, so allow
13         # this one to depend on itself.
14         'prune_self_dependency': 1,
15         # Path is relative to this GYP file.
16         'asan_rtl_mask_path':
17             '../../third_party/llvm-build/Release+Asserts/lib/clang/*/lib/darwin',
18         'asan_osx_dynamic':
19             '<(asan_rtl_mask_path)/libclang_rt.asan_osx_dynamic.dylib',
20       },
21       'copies': [
22         {
23           'destination': '<(PRODUCT_DIR)',
24           'files': [
25             '<!(/bin/ls <(asan_osx_dynamic))',
26           ],
27         },
28       ],
29     },
30   ],
31}
32