Index: chrome/chrome_syzygy.gyp |
diff --git a/chrome/chrome_syzygy.gyp b/chrome/chrome_syzygy.gyp |
index 0801d18e62b43d9c9101ae5abbaa4698b74bffd6..ea73fa5ef21c7ffec500f1896bcd39eabf9d7135 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', |