blob: 540e87e32566178c73b1c565e93280ffc5b217b0 [file] [log] [blame]
[email protected]365cd362009-12-05 21:01:461# Copyright (c) 2009 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.
4
5{
6 'target_defaults': {
7 'variables': {
8 'breakpad_handler_target': 0,
9 },
10 'target_conditions': [
11 ['breakpad_handler_target==1', {
12 'sources': [
13 'src/client/windows/crash_generation/client_info.cc',
14 'src/client/windows/crash_generation/client_info.h',
15 'src/client/windows/crash_generation/crash_generation_client.cc',
16 'src/client/windows/crash_generation/crash_generation_client.h',
17 'src/client/windows/crash_generation/crash_generation_server.cc',
18 'src/client/windows/crash_generation/crash_generation_server.h',
19 'src/client/windows/handler/exception_handler.cc',
20 'src/client/windows/handler/exception_handler.h',
21 'src/common/windows/guid_string.cc',
22 'src/common/windows/guid_string.h',
23 'src/google_breakpad/common/minidump_format.h',
24 'src/client/windows/crash_generation/minidump_generator.cc',
25 'src/client/windows/crash_generation/minidump_generator.h',
26 'src/common/windows/string_utils-inl.h',
27 ],
28 'include_dirs': [
29 'src',
30 ],
[email protected]ea8ab2a2013-03-14 21:52:3731 'defines': [
32 # Avoid the TerminateThread Application Verifier Failure.
33 'BREAKPAD_NO_TERMINATE_THREAD',
34 ],
[email protected]365cd362009-12-05 21:01:4635 }],
36 ],
37 },
38 'conditions': [
[email protected]3a41c8ef2013-01-21 23:23:5739 ['OS=="win"', {
[email protected]365cd362009-12-05 21:01:4640 'targets': [
41 {
42 'target_name': 'breakpad_handler',
[email protected]5a547332011-05-19 23:18:5343 'type': 'static_library',
[email protected]94cf5392011-01-10 16:48:3044 'variables': {
45 'breakpad_handler_target': 1,
46 },
47 # TODO(gregoryd): direct_dependent_settings should be shared with the
48 # 64-bit target, but it doesn't work due to a bug in gyp
49 'direct_dependent_settings': {
50 'include_dirs': [
51 'src',
52 ],
53 },
[email protected]365cd362009-12-05 21:01:4654 },
[email protected]3a41c8ef2013-01-21 23:23:5755 ],
56 }],
57 ['OS=="win" and target_arch=="ia32"', {
58 'targets': [
[email protected]365cd362009-12-05 21:01:4659 {
60 'target_name': 'breakpad_handler_win64',
[email protected]5a547332011-05-19 23:18:5361 'type': 'static_library',
[email protected]365cd362009-12-05 21:01:4662 'variables': {
63 'breakpad_handler_target': 1,
64 },
65 # TODO(gregoryd): direct_dependent_settings should be shared with the
66 # 32-bit target, but it doesn't work due to a bug in gyp
67 'direct_dependent_settings': {
68 'include_dirs': [
69 'src',
70 ],
71 },
72 'configurations': {
[email protected]5153767c2009-12-22 01:52:5073 'Common_Base': {
[email protected]365cd362009-12-05 21:01:4674 'msvs_target_platform': 'x64',
75 },
76 },
77 },
78 ],
79 }],
80 ],
81}