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

Unified Diff: chrome/tools/build/win/syzygy/BUILD.gn

Issue 2559053002: Instrument setup.exe in the SyzyAsan builds.
Patch Set: Fix the component build Created 3 years, 8 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/tools/build/win/syzygy/BUILD.gn
diff --git a/chrome/tools/build/win/syzygy/BUILD.gn b/chrome/tools/build/win/syzygy/BUILD.gn
index 08139f1bb3f592bbc4d3f59d6825b9aff6240655..30e4c2f20ba5e5cb0d78ce59552a403502a2647c 100644
--- a/chrome/tools/build/win/syzygy/BUILD.gn
+++ b/chrome/tools/build/win/syzygy/BUILD.gn
@@ -60,6 +60,18 @@ if (is_syzyasan) {
}
}
}
+
+ syzygy_asan("setup_syzygy") {
+ binary_name = "setup.exe"
+ dest_dir = syzygy_dest_dir
+
+ # Defer the crash reporter initialization as the crash reporter isn't
+ # available at startup in setup.exe.
+ extra_args = [ "--defer-crash-reporter-initialization" ]
+ deps = [
+ "//chrome/installer/setup",
+ ]
+ }
} else {
# No syzygy. Generate dummy targets so other targets can unconditionally
# depend on these without having to duplicate our conditions.

Powered by Google App Engine
This is Rietveld 408576698