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