OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 assert(is_win) | 5 assert(is_win) |
6 | 6 |
7 # Where the output binaries will be placed. | 7 # Where the output binaries will be placed. |
8 syzygy_dest_dir = "$root_out_dir/syzygy" | 8 syzygy_dest_dir = "$root_out_dir/syzygy" |
9 | 9 |
10 # Instruments a binary with SyzyAsan. | 10 # Instruments a binary with SyzyAsan. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 "--input_symbol", | 63 "--input_symbol", |
64 rebase_path(input_pdb, root_build_dir), | 64 rebase_path(input_pdb, root_build_dir), |
65 "--filter", | 65 "--filter", |
66 rebase_path(filter, root_build_dir), | 66 rebase_path(filter, root_build_dir), |
67 "--output-filter-file", | 67 "--output-filter-file", |
68 rebase_path(output_filter, root_build_dir), | 68 rebase_path(output_filter, root_build_dir), |
69 "--destination_dir", | 69 "--destination_dir", |
70 rebase_path(dest_dir, root_build_dir), | 70 rebase_path(dest_dir, root_build_dir), |
71 ] | 71 ] |
72 | 72 |
| 73 if (defined(invoker.extra_args)) { |
| 74 args += invoker.extra_args |
| 75 } |
| 76 |
73 deps = [ | 77 deps = [ |
74 "//build/win/syzygy:copy_syzyasan_binaries", | 78 "//build/win/syzygy:copy_syzyasan_binaries", |
75 ] | 79 ] |
76 if (defined(invoker.deps)) { | 80 if (defined(invoker.deps)) { |
77 deps += invoker.deps | 81 deps += invoker.deps |
78 } | 82 } |
79 forward_variables_from(invoker, | 83 forward_variables_from(invoker, |
80 [ | 84 [ |
81 "data_deps", | 85 "data_deps", |
82 "public_deps", | 86 "public_deps", |
83 "testonly", | 87 "testonly", |
84 ]) | 88 ]) |
85 } | 89 } |
86 } | 90 } |
OLD | NEW |