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

Unified Diff: chrome/chrome_exe.gypi

Issue 901673002: Instantiate a Kasko reporter inside the Chrome watcher process, when SyzyASAN instrumented. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ship_kasko
Patch Set: Created 5 years, 10 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
Index: chrome/chrome_exe.gypi
diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi
index 46c84f9883347a301f2fc14deafaf3a2e2d448b3..ec8b03252d80a5c0185d8a8624b806d7a438a07b 100644
--- a/chrome/chrome_exe.gypi
+++ b/chrome/chrome_exe.gypi
@@ -109,6 +109,11 @@
'../components/components.gyp:browser_watcher_client',
],
}],
+ ['syzyasan==1', {
+ 'dependencies': [
+ 'copy_kasko_dlls',
+ ],
+ }],
['OS == "android"', {
# Don't put the 'chrome' target in 'all' on android
'suppress_wildcard': 1,
@@ -698,5 +703,31 @@
},
],
}],
+ ['syzyasan==1', {
+ 'variables': {
+ 'kasko_exe_dir': '<(DEPTH)/third_party/kasko',
+ },
+ # Copy the Kasko runtime to the build output directory so that it can be
+ # found when running from the build directory.
+ 'targets': [
+ {
+ 'target_name': 'copy_kasko_dlls',
+ 'type': 'none',
+ 'outputs': [
+ '<(PRODUCT_DIR)/kasko.dll',
+ '<(PRODUCT_DIR)/kasko.dll.pdb',
+ ],
+ 'copies': [
+ {
+ 'destination': '<(PRODUCT_DIR)',
+ 'files': [
+ '<(kasko_exe_dir)/kasko.dll',
+ '<(kasko_exe_dir)/kasko.dll.pdb',
+ ],
+ },
+ ],
+ },
+ ],
+ }],
],
}

Powered by Google App Engine
This is Rietveld 408576698