Index: content/content_shell.gypi |
diff --git a/content/content_shell.gypi b/content/content_shell.gypi |
index e1564842c1847dcf74b5d004b7478672a8893f99..3dee49427fece57ba230528656542195e9a67c9a 100644 |
--- a/content/content_shell.gypi |
+++ b/content/content_shell.gypi |
@@ -751,5 +751,39 @@ |
}, |
], |
}], # OS=="android" |
+ ['OS=="win" and fastbuild==0 and target_arch=="ia32"', { |
+ 'variables': { |
+ 'dest_dir': '<(PRODUCT_DIR)/syzygy', |
+ }, |
+ 'targets': [ |
+ { |
+ 'target_name': 'content_shell_syzyasan', |
+ 'type': 'none', |
+ 'sources' : [], |
+ # Instrument content_shell with SyzyAsan. |
+ 'actions': [ |
+ { |
+ 'action_name': 'Instrument content_shell with SyzyAsan', |
+ 'msvs_cygwin_shell': 0, |
+ 'inputs': [ |
+ '<(PRODUCT_DIR)/content_shell.exe', |
+ ], |
+ 'outputs': [ |
+ '<(dest_dir)/content_shell.exe', |
+ '<(dest_dir)/content_shell.exe.pdb', |
+ ], |
+ 'action': [ |
+ 'python', |
+ '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py', |
+ '--mode', 'asan', |
+ '--input_executable', '<(PRODUCT_DIR)/content_shell.exe', |
+ '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', |
+ '--destination_dir', '<(dest_dir)', |
+ ], |
+ }, |
+ ], |
+ }, |
+ ], |
+ }], # OS=="win" and fastbuild==0 and target_arch=="ia32" |
] |
} |