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

Unified Diff: content/content_shell.gypi

Issue 25061002: Add a target to produce a SyzyASan instrumented build of content_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content_shell
Patch Set: Enable the content_shell_syzygy target only for the 32 bits builds. Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
]
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698