OLD | NEW |
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 Loading... |
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 |
| 68 # Defer the crash reporter initialization as the crash reporter isn't |
| 69 # available at startup in setup.exe. |
| 70 extra_args = [ "--defer-crash-reporter-initialization" ] |
| 71 deps = [ |
| 72 "//chrome/installer/setup", |
| 73 ] |
| 74 } |
63 } else { | 75 } else { |
64 # No syzygy. Generate dummy targets so other targets can unconditionally | 76 # No syzygy. Generate dummy targets so other targets can unconditionally |
65 # depend on these without having to duplicate our conditions. | 77 # depend on these without having to duplicate our conditions. |
66 group("chrome_dll_syzygy") { | 78 group("chrome_dll_syzygy") { |
67 } | 79 } |
68 if (is_multi_dll_chrome) { | 80 if (is_multi_dll_chrome) { |
69 group("chrome_child_dll_syzygy") { | 81 group("chrome_child_dll_syzygy") { |
70 } | 82 } |
71 } | 83 } |
72 } | 84 } |
73 | 85 |
74 # Prevent unused variable warning for code paths where this is unused. | 86 # Prevent unused variable warning for code paths where this is unused. |
75 assert(syzygy_dest_dir != "") | 87 assert(syzygy_dest_dir != "") |
OLD | NEW |