OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 # Intended to be included by chrome_syzygy.gyp. A variable 'dll_name' should | 5 # Intended to be included by chrome_syzygy.gyp. A variable 'dll_name' should |
6 # be set to the base name of the DLL. This is used to generate the build steps | 6 # be set to the base name of the DLL. This is used to generate the build steps |
7 # for both chrome.dll and chrome_child.dll when in multiple dll mode. | 7 # for both chrome.dll and chrome_child.dll when in multiple dll mode. |
8 { | 8 { |
9 # Reorder or instrument the initial chrome DLL executable, placing the | 9 # Reorder or instrument the initial chrome DLL executable, placing the |
10 # optimized output and corresponding PDB file into the "syzygy" | 10 # optimized output and corresponding PDB file into the "syzygy" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 ], | 43 ], |
44 }, | 44 }, |
45 ], | 45 ], |
46 }, { | 46 }, { |
47 # Instrument chrome DLL executable with SyzyAsan. | 47 # Instrument chrome DLL executable with SyzyAsan. |
48 'actions': [ | 48 'actions': [ |
49 { | 49 { |
50 'action_name': 'Instrument Chrome with SyzyAsan', | 50 'action_name': 'Instrument Chrome with SyzyAsan', |
51 'msvs_cygwin_shell': 0, | 51 'msvs_cygwin_shell': 0, |
52 'inputs': [ | 52 'inputs': [ |
| 53 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', |
53 '<(PRODUCT_DIR)/<(dll_name).dll', | 54 '<(PRODUCT_DIR)/<(dll_name).dll', |
54 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', | |
55 ], | 55 ], |
56 'outputs': [ | 56 'outputs': [ |
57 '<(dest_dir)/<(dll_name).dll', | 57 '<(dest_dir)/<(dll_name).dll', |
58 '<(dest_dir)/<(dll_name).dll.pdb', | 58 '<(dest_dir)/<(dll_name).dll.pdb', |
59 '<(dest_dir)/syzyasan_rtl.dll', | |
60 '<(dest_dir)/syzyasan_rtl.dll.pdb', | |
61 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', | 59 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', |
62 ], | 60 ], |
63 'action': [ | 61 'action': [ |
64 'python', | 62 'python', |
65 '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py', | 63 '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py', |
66 '--mode', 'asan', | 64 '--mode', 'asan', |
67 '--input_executable', '<(PRODUCT_DIR)/<(dll_name).dll', | 65 '--input_executable', '<(PRODUCT_DIR)/<(dll_name).dll', |
68 '--input_symbol', '<(PRODUCT_DIR)/<(dll_name).dll.pdb', | 66 '--input_symbol', '<(PRODUCT_DIR)/<(dll_name).dll.pdb', |
69 '--filter', | 67 '--filter', |
70 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', | 68 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', |
71 '--output-filter-file', | 69 '--output-filter-file', |
72 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', | 70 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', |
73 '--destination_dir', '<(dest_dir)', | 71 '--destination_dir', '<(dest_dir)', |
74 ], | 72 ], |
75 }, | 73 }, |
76 ], | 74 ], |
| 75 'dependencies': [ |
| 76 'copy_syzyasan_binaries', |
| 77 ], |
77 }], | 78 }], |
78 ], | 79 ], |
79 } | 80 } |
OLD | NEW |