Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: chrome/chrome_syzygy.gyp

Issue 25890006: Copy asan_rtl.* and agent_logger.exe to the syzygy directory for the ASan builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move the dependency to copy_syzyasan_binaries outside of the 'action' section. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome_syzygy.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
« no previous file with comments | « build/all.gyp ('k') | chrome/chrome_syzygy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698