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': [ |
11 # minidump_stackwalk and minidump_dump are tool-type executables that do | 11 # minidump_stackwalk and minidump_dump are tool-type executables that do |
12 # not build on iOS with Xcode (but do build on iOS with ninja.) | 12 # not build on iOS with Xcode (but do build on iOS with ninja.) |
13 ['(OS!="ios" or "<(GENERATOR)"=="ninja") and OS!="win"', { | 13 ['(OS!="ios" or "<(GENERATOR)"!="xcode") and OS!="win"', { |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
16 # code shared by both {micro,mini}dump_stackwalk | 16 # code shared by both {micro,mini}dump_stackwalk |
17 # GN version: //breakpad:stackwalk_common | 17 # GN version: //breakpad:stackwalk_common |
18 'target_name': 'stackwalk_common', | 18 'target_name': 'stackwalk_common', |
19 'type': 'static_library', | 19 'type': 'static_library', |
20 'includes': ['breakpad_tools.gypi'], | 20 'includes': ['breakpad_tools.gypi'], |
21 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], | 21 'defines': ['BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR'], |
22 'sources': [ | 22 'sources': [ |
23 'src/processor/basic_code_module.h', | 23 'src/processor/basic_code_module.h', |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 'src/processor/pathname_stripper.h', | 157 'src/processor/pathname_stripper.h', |
158 ], | 158 ], |
159 'conditions': [ | 159 'conditions': [ |
160 ['OS=="ios"', { | 160 ['OS=="ios"', { |
161 'toolsets': ['host'], | 161 'toolsets': ['host'], |
162 }], | 162 }], |
163 ], | 163 ], |
164 }, | 164 }, |
165 ], | 165 ], |
166 }], | 166 }], |
167 ['OS=="mac" or (OS=="ios" and "<(GENERATOR)"=="ninja")', { | 167 ['OS=="mac" or (OS=="ios" and "<(GENERATOR)"!="xcode")', { |
168 'target_defaults': { | 168 'target_defaults': { |
169 'include_dirs': [ | 169 'include_dirs': [ |
170 'src', | 170 'src', |
171 ], | 171 ], |
172 'configurations': { | 172 'configurations': { |
173 'Debug_Base': { | 173 'Debug_Base': { |
174 'defines': [ | 174 'defines': [ |
175 # This is needed for GTMLogger to work correctly. | 175 # This is needed for GTMLogger to work correctly. |
176 'DEBUG', | 176 'DEBUG', |
177 ], | 177 ], |
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 'src/google_breakpad/common/minidump_format.h', | 844 'src/google_breakpad/common/minidump_format.h', |
845 ], | 845 ], |
846 'include_dirs': [ | 846 'include_dirs': [ |
847 'src', | 847 'src', |
848 'src/client/mac/Framework', | 848 'src/client/mac/Framework', |
849 'src/common/mac', | 849 'src/common/mac', |
850 ], | 850 ], |
851 } | 851 } |
852 ] | 852 ] |
853 }], | 853 }], |
854 ['OS=="ios" and "<(GENERATOR)"!="ninja"', { | 854 ['OS=="ios" and "<(GENERATOR)"=="xcode"', { |
855 'variables': { | 855 'variables': { |
856 'ninja_output_dir': 'ninja-breakpad', | 856 'ninja_output_dir': 'ninja-breakpad', |
857 'ninja_product_dir': | 857 'ninja_product_dir': |
858 '<(DEPTH)/xcodebuild/<(ninja_output_dir)/<(CONFIGURATION_NAME)', | 858 '<(DEPTH)/xcodebuild/<(ninja_output_dir)/<(CONFIGURATION_NAME)', |
859 }, | 859 }, |
860 # Generation is done via two actions: (1) compiling the executable with | 860 # Generation is done via two actions: (1) compiling the executable with |
861 # ninja, and (2) copying the executable into a location that is shared | 861 # ninja, and (2) copying the executable into a location that is shared |
862 # with other projects. These actions are separated into two targets in | 862 # with other projects. These actions are separated into two targets in |
863 # order to be able to specify that the second action should not run until | 863 # order to be able to specify that the second action should not run until |
864 # the first action finishes (since the ordering of multiple actions in | 864 # the first action finishes (since the ordering of multiple actions in |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 'include_main_binary': 0, | 971 'include_main_binary': 0, |
972 }, | 972 }, |
973 'includes': [ | 973 'includes': [ |
974 '../build/android/native_app_dependencies.gypi' | 974 '../build/android/native_app_dependencies.gypi' |
975 ], | 975 ], |
976 } | 976 } |
977 ], | 977 ], |
978 }], | 978 }], |
979 ], | 979 ], |
980 } | 980 } |
OLD | NEW |