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

Side by Side Diff: breakpad/breakpad.gyp

Issue 11301003: Specify dependences correctly when building mac tools for iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit Created 8 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
« no previous file with comments | « no previous file | build/ios/mac_build.gypi » ('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) 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | build/ios/mac_build.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698