1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
8 'target_name': 'breakpad_component_lib',
9 'type': 'static_library',
11 'breakpad/app/breakpad_client.cc',
12 'breakpad/app/breakpad_client.h',
13 'breakpad/app/crash_keys_win.cc',
14 'breakpad/app/crash_keys_win.h',
25 # On IOS there are no files compiled into the library, and we
26 # can't have libraries with zero objects.
27 'breakpad_component_target_type%': 'none',
29 'breakpad_component_target_type%': 'static_library',
33 # Note: if you depend on this target, you need to either link in
34 # content.gyp:content_common, or add
35 # content/public/common/content_switches.cc to your sources.
36 'target_name': 'breakpad_component',
37 'type': '<(breakpad_component_target_type)',
39 'breakpad/app/breakpad_linux.cc',
40 'breakpad/app/breakpad_linux.h',
41 'breakpad/app/breakpad_linux_impl.h',
42 'breakpad/app/breakpad_mac.h',
43 'breakpad/app/breakpad_mac.mm',
44 'breakpad/app/breakpad_win.cc',
45 'breakpad/app/breakpad_win.h',
46 'breakpad/app/hard_error_handler_win.cc',
47 'breakpad/app/hard_error_handler_win.h',
50 'breakpad_component_lib',
51 '../base/base.gyp:base',
53 'defines': ['BREAKPAD_IMPLEMENTATION'],
57 '../breakpad/breakpad.gyp:breakpad',
62 '../breakpad/breakpad.gyp:breakpad_handler',
63 '../breakpad/breakpad.gyp:breakpad_sender',
64 '../sandbox/sandbox.gyp:sandbox',
67 ['os_posix == 1 and OS != "mac" and OS != "ios" and android_webview_build != 1', {
69 '../breakpad/breakpad.gyp:breakpad_client',
76 'target_conditions': [
77 # Need 'target_conditions' to override default filename_rules to include
78 # the files on Android.
81 ['include', '^breakpad/app/breakpad_linux\\.cc$'],
87 'target_name': 'breakpad_test_support',
90 'breakpad_component_lib',
92 'direct_dependent_settings': {
103 'target_name': 'breakpad_crash_service',
104 'type': 'static_library',
106 '../base/base.gyp:base',
107 '../breakpad/breakpad.gyp:breakpad_handler',
108 '../breakpad/breakpad.gyp:breakpad_sender',
111 'breakpad/tools/crash_service.cc',
112 'breakpad/tools/crash_service.h',
117 ['OS=="win" and target_arch=="ia32"', {
120 # Note: if you depend on this target, you need to either link in
121 # content.gyp:content_common, or add
122 # content/public/common/content_switches.cc to your sources.
123 'target_name': 'breakpad_win64',
124 'type': 'static_library',
126 'breakpad/app/breakpad_client.cc',
127 'breakpad/app/breakpad_client.h',
128 'breakpad/app/breakpad_linux.cc',
129 'breakpad/app/breakpad_linux.h',
130 'breakpad/app/breakpad_linux_impl.h',
131 'breakpad/app/breakpad_mac.h',
132 'breakpad/app/breakpad_mac.mm',
133 'breakpad/app/breakpad_win.cc',
134 'breakpad/app/breakpad_win.h',
135 # TODO(siggi): test the x64 version too.
136 'breakpad/app/crash_keys_win.cc',
137 'breakpad/app/crash_keys_win.h',
138 'breakpad/app/hard_error_handler_win.cc',
139 'breakpad/app/hard_error_handler_win.h',
142 'COMPILE_CONTENT_STATICALLY',
143 'BREAKPAD_IMPLEMENTATION',
146 '../base/base.gyp:base_win64',
147 '../breakpad/breakpad.gyp:breakpad_handler_win64',
148 '../breakpad/breakpad.gyp:breakpad_sender_win64',
149 '../sandbox/sandbox.gyp:sandbox_win64',
153 'msvs_target_platform': 'x64',
158 'target_name': 'breakpad_crash_service_win64',
159 'type': 'static_library',
161 '../base/base.gyp:base_win64',
162 '../breakpad/breakpad.gyp:breakpad_handler_win64',
163 '../breakpad/breakpad.gyp:breakpad_sender_win64',
166 'breakpad/tools/crash_service.cc',
167 'breakpad/tools/crash_service.h',
171 'msvs_target_platform': 'x64',
180 'target_name': 'breakpad_stubs',
181 'type': 'static_library',
183 '../base/base.gyp:base',
186 'breakpad/app/breakpad_client.cc',
187 'breakpad/app/breakpad_client.h',
188 'breakpad/app/breakpad_mac.h',
189 'breakpad/app/breakpad_mac_stubs.mm',
194 ['os_posix == 1 and OS != "mac" and OS != "ios" and android_webview_build != 1', {
197 'target_name': 'breakpad_host',
198 'type': 'static_library',
200 'breakpad_component',
201 '../base/base.gyp:base',
202 '../breakpad/breakpad.gyp:breakpad_client',
203 '../content/content.gyp:content_browser',
204 '../content/content.gyp:content_common',
207 'breakpad/browser/crash_dump_manager_android.cc',
208 'breakpad/browser/crash_dump_manager_android.h',
209 'breakpad/browser/crash_handler_host_linux.cc',
210 'breakpad/browser/crash_handler_host_linux.h',
215 'target_conditions': [
216 # Need 'target_conditions' to override default filename_rules to include
217 # the files on Android.
220 ['include', '^breakpad/browser/crash_handler_host_linux\\.cc$'],