Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: breakpad/breakpad_handler.gypi

Issue 12521002: Start and stop crash reporting outside of the loader lock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unit test Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_frame/buggy_bho_handling.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # 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 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 'target_defaults': { 6 'target_defaults': {
7 'variables': { 7 'variables': {
8 'breakpad_handler_target': 0, 8 'breakpad_handler_target': 0,
9 }, 9 },
10 'target_conditions': [ 10 'target_conditions': [
(...skipping 10 matching lines...) Expand all
21 'src/common/windows/guid_string.cc', 21 'src/common/windows/guid_string.cc',
22 'src/common/windows/guid_string.h', 22 'src/common/windows/guid_string.h',
23 'src/google_breakpad/common/minidump_format.h', 23 'src/google_breakpad/common/minidump_format.h',
24 'src/client/windows/crash_generation/minidump_generator.cc', 24 'src/client/windows/crash_generation/minidump_generator.cc',
25 'src/client/windows/crash_generation/minidump_generator.h', 25 'src/client/windows/crash_generation/minidump_generator.h',
26 'src/common/windows/string_utils-inl.h', 26 'src/common/windows/string_utils-inl.h',
27 ], 27 ],
28 'include_dirs': [ 28 'include_dirs': [
29 'src', 29 'src',
30 ], 30 ],
31 'defines': [
32 # Avoid the TerminateThread Application Verifier Failure.
33 'BREAKPAD_NO_TERMINATE_THREAD',
34 ],
31 }], 35 }],
32 ], 36 ],
33 }, 37 },
34 'conditions': [ 38 'conditions': [
35 ['OS=="win"', { 39 ['OS=="win"', {
36 'targets': [ 40 'targets': [
37 { 41 {
38 'target_name': 'breakpad_handler', 42 'target_name': 'breakpad_handler',
39 'type': 'static_library', 43 'type': 'static_library',
40 'variables': { 44 'variables': {
41 'breakpad_handler_target': 1, 45 'breakpad_handler_target': 1,
42 }, 46 },
43 # TODO(gregoryd): direct_dependent_settings should be shared with the 47 # TODO(gregoryd): direct_dependent_settings should be shared with the
44 # 64-bit target, but it doesn't work due to a bug in gyp 48 # 64-bit target, but it doesn't work due to a bug in gyp
45 'direct_dependent_settings': { 49 'direct_dependent_settings': {
46 'include_dirs': [ 50 'include_dirs': [
47 'src', 51 'src',
48 ], 52 ],
49 }, 53 },
50 'defines': [
51 # Avoid the TerminateThread Application Verifier Failure.
52 'BREAKPAD_NO_TERMINATE_THREAD',
53 ],
54 },
55 {
56 # This alternate breakpad target builds a breakpad that is suitable
57 # for use with a DLL. It explicitly does NOT define
58 # BREAKPAD_NO_TERMINATE_THREAD as that define makes breakpad crash
59 # when created and destroyed in DllMain.
60 'target_name': 'breakpad_handler_dll',
61 'type': 'static_library',
62 'variables': {
63 'breakpad_handler_target': 1,
64 },
65 # TODO(gregoryd): direct_dependent_settings should be shared with the
66 # 64-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 }, 54 },
73 ], 55 ],
74 }], 56 }],
75 ['OS=="win" and target_arch=="ia32"', { 57 ['OS=="win" and target_arch=="ia32"', {
76 'targets': [ 58 'targets': [
77 { 59 {
78 'target_name': 'breakpad_handler_win64', 60 'target_name': 'breakpad_handler_win64',
79 'type': 'static_library', 61 'type': 'static_library',
80 'variables': { 62 'variables': {
81 'breakpad_handler_target': 1, 63 'breakpad_handler_target': 1,
82 }, 64 },
83 # TODO(gregoryd): direct_dependent_settings should be shared with the 65 # TODO(gregoryd): direct_dependent_settings should be shared with the
84 # 32-bit target, but it doesn't work due to a bug in gyp 66 # 32-bit target, but it doesn't work due to a bug in gyp
85 'direct_dependent_settings': { 67 'direct_dependent_settings': {
86 'include_dirs': [ 68 'include_dirs': [
87 'src', 69 'src',
88 ], 70 ],
89 }, 71 },
90 'defines': [
91 # Avoid the TerminateThread Application Verifier Failure.
92 'BREAKPAD_NO_TERMINATE_THREAD',
93 ],
94 'configurations': { 72 'configurations': {
95 'Common_Base': { 73 'Common_Base': {
96 'msvs_target_platform': 'x64', 74 'msvs_target_platform': 'x64',
97 }, 75 },
98 }, 76 },
99 }, 77 },
100 ], 78 ],
101 }], 79 }],
102 ], 80 ],
103 } 81 }
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/buggy_bho_handling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698