Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 1 | # Copyright (c) 2014 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 | }, |
| 15 | 'conditions': [ |
| 16 | ['OS=="win"', { |
| 17 | 'copies': [ |
| 18 | { |
| 19 | 'destination': '<(PRODUCT_DIR)', |
| 20 | 'files': [ |
| 21 | # Path is relative to this GYP file. |
| 22 | '<(DEPTH)/<(make_clang_dir)/lib/clang/<!(python <(DEPTH)/tools/clang/scripts/update.py --print-clang-version)/lib/windows/clang_rt.asan_dynamic-i386.dll', |
| 23 | ], |
| 24 | }, |
| 25 | ], |
| 26 | }], |
| 27 | ], |
| 28 | }, |
| 29 | ], |
| 30 | } |