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

Unified Diff: 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
« no previous file with comments | « no previous file | build/win/syzygy/instrument.py » ('j') | chrome/installer/mini_installer/mini_installer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/win/syzygy/BUILD.gn
diff --git a/build/win/syzygy/BUILD.gn b/build/win/syzygy/BUILD.gn
index 1d26b5a6e7c18841f8b7ce1d41e5375ec7941547..a8309e65cc022134dd86cd8bd4db8a7ae91826d6 100644
--- a/build/win/syzygy/BUILD.gn
+++ b/build/win/syzygy/BUILD.gn
@@ -2,22 +2,40 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-copy("copy_syzyasan_binaries") {
- visibility = [
- "//chrome/*",
- "//content/*",
- ]
+source_dir = "//third_party/syzygy/binaries/exe"
- source_dir = "//third_party/syzygy/binaries/exe"
+template("copy_syzyasan_binaries_base") {
+ copy_name = "copy_" + target_name
+ copy(copy_name) {
+ forward_variables_from(invoker, [ "sources" ])
+ outputs = [
+ "$root_out_dir/syzygy/{{source_file_part}}",
+ ]
+ }
+}
+
+copy_syzyasan_binaries_base("syzyasan_logging_binaries") {
sources = [
"$source_dir/agent_logger.exe",
"$source_dir/minidump_symbolizer.py",
+ ]
+}
+
+copy_syzyasan_binaries_base("syzyasan_runtime_binaries") {
+ sources = [
"$source_dir/syzyasan_rtl.dll",
"$source_dir/syzyasan_rtl.dll.pdb",
]
+}
- outputs = [
- "$root_out_dir/syzygy/{{source_file_part}}",
+group("copy_syzyasan_binaries") {
+ visibility = [
+ "//chrome/*",
+ "//content/*",
+ ]
+ deps = [
+ ":copy_syzyasan_logging_binaries",
+ ":copy_syzyasan_runtime_binaries",
]
}
« no previous file with comments | « no previous file | build/win/syzygy/instrument.py » ('j') | chrome/installer/mini_installer/mini_installer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698