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 'COMPILE_CONTENT_STATICALLY',
108 '../base/base.gyp:base_win64',
109 '../breakpad/breakpad.gyp:breakpad_handler_win64',
110 '../breakpad/breakpad.gyp:breakpad_sender_win64',
111 '../sandbox/sandbox.gyp:sandbox_win64',
115 'msvs_target_platform': 'x64',
120 'target_name': 'breakpad_crash_service_win64',
121 'type': 'static_library',
123 '../base/base.gyp:base_win64',
124 '../breakpad/breakpad.gyp:breakpad_handler_win64',
125 '../breakpad/breakpad.gyp:breakpad_sender_win64',
128 'breakpad/tools/crash_service.cc',
129 'breakpad/tools/crash_service.h',
133 'msvs_target_platform': 'x64',
142 'target_name': 'breakpad_stubs',
143 'type': 'static_library',
145 '../base/base.gyp:base',
148 'breakpad/app/breakpad_client.cc',
149 'breakpad/app/breakpad_client.h',
150 'breakpad/app/breakpad_mac.h',
151 'breakpad/app/breakpad_mac_stubs.mm',
156 ['os_posix == 1 and OS != "mac" and OS != "ios" and android_webview_build != 1', {
159 'target_name': 'breakpad_host',
160 'type': 'static_library',
162 'breakpad_component',
163 '../base/base.gyp:base',
164 '../breakpad/breakpad.gyp:breakpad_client',
165 '../content/content.gyp:content_browser',
166 '../content/content.gyp:content_common',
169 'breakpad/browser/crash_dump_manager_android.cc',
170 'breakpad/browser/crash_dump_manager_android.h',
171 'breakpad/browser/crash_handler_host_linux.cc',
172 'breakpad/browser/crash_handler_host_linux.h',
177 'target_conditions': [
178 # Need 'target_conditions' to override default filename_rules to include
179 # the files on Android.
182 ['include', '^breakpad/browser/crash_handler_host_linux\\.cc$'],