| Index: build/win/syzygy/syzygy.gni
|
| diff --git a/build/win/syzygy/syzygy.gni b/build/win/syzygy/syzygy.gni
|
| index 1ae2ebef828b4708de29460773c02aa798abe3b3..1a45e866f8851c88a0a0a4e5356421936025c3bf 100644
|
| --- a/build/win/syzygy/syzygy.gni
|
| +++ b/build/win/syzygy/syzygy.gni
|
| @@ -7,57 +7,6 @@ assert(is_win)
|
| # Where the output binaries will be placed.
|
| syzygy_dest_dir = "$root_out_dir/syzygy"
|
|
|
| -# Generates a Syzygy optimize target.
|
| -#
|
| -# binary_name (required)
|
| -# Name of the binary to be instrumented, with no extension or path. This
|
| -# binary_name is assumed to be in the output directory and must be
|
| -# generated by a dependency of this target.
|
| -#
|
| -# deps (required)
|
| -# Normal meaning.
|
| -#
|
| -# data_deps
|
| -# Normal meaning.
|
| -template("syzygy_optimize") {
|
| - action(target_name) {
|
| - if (defined(invoker.visibility)) {
|
| - visibility = invoker.visibility
|
| - }
|
| - script = "//build/win/syzygy/reorder.py"
|
| -
|
| - binary_name = invoker.binary_name
|
| - input_dll = "$root_out_dir/$binary_name"
|
| - input_pdb = "$root_out_dir/$binary_name.pdb"
|
| -
|
| - inputs = [
|
| - input_dll,
|
| - #input_pdb,
|
| - ]
|
| -
|
| - outputs = [
|
| - "$syzygy_dest_dir/$binary_name",
|
| - "$syzygy_dest_dir/$binary_name.pdb",
|
| - ]
|
| -
|
| - args = [
|
| - "--input_executable",
|
| - rebase_path(input_dll, root_build_dir),
|
| - "--input_symbol",
|
| - rebase_path(input_pdb, root_build_dir),
|
| - "--destination_dir",
|
| - rebase_path(syzygy_dest_dir, root_build_dir),
|
| - ]
|
| -
|
| - forward_variables_from(invoker,
|
| - [
|
| - "deps",
|
| - "data_deps",
|
| - "public_deps",
|
| - ])
|
| - }
|
| -}
|
| -
|
| # Instruments a binary with SyzyAsan.
|
| #
|
| # binary_name (required)
|
|
|