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. |