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

Side by Side Diff: pdf/pdf.gyp

Issue 321303002: Add a target to produce a SyzyASan instrumented version of pdf.dll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « build/all.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'variables': { 2 'variables': {
3 'chromium_code': 1, 3 'chromium_code': 1,
4 'pdf_engine%': 0, # 0 PDFium 4 'pdf_engine%': 0, # 0 PDFium
5 }, 5 },
6 'target_defaults': { 6 'target_defaults': {
7 'cflags': [ 7 'cflags': [
8 '-fPIC', 8 '-fPIC',
9 ], 9 ],
10 }, 10 },
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 ], 158 ],
159 'dependencies': [ 159 'dependencies': [
160 'pdf', 160 'pdf',
161 '../breakpad/breakpad.gyp:dump_syms', 161 '../breakpad/breakpad.gyp:dump_syms',
162 ], 162 ],
163 }], 163 }],
164 ], 164 ],
165 }, 165 },
166 ], 166 ],
167 },], # OS=="linux" and chromeos==0 167 },], # OS=="linux" and chromeos==0
168 ['OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1', {
169 'variables': {
170 'dest_dir': '<(PRODUCT_DIR)/syzygy',
171 },
172 'targets': [
173 {
174 'target_name': 'pdf_syzyasan',
175 'type': 'none',
176 'sources' : [],
177 'dependencies': [
178 'pdf',
179 ],
180 # Instrument PDFium with SyzyAsan.
181 'actions': [
182 {
183 'action_name': 'Instrument PDFium with SyzyAsan',
184 'inputs': [
185 '<(PRODUCT_DIR)/pdf.dll',
186 ],
187 'outputs': [
188 '<(dest_dir)/pdf.dll',
189 '<(dest_dir)/pdf.dll.pdb',
190 ],
191 'action': [
192 'python',
193 '<(DEPTH)/chrome/tools/build/win/syzygy_instrument.py',
194 '--mode', 'asan',
195 '--input_executable', '<(PRODUCT_DIR)/pdf.dll',
196 '--input_symbol', '<(PRODUCT_DIR)/pdf.dll.pdb',
197 '--destination_dir', '<(dest_dir)',
198 ],
199 },
200 ],
201 },
202 ],
203 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" and syzyasan==1
168 ], 204 ],
169 } 205 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698