OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |