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

Side by Side Diff: breakpad/breakpad.gyp

Issue 414049: Linux: Use upstream google-breakpad instead of our fork.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | breakpad/linux/breakpad_googletest_includes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 { 5 {
6 'conditions': [ 6 'conditions': [
7 [ 'OS=="mac"', { 7 [ 'OS=="mac"', {
8 'target_defaults': { 8 'target_defaults': {
9 'include_dirs': [ 9 'include_dirs': [
10 'src', 10 'src',
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 'cflags!': ['-m32', '-march=pentium4', '-msse2', 240 'cflags!': ['-m32', '-march=pentium4', '-msse2',
241 '-mfpmath=sse'], 241 '-mfpmath=sse'],
242 'ldflags!': ['-m32'], 242 'ldflags!': ['-m32'],
243 'cflags': ['-O2'], 243 'cflags': ['-O2'],
244 }], 244 }],
245 ], 245 ],
246 246
247 'sources': [ 247 'sources': [
248 'src/tools/linux/symupload/sym_upload.cc', 248 'src/tools/linux/symupload/sym_upload.cc',
249 'src/common/linux/http_upload.cc', 249 'src/common/linux/http_upload.cc',
250 'src/common/linux/http_upload.h',
250 ], 251 ],
251 'include_dirs': [ 252 'include_dirs': [
252 'src', 253 'src',
253 ], 254 ],
254 'link_settings': { 255 'link_settings': {
255 'libraries': [ 256 'libraries': [
256 '-ldl', 257 '-ldl',
257 ], 258 ],
258 }, 259 },
259 }, 260 },
260 { 261 {
261 'target_name': 'dump_syms', 262 'target_name': 'dump_syms',
262 'type': 'executable', 263 'type': 'executable',
263 264
264 'sources': [ 265 'sources': [
265 'linux/dump_syms.cc', 266 'src/common/linux/dump_symbols.cc',
266 'linux/dump_symbols.cc', 267 'src/common/linux/dump_symbols.h',
267 'linux/dump_symbols.h', 268 'src/common/linux/file_id.cc',
268 'linux/file_id.cc', 269 'src/common/linux/file_id.h',
269 'linux/file_id.h', 270 'src/common/linux/guid_creator.h',
271 'src/common/linux/module.cc',
272 'src/common/linux/module.h',
273 'src/common/linux/stabs_reader.cc',
274 'src/common/linux/stabs_reader.h',
275 'src/tools/linux/dump_syms/dump_syms.cc',
270 ], 276 ],
271 277
272 'include_dirs': [ 278 'include_dirs': [
273 'src', 279 'src',
274 '..', 280 '..',
275 ], 281 ],
276 }, 282 },
277 ], 283 ],
278 }], 284 }],
279 ], 285 ],
280 'targets': [ 286 'targets': [
281 { 287 {
282 'target_name': 'breakpad_client', 288 'target_name': 'breakpad_client',
283 'type': '<(library)', 289 'type': '<(library)',
284 290
285 'sources': [ 291 'sources': [
286 'linux/exception_handler.cc', 292 'src/client/linux/handler/exception_handler.cc',
287 'linux/linux_dumper.cc', 293 'src/client/linux/minidump_writer/directory_reader.h',
288 'linux/minidump_writer.cc', 294 'src/client/linux/minidump_writer/line_reader.h',
295 'src/client/linux/minidump_writer/linux_dumper.cc',
296 'src/client/linux/minidump_writer/linux_dumper.h',
297 'src/client/linux/minidump_writer/minidump_writer.cc',
298 'src/client/linux/minidump_writer/minidump_writer.h',
299 'src/client/minidump_file_writer-inl.h',
300 'src/client/minidump_file_writer.cc',
301 'src/client/minidump_file_writer.h',
302 'src/common/convert_UTF.c',
303 'src/common/convert_UTF.h',
289 'src/common/linux/guid_creator.cc', 304 'src/common/linux/guid_creator.cc',
305 'src/common/linux/guid_creator.h',
306 'src/common/linux/linux_libc_support.h',
307 'src/common/linux/linux_syscall_support.h',
308 'src/common/linux/memory.h',
290 'src/common/string_conversion.cc', 309 'src/common/string_conversion.cc',
291 'src/common/convert_UTF.c', 310 'src/common/string_conversion.h',
292
293 # TODO(agl): unfork this file
294 'linux/minidump_file_writer.cc',
295 ], 311 ],
296 312
297 'include_dirs': [ 313 'include_dirs': [
298 'src', 314 'src',
299 '..', 315 '..',
300 '.', 316 '.',
301 ], 317 ],
302 }, 318 },
303 { 319 {
304 'target_name': 'breakpad_unittests', 320 'target_name': 'breakpad_unittests',
305 'type': 'executable', 321 'type': 'executable',
306 'dependencies': [ 322 'dependencies': [
307 '../testing/gtest.gyp:gtest', 323 '../testing/gtest.gyp:gtest',
308 '../testing/gtest.gyp:gtestmain', 324 '../testing/gtest.gyp:gtestmain',
325 '../testing/gmock.gyp:gmock',
309 'breakpad_client', 326 'breakpad_client',
310 ], 327 ],
311 328
312 'sources': [ 329 'sources': [
313 'linux/directory_reader_unittest.cc', 330 'src/client/linux/minidump_writer/directory_reader_unittest.cc',
314 'linux/exception_handler_unittest.cc', 331 'src/client/linux/handler/exception_handler_unittest.cc',
315 'linux/line_reader_unittest.cc', 332 'src/client/linux/minidump_writer/line_reader_unittest.cc',
316 'linux/linux_dumper_unittest.cc', 333 'src/client/linux/minidump_writer/linux_dumper_unittest.cc',
317 'linux/linux_libc_support_unittest.cc', 334 'src/common/linux/linux_libc_support_unittest.cc',
318 'linux/memory_unittest.cc', 335 'src/common/linux/memory_unittest.cc',
319 'linux/minidump_writer_unittest.cc', 336 'src/client/linux/minidump_writer/minidump_writer_unittest.cc',
337 'linux/breakpad_googletest_includes.h',
320 ], 338 ],
321 339
322 'include_dirs': [ 340 'include_dirs': [
341 'linux', # Use our copy of breakpad_googletest_includes.h
323 'src', 342 'src',
324 '..', 343 '..',
325 '.', 344 '.',
326 ], 345 ],
327 }, 346 },
328 { 347 {
329 'target_name': 'generate_test_dump', 348 'target_name': 'generate_test_dump',
330 'type': 'executable', 349 'type': 'executable',
331 350
332 'sources': [ 351 'sources': [
(...skipping 11 matching lines...) Expand all
344 ], 363 ],
345 }], 364 }],
346 ], 365 ],
347 } 366 }
348 367
349 # Local Variables: 368 # Local Variables:
350 # tab-width:2 369 # tab-width:2
351 # indent-tabs-mode:nil 370 # indent-tabs-mode:nil
352 # End: 371 # End:
353 # vim: set expandtab tabstop=2 shiftwidth=2: 372 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | breakpad/linux/breakpad_googletest_includes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698