Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: chrome/chrome_syzygy.gypi

Issue 23460023: Copy asan_rtl.* and agent_logger.exe to the syzygy directory for the ASan builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address Gab's nit. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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',
54 '<(dest_dir)/asan_rtl.dll',
55 '<(dest_dir)/asan_rtl.dll.pdb',
56 '<(dest_dir)/agent_logger.exe',
53 '<(PRODUCT_DIR)/<(dll_name).dll', 57 '<(PRODUCT_DIR)/<(dll_name).dll',
54 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt',
55 ], 58 ],
56 'outputs': [ 59 'outputs': [
57 '<(dest_dir)/<(dll_name).dll', 60 '<(dest_dir)/<(dll_name).dll',
58 '<(dest_dir)/<(dll_name).dll.pdb', 61 '<(dest_dir)/<(dll_name).dll.pdb',
59 '<(dest_dir)/asan_rtl.dll',
60 '<(dest_dir)/asan_rtl.dll.pdb',
61 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', 62 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json',
62 ], 63 ],
64 'dependencies': [
65 '<(DEPTH)/chrome/chrome_syzygy.gyp:copy_syzyasan_binaries',
66 ],
63 'action': [ 67 'action': [
64 'python', 68 'python',
65 '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py', 69 '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py',
66 '--mode', 'asan', 70 '--mode', 'asan',
67 '--input_executable', '<(PRODUCT_DIR)/<(dll_name).dll', 71 '--input_executable', '<(PRODUCT_DIR)/<(dll_name).dll',
68 '--input_symbol', '<(PRODUCT_DIR)/<(dll_name).dll.pdb', 72 '--input_symbol', '<(PRODUCT_DIR)/<(dll_name).dll.pdb',
69 '--filter', 73 '--filter',
70 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt', 74 '<(DEPTH)/chrome/tools/build/win/win-syzyasan-filter.txt',
71 '--output-filter-file', 75 '--output-filter-file',
72 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json', 76 '<(dest_dir)/win-syzyasan-filter-<(dll_name).txt.json',
73 '--destination_dir', '<(dest_dir)', 77 '--destination_dir', '<(dest_dir)',
74 ], 78 ],
75 }, 79 },
76 ], 80 ],
77 }], 81 }],
78 ], 82 ],
79 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698