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

Side by Side Diff: chrome/tools/build/win/syzygy/BUILD.gn

Issue 2559053002: Instrument setup.exe in the SyzyAsan builds.
Patch Set: create_installer_archive changes. Created 4 years 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/win/syzygy/syzygy.gni") 8 import("//build/win/syzygy/syzygy.gni")
9 9
10 # Where the output binaries will be placed. 10 # Where the output binaries will be placed.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ] 53 ]
54 outputs = [ 54 outputs = [
55 "$syzygy_dest_dir/{{source_file_part}}", 55 "$syzygy_dest_dir/{{source_file_part}}",
56 ] 56 ]
57 deps = [ 57 deps = [
58 "//chrome:chrome_child", 58 "//chrome:chrome_child",
59 ] 59 ]
60 } 60 }
61 } 61 }
62 } 62 }
63
64 syzygy_asan("setup_syzygy") {
65 binary_name = "setup.exe"
66 dest_dir = syzygy_dest_dir
67 deps = [
68 "//chrome/installer/setup",
69 ]
70 }
63 } else { 71 } else {
64 # No syzygy. Generate dummy targets so other targets can unconditionally 72 # No syzygy. Generate dummy targets so other targets can unconditionally
65 # depend on these without having to duplicate our conditions. 73 # depend on these without having to duplicate our conditions.
66 group("chrome_dll_syzygy") { 74 group("chrome_dll_syzygy") {
67 } 75 }
68 if (is_multi_dll_chrome) { 76 if (is_multi_dll_chrome) {
69 group("chrome_child_dll_syzygy") { 77 group("chrome_child_dll_syzygy") {
70 } 78 }
71 } 79 }
72 } 80 }
73 81
74 # Prevent unused variable warning for code paths where this is unused. 82 # Prevent unused variable warning for code paths where this is unused.
75 assert(syzygy_dest_dir != "") 83 assert(syzygy_dest_dir != "")
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698