diff options
Diffstat (limited to 'chrome/chrome_syzygy.gyp')
-rw-r--r-- | chrome/chrome_syzygy.gyp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/chrome/chrome_syzygy.gyp b/chrome/chrome_syzygy.gyp index 0801d18..ea73fa5 100644 --- a/chrome/chrome_syzygy.gyp +++ b/chrome/chrome_syzygy.gyp @@ -3,6 +3,34 @@ # found in the LICENSE file. { 'conditions': [ + ['OS=="win" and asan==1', { + 'variables': { + 'dest_dir': '<(PRODUCT_DIR)/syzygy', + 'syzygy_exe_dir': '<(DEPTH)/third_party/syzygy/binaries/exe', + }, + # Copy the SyzyASan runtime and logger to the syzygy directory. + 'targets': [ + { + 'target_name': 'copy_syzyasan_binaries', + 'type': 'none', + 'outputs': [ + '<(dest_dir)/agent_logger.exe', + '<(dest_dir)/syzyasan_rtl.dll', + '<(dest_dir)/syzyasan_rtl.dll.pdb', + ], + 'copies': [ + { + 'destination': '<(dest_dir)', + 'files': [ + '<(syzygy_exe_dir)/agent_logger.exe', + '<(syzygy_exe_dir)/syzyasan_rtl.dll', + '<(syzygy_exe_dir)/syzyasan_rtl.dll.pdb', + ], + }, + ], + }, + ], + }], ['OS=="win" and fastbuild==0', { 'variables': { 'dll_name': 'chrome', |