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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 'breakpad_client', | 661 'breakpad_client', |
662 ], | 662 ], |
663 | 663 |
664 'include_dirs': [ | 664 'include_dirs': [ |
665 '..', | 665 '..', |
666 'src', | 666 'src', |
667 ], | 667 ], |
668 }, | 668 }, |
669 ], | 669 ], |
670 }], | 670 }], |
| 671 [ 'OS=="ios"', { |
| 672 'targets': [ |
| 673 { |
| 674 'target_name': 'breakpad_client', |
| 675 'type': '<(library)', |
| 676 'sources': [ |
| 677 'src/client/ios/Breakpad.h', |
| 678 'src/client/ios/Breakpad.mm', |
| 679 'src/client/ios/BreakpadController.h', |
| 680 'src/client/ios/BreakpadController.mm', |
| 681 'src/client/ios/handler/ios_exception_minidump_generator.mm', |
| 682 'src/client/ios/handler/ios_exception_minidump_generator.h', |
| 683 'src/client/mac/crash_generation/ConfigFile.h', |
| 684 'src/client/mac/crash_generation/ConfigFile.mm', |
| 685 'src/client/mac/handler/breakpad_nlist_64.cc', |
| 686 'src/client/mac/handler/breakpad_nlist_64.h', |
| 687 'src/client/mac/handler/dynamic_images.cc', |
| 688 'src/client/mac/handler/dynamic_images.h', |
| 689 'src/client/mac/handler/protected_memory_allocator.cc', |
| 690 'src/client/mac/handler/protected_memory_allocator.h', |
| 691 'src/client/mac/handler/exception_handler.cc', |
| 692 'src/client/mac/handler/exception_handler.h', |
| 693 'src/client/mac/handler/minidump_generator.cc', |
| 694 'src/client/mac/handler/minidump_generator.h', |
| 695 'src/client/mac/sender/uploader.h', |
| 696 'src/client/mac/sender/uploader.mm', |
| 697 'src/client/minidump_file_writer.cc', |
| 698 'src/client/minidump_file_writer.h', |
| 699 'src/client/minidump_file_writer-inl.h', |
| 700 'src/common/convert_UTF.c', |
| 701 'src/common/convert_UTF.h', |
| 702 'src/common/mac/file_id.cc', |
| 703 'src/common/mac/file_id.h', |
| 704 'src/common/mac/GTMLogger.m', |
| 705 'src/common/mac/HTTPMultipartUpload.m', |
| 706 'src/common/mac/macho_id.cc', |
| 707 'src/common/mac/macho_id.h', |
| 708 'src/common/mac/macho_utilities.cc', |
| 709 'src/common/mac/macho_utilities.h', |
| 710 'src/common/mac/macho_walker.cc', |
| 711 'src/common/mac/macho_walker.h', |
| 712 'src/common/mac/string_utilities.cc', |
| 713 'src/common/mac/string_utilities.h', |
| 714 'src/common/mac/SimpleStringDictionary.mm', |
| 715 'src/common/mac/SimpleStringDictionary.h', |
| 716 'src/common/md5.cc', |
| 717 'src/common/md5.h', |
| 718 'src/common/string_conversion.cc', |
| 719 'src/common/string_conversion.h', |
| 720 'src/google_breakpad/common/minidump_format.h', |
| 721 ], |
| 722 'xcode_settings': { |
| 723 # With the Xcode 4.2 toolchain (iOS 5.0 SDK), there is a change to |
| 724 # exception handling when building for arm (but not simulator). |
| 725 # __EXCEPTIONS is still defined if objc exceptions are enabled but |
| 726 # c++ exceptions are not. With Xcode 3.2.6 (iOS 4.3 SDK) for both |
| 727 # device and simulator turning off c++ exceptions caused gcc to |
| 728 # still honor try/catch in .mm files as if they were @try/@catch |
| 729 # due to the new runtime support for exceptions. The clang arm |
| 730 # compiler in Xcode 4.2 does not do this and exception_defines.h |
| 731 # does not kick in because __EXCEPTIONS is still defined. So |
| 732 # the compile fails for trying to use try without compiler support |
| 733 # for c++ exceptions. The simulator build in that setup still |
| 734 # works. Turning off objc exceptions is just enough to get |
| 735 # __EXCEPTIONS to not be defined and exception_defines.h kicks in |
| 736 # to let the code compile. |
| 737 'GCC_ENABLE_OBJC_EXCEPTIONS': 'NO', |
| 738 }, |
| 739 'include_dirs': [ |
| 740 'src', |
| 741 'src/client/mac/Framework', |
| 742 'src/common/mac', |
| 743 ], |
| 744 }, |
| 745 ], |
| 746 }], |
671 ], | 747 ], |
672 } | 748 } |
OLD | NEW |