OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 5 'conditions': [ |
| 6 ['OS=="win" and asan==1', { |
| 7 'variables': { |
| 8 'dest_dir': '<(PRODUCT_DIR)/syzygy', |
| 9 'syzygy_exe_dir': '<(DEPTH)/third_party/syzygy/binaries/exe', |
| 10 }, |
| 11 # Copy the SyzyASan runtime and logger to the syzygy directory. |
| 12 'targets': [ |
| 13 { |
| 14 'target_name': 'copy_syzyasan_binaries', |
| 15 'type': 'none', |
| 16 'outputs': [ |
| 17 '<(dest_dir)/agent_logger.exe', |
| 18 '<(dest_dir)/syzyasan_rtl.dll', |
| 19 '<(dest_dir)/syzyasan_rtl.dll.pdb', |
| 20 ], |
| 21 'copies': [ |
| 22 { |
| 23 'destination': '<(dest_dir)', |
| 24 'files': [ |
| 25 '<(syzygy_exe_dir)/agent_logger.exe', |
| 26 '<(syzygy_exe_dir)/syzyasan_rtl.dll', |
| 27 '<(syzygy_exe_dir)/syzyasan_rtl.dll.pdb', |
| 28 ], |
| 29 }, |
| 30 ], |
| 31 }, |
| 32 ], |
| 33 }], |
6 ['OS=="win" and fastbuild==0', { | 34 ['OS=="win" and fastbuild==0', { |
7 'variables': { | 35 'variables': { |
8 'dll_name': 'chrome', | 36 'dll_name': 'chrome', |
9 }, | 37 }, |
10 'targets': [ | 38 'targets': [ |
11 { | 39 { |
12 'target_name': 'chrome_dll_syzygy', | 40 'target_name': 'chrome_dll_syzygy', |
13 'type': 'none', | 41 'type': 'none', |
14 'sources' : [], | 42 'sources' : [], |
15 'includes': [ | 43 'includes': [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 '<(PRODUCT_DIR)/chrome_child.dll.pdb', | 86 '<(PRODUCT_DIR)/chrome_child.dll.pdb', |
59 ], | 87 ], |
60 }, | 88 }, |
61 ], | 89 ], |
62 }], | 90 }], |
63 }], | 91 }], |
64 ], | 92 ], |
65 }], | 93 }], |
66 ], | 94 ], |
67 } | 95 } |
OLD | NEW |