| 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 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 711 ], | 711 ], |
| 712 | 712 |
| 713 'include_dirs': [ | 713 'include_dirs': [ |
| 714 '..', | 714 '..', |
| 715 'src', | 715 'src', |
| 716 ], | 716 ], |
| 717 }, | 717 }, |
| 718 ], | 718 ], |
| 719 }], | 719 }], |
| 720 [ 'OS=="ios"', { | 720 [ 'OS=="ios"', { |
| 721 'variables': { |
| 722 'ninja_output_dir': 'ninja-breakpad', |
| 723 'ninja_product_dir': |
| 724 '<(DEPTH)/xcodebuild/<(ninja_output_dir)/<(CONFIGURATION_NAME)', |
| 725 }, |
| 726 # Generation is done via two actions: (1) compiling the executable with |
| 727 # ninja, and (2) copying the executable into a location that is shared |
| 728 # with other projects. These actions are separated into two targets in |
| 729 # order to be able to specify that the second action should not run until |
| 730 # the first action finishes (since the ordering of multiple actions in |
| 731 # one target is defined only by inputs and outputs, and it's impossible |
| 732 # to set correct inputs for the ninja build, so setting all the inputs |
| 733 # and outputs isn't an option). |
| 721 'targets': [ | 734 'targets': [ |
| 722 { | 735 { |
| 723 'target_name': 'breakpad_utilities', | 736 'target_name': 'compile_breakpad_utilities', |
| 724 'type': 'none', | 737 'type': 'none', |
| 725 'variables': { | 738 'variables': { |
| 726 'ninja_output_dir': 'ninja-breakpad', | |
| 727 # Gyp to rerun | 739 # Gyp to rerun |
| 728 're_run_targets': [ | 740 're_run_targets': [ |
| 729 'breakpad/breakpad.gyp', | 741 'breakpad/breakpad.gyp', |
| 730 ], | 742 ], |
| 731 }, | 743 }, |
| 732 'includes': ['../build/ios/mac_build.gypi'], | 744 'includes': ['../build/ios/mac_build.gypi'], |
| 733 'actions': [ | 745 'actions': [ |
| 734 { | 746 { |
| 735 'action_name': 'compile breakpad utilities', | 747 'action_name': 'compile breakpad utilities', |
| 736 'inputs': [], | 748 'inputs': [], |
| 737 'outputs': [], | 749 'outputs': [], |
| 738 'action': [ | 750 'action': [ |
| 739 '<@(ninja_cmd)', | 751 '<@(ninja_cmd)', |
| 740 'dump_syms', | 752 'dump_syms', |
| 741 'symupload', | 753 'symupload', |
| 742 ], | 754 ], |
| 743 'message': 'Generating the breakpad executables', | 755 'message': 'Generating the breakpad executables', |
| 744 }, | 756 }, |
| 757 ], |
| 758 }, |
| 759 { |
| 760 'target_name': 'breakpad_utilities', |
| 761 'type': 'none', |
| 762 'dependencies': [ |
| 763 'compile_breakpad_utilities', |
| 764 ], |
| 765 'actions': [ |
| 745 { | 766 { |
| 746 'action_name': 'copy dump_syms', | 767 'action_name': 'copy dump_syms', |
| 747 'inputs': [ | 768 'inputs': [ |
| 748 '<(ninja_product_dir)/dump_syms', | 769 '<(ninja_product_dir)/dump_syms', |
| 749 ], | 770 ], |
| 750 'outputs': [ | 771 'outputs': [ |
| 751 '<(PRODUCT_DIR)/dump_syms', | 772 '<(PRODUCT_DIR)/dump_syms', |
| 752 ], | 773 ], |
| 753 'action': [ | 774 'action': [ |
| 754 'cp', | 775 'cp', |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 'include_dirs': [ | 875 'include_dirs': [ |
| 855 '<(DEPTH)/third_party/GTM', | 876 '<(DEPTH)/third_party/GTM', |
| 856 '<(DEPTH)/third_party/GTM/Foundation', | 877 '<(DEPTH)/third_party/GTM/Foundation', |
| 857 ], | 878 ], |
| 858 }, | 879 }, |
| 859 }, | 880 }, |
| 860 ], | 881 ], |
| 861 }], | 882 }], |
| 862 ], | 883 ], |
| 863 } | 884 } |
| OLD | NEW |