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 'breakpad_component_target': 0,
10 'target_conditions': [
11 ['breakpad_component_target==1', {
12 'defines': ['BREAKPAD_IMPLEMENTATION'],
14 'breakpad/app/breakpad_client.cc',
15 'breakpad/app/breakpad_client.h',
16 'breakpad/app/breakpad_linux.cc',
17 'breakpad/app/breakpad_linux.h',
18 'breakpad/app/breakpad_linux_impl.h',
19 'breakpad/app/breakpad_mac.h',
20 'breakpad/app/breakpad_mac.mm',
21 'breakpad/app/breakpad_win.cc',
22 'breakpad/app/breakpad_win.h',
23 'breakpad/app/hard_error_handler_win.cc',
24 'breakpad/app/hard_error_handler_win.h',
31 # Note: if you depend on this target, you need to either link in
32 # content.gyp:content_common, or add
33 # content/public/common/content_switches.cc to your sources.
34 'target_name': 'breakpad_component',
35 'type': 'static_library',
37 'breakpad_component_target': 1,
40 '../base/base.gyp:base',
45 '../breakpad/breakpad.gyp:breakpad',
50 '../breakpad/breakpad.gyp:breakpad_handler',
51 '../breakpad/breakpad.gyp:breakpad_sender',
52 '../sandbox/sandbox.gyp:sandbox',
55 ['os_posix == 1 and OS != "mac" and OS != "ios" and android_webview_build != 1', {
57 '../breakpad/breakpad.gyp:breakpad_client',
64 'target_conditions': [
65 # Need 'target_conditions' to override default filename_rules to include
66 # the files on Android.
69 ['include', '^breakpad/app/breakpad_linux\\.cc$'],
79 'target_name': 'breakpad_crash_service',
80 'type': 'static_library',
82 '../base/base.gyp:base',
83 '../breakpad/breakpad.gyp:breakpad_handler',
84 '../breakpad/breakpad.gyp:breakpad_sender',
87 'breakpad/tools/crash_service.cc',
88 'breakpad/tools/crash_service.h',
93 ['OS=="win" and target_arch=="ia32"', {
96 # Note: if you depend on this target, you need to either link in
97 # content.gyp:content_common, or add
98 # content/public/common/content_switches.cc to your sources.
99 'target_name': 'breakpad_win64',
100 'type': 'static_library',
102 'breakpad_component_target': 1,
105 '../base/base.gyp:base_nacl_win64',
106 '../breakpad/breakpad.gyp:breakpad_handler_win64',
107 '../breakpad/breakpad.gyp:breakpad_sender_win64',
108 '../sandbox/sandbox.gyp:sandbox_win64',
112 'msvs_target_platform': 'x64',
117 'target_name': 'breakpad_crash_service_win64',
118 'type': 'static_library',
120 '../base/base.gyp:base_nacl_win64',
121 '../breakpad/breakpad.gyp:breakpad_handler_win64',
122 '../breakpad/breakpad.gyp:breakpad_sender_win64',
125 'breakpad/tools/crash_service.cc',
126 'breakpad/tools/crash_service.h',
130 'msvs_target_platform': 'x64',
139 'target_name': 'breakpad_stubs',
140 'type': 'static_library',
142 '../base/base.gyp:base',
145 'breakpad/app/breakpad_client.cc',
146 'breakpad/app/breakpad_client.h',
147 'breakpad/app/breakpad_mac.h',
148 'breakpad/app/breakpad_mac_stubs.mm',
153 ['os_posix == 1 and OS != "mac" and OS != "ios" and android_webview_build != 1', {
156 'target_name': 'breakpad_host',
157 'type': 'static_library',
159 'breakpad_component',
160 '../base/base.gyp:base',
161 '../breakpad/breakpad.gyp:breakpad_client',
162 '../content/content.gyp:content_browser',
163 '../content/content.gyp:content_common',
166 'breakpad/browser/crash_dump_manager_android.cc',
167 'breakpad/browser/crash_dump_manager_android.h',
168 'breakpad/browser/crash_handler_host_linux.cc',
169 'breakpad/browser/crash_handler_host_linux.h',
174 'target_conditions': [
175 # Need 'target_conditions' to override default filename_rules to include
176 # the files on Android.
179 ['include', '^breakpad/browser/crash_handler_host_linux\\.cc$'],