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 '<(PRODUCT_DIR)/<(dll_name).dll', |
53 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', | 54 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', |
54 '<(dest_dir)/asan_rtl.dll', | |
55 '<(dest_dir)/asan_rtl.dll.pdb', | |
56 '<(dest_dir)/agent_logger.exe', | |
57 '<(PRODUCT_DIR)/<(dll_name).dll', | |
58 ], | 55 ], |
59 'outputs': [ | 56 'outputs': [ |
60 '<(dest_dir)/<(dll_name).dll', | 57 '<(dest_dir)/<(dll_name).dll', |
61 '<(dest_dir)/<(dll_name).dll.pdb', | 58 '<(dest_dir)/<(dll_name).dll.pdb', |
| 59 '<(dest_dir)/asan_rtl.dll', |
| 60 '<(dest_dir)/asan_rtl.dll.pdb', |
62 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', | 61 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', |
63 ], | 62 ], |
64 'dependencies': [ | |
65 '<(DEPTH)/chrome/chrome_syzygy.gyp:copy_syzyasan_binaries', | |
66 ], | |
67 'action': [ | 63 'action': [ |
68 'python', | 64 'python', |
69 '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py', | 65 '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py', |
70 '--mode', 'asan', | 66 '--mode', 'asan', |
71 '--input_executable', '<(PRODUCT_DIR)/<(dll_name).dll', | 67 '--input_executable', '<(PRODUCT_DIR)/<(dll_name).dll', |
72 '--input_symbol', '<(PRODUCT_DIR)/<(dll_name).dll.pdb', | 68 '--input_symbol', '<(PRODUCT_DIR)/<(dll_name).dll.pdb', |
73 '--filter', | 69 '--filter', |
74 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', | 70 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', |
75 '--output-filter-file', | 71 '--output-filter-file', |
76 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', | 72 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', |
77 '--destination_dir', '<(dest_dir)', | 73 '--destination_dir', '<(dest_dir)', |
78 ], | 74 ], |
79 }, | 75 }, |
80 ], | 76 ], |
81 }], | 77 }], |
82 ], | 78 ], |
83 } | 79 } |
OLD | NEW |