OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 6 'includes': [ |
7 'breakpad_sender.gypi', | 7 'breakpad_sender.gypi', |
8 'breakpad_handler.gypi', | 8 'breakpad_handler.gypi', |
9 ], | 9 ], |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 ], | 365 ], |
366 'include_dirs': [ | 366 'include_dirs': [ |
367 'src', | 367 'src', |
368 'src/third_party', | 368 'src/third_party', |
369 '..', | 369 '..', |
370 ], | 370 ], |
371 }, | 371 }, |
372 { | 372 { |
373 'target_name': 'symupload', | 373 'target_name': 'symupload', |
374 'type': 'executable', | 374 'type': 'executable', |
| 375 'toolsets': [ 'host', ], |
375 | 376 |
376 # This uses the system libcurl, so don't use the default 32-bit | 377 # This uses the system libcurl, so don't use the default 32-bit |
377 # compile flags when building on a 64-bit machine. | 378 # compile flags when building on a 64-bit machine. |
378 'variables': { | 379 'variables': { |
379 'host_arch': '<!(uname -m)', | 380 'host_arch': '<!(uname -m)', |
380 }, | 381 }, |
381 'conditions': [ | 382 'conditions': [ |
382 ['host_arch=="x86_64"', { | 383 ['host_arch=="x86_64"', { |
383 'cflags!': ['-m32', '-march=pentium4', '-msse2', | 384 'cflags!': ['-m32', '-march=pentium4', '-msse2', |
384 '-mfpmath=sse'], | 385 '-mfpmath=sse'], |
385 'ldflags!': ['-m32'], | 386 'ldflags!': ['-m32'], |
386 'cflags': ['-O2'], | 387 'cflags': ['-O2'], |
387 'include_dirs!': ['/usr/include32'], | 388 'include_dirs!': ['/usr/include32'], |
388 }], | 389 }], |
389 ['OS=="android"', { | 390 ['OS=="android"', { |
390 'toolsets': [ 'host' ], | 391 'toolsets': [ 'host' ], |
391 }], | 392 }], |
392 ], | 393 ], |
393 | 394 |
394 'sources': [ | 395 'sources': [ |
395 'src/tools/linux/symupload/sym_upload.cc', | 396 'src/tools/linux/symupload/sym_upload.cc', |
396 'src/common/linux/http_upload.cc', | 397 'src/common/linux/http_upload.cc', |
397 'src/common/linux/http_upload.h', | 398 'src/common/linux/http_upload.h', |
398 ], | 399 ], |
399 'include_dirs': [ | 400 'include_dirs': [ |
400 'src', | 401 'src', |
| 402 'src/third_party', |
401 ], | 403 ], |
402 'link_settings': { | 404 'link_settings': { |
403 'libraries': [ | 405 'libraries': [ |
404 '-ldl', | 406 '-ldl', |
405 ], | 407 ], |
406 }, | 408 }, |
407 }, | 409 }, |
408 { | 410 { |
409 'target_name': 'dump_syms', | 411 'target_name': 'dump_syms', |
410 'type': 'executable', | 412 'type': 'executable', |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 'src/common/string_conversion.cc', | 522 'src/common/string_conversion.cc', |
521 'src/common/string_conversion.h', | 523 'src/common/string_conversion.h', |
522 ], | 524 ], |
523 | 525 |
524 'conditions': [ | 526 'conditions': [ |
525 # Android NDK toolchain doesn't support -mimplicit-it=always | 527 # Android NDK toolchain doesn't support -mimplicit-it=always |
526 ['target_arch=="arm" and OS!="android"', { | 528 ['target_arch=="arm" and OS!="android"', { |
527 'cflags': ['-Wa,-mimplicit-it=always'], | 529 'cflags': ['-Wa,-mimplicit-it=always'], |
528 }], | 530 }], |
529 ['OS=="android"', { | 531 ['OS=="android"', { |
530 'sources!':[ | 532 'include_dirs': [ |
531 'src/common/linux/elf_core_dump.cc', | 533 'src/common/android/include', |
532 'src/common/linux/elf_core_dump.h', | |
533 ], | 534 ], |
| 535 'direct_dependent_settings': { |
| 536 'include_dirs': [ |
| 537 'src/common/android/include', |
| 538 ], |
| 539 }, |
534 }], | 540 }], |
535 ], | 541 ], |
536 | 542 |
537 'link_settings': { | 543 'link_settings': { |
538 'libraries': [ | 544 'libraries': [ |
539 '-ldl', | 545 '-ldl', |
540 ], | 546 ], |
541 }, | 547 }, |
542 | 548 |
543 'include_dirs': [ | 549 'include_dirs': [ |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 '..', | 620 '..', |
615 '.', | 621 '.', |
616 ], | 622 ], |
617 'conditions': [ | 623 'conditions': [ |
618 [ 'clang == 1', { | 624 [ 'clang == 1', { |
619 'cflags': [ | 625 'cflags': [ |
620 # See http://crbug.com/138571#c18 | 626 # See http://crbug.com/138571#c18 |
621 '-Wno-unused-value', | 627 '-Wno-unused-value', |
622 ], | 628 ], |
623 }], | 629 }], |
| 630 ['OS=="android"', { |
| 631 'libraries': [ |
| 632 '-llog', |
| 633 ], |
| 634 'include_dirs': [ |
| 635 'src/common/android/include', |
| 636 ], |
| 637 }], |
624 ], | 638 ], |
625 }, | 639 }, |
626 { | 640 { |
627 'target_name': 'linux_dumper_unittest_helper', | 641 'target_name': 'linux_dumper_unittest_helper', |
628 'type': 'executable', | 642 'type': 'executable', |
629 'dependencies': [ | 643 'dependencies': [ |
630 'breakpad_processor_support', | 644 'breakpad_processor_support', |
631 ], | 645 ], |
632 'sources': [ | 646 'sources': [ |
633 'src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc', | 647 'src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc', |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 'include_dirs': [ | 842 'include_dirs': [ |
829 '<(DEPTH)/third_party/GTM', | 843 '<(DEPTH)/third_party/GTM', |
830 '<(DEPTH)/third_party/GTM/Foundation', | 844 '<(DEPTH)/third_party/GTM/Foundation', |
831 ], | 845 ], |
832 }, | 846 }, |
833 }, | 847 }, |
834 ], | 848 ], |
835 }], | 849 }], |
836 ], | 850 ], |
837 } | 851 } |
OLD | NEW |