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

Side by Side Diff: components/breakpad.gypi

Issue 327853002: Move the CrashKeysWin class to a pair of files as first step. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge refactor and testing back in. Created 6 years, 6 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
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 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 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 'targets': [
7 'variables': { 7 {
8 'breakpad_component_target': 0, 8 'target_name': 'breakpad_component_lib',
9 'type': 'static_library',
10 'sources': [
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',
15 ],
16 'include_dirs': [
17 '..',
18 '../breakpad/src',
19 ],
9 }, 20 },
10 'target_conditions': [
11 ['breakpad_component_target==1', {
12 'defines': ['BREAKPAD_IMPLEMENTATION'],
13 'sources': [
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',
25 ],
26 }],
27 ],
28 },
29 'targets': [
30 { 21 {
31 # Note: if you depend on this target, you need to either link in 22 # Note: if you depend on this target, you need to either link in
32 # content.gyp:content_common, or add 23 # content.gyp:content_common, or add
33 # content/public/common/content_switches.cc to your sources. 24 # content/public/common/content_switches.cc to your sources.
34 'target_name': 'breakpad_component', 25 'target_name': 'breakpad_component',
35 'type': 'static_library', 26 'type': 'static_library',
36 'variables': { 27 'sources': [
37 'breakpad_component_target': 1, 28 'breakpad/app/breakpad_linux.cc',
38 }, 29 'breakpad/app/breakpad_linux.h',
30 'breakpad/app/breakpad_linux_impl.h',
31 'breakpad/app/breakpad_mac.h',
32 'breakpad/app/breakpad_mac.mm',
33 'breakpad/app/breakpad_win.cc',
34 'breakpad/app/breakpad_win.h',
35 'breakpad/app/hard_error_handler_win.cc',
36 'breakpad/app/hard_error_handler_win.h',
37 ],
39 'dependencies': [ 38 'dependencies': [
39 'breakpad_component_lib',
40 '../base/base.gyp:base', 40 '../base/base.gyp:base',
41 ], 41 ],
42 'defines': ['BREAKPAD_IMPLEMENTATION'],
42 'conditions': [ 43 'conditions': [
43 ['OS=="mac"', { 44 ['OS=="mac"', {
44 'dependencies': [ 45 'dependencies': [
45 '../breakpad/breakpad.gyp:breakpad', 46 '../breakpad/breakpad.gyp:breakpad',
46 ], 47 ],
47 }], 48 }],
48 ['OS=="win"', { 49 ['OS=="win"', {
49 'dependencies': [ 50 'dependencies': [
50 '../breakpad/breakpad.gyp:breakpad_handler', 51 '../breakpad/breakpad.gyp:breakpad_handler',
51 '../breakpad/breakpad.gyp:breakpad_sender', 52 '../breakpad/breakpad.gyp:breakpad_sender',
(...skipping 12 matching lines...) Expand all
64 'target_conditions': [ 65 'target_conditions': [
65 # Need 'target_conditions' to override default filename_rules to include 66 # Need 'target_conditions' to override default filename_rules to include
66 # the files on Android. 67 # the files on Android.
67 ['OS=="android"', { 68 ['OS=="android"', {
68 'sources/': [ 69 'sources/': [
69 ['include', '^breakpad/app/breakpad_linux\\.cc$'], 70 ['include', '^breakpad/app/breakpad_linux\\.cc$'],
70 ], 71 ],
71 }], 72 }],
72 ], 73 ],
73 }, 74 },
75 {
76 'target_name': 'breakpad_test_support',
77 'type': 'none',
78 'dependencies': [
79 'breakpad_component_lib',
80 ],
81 'direct_dependent_settings': {
82 'include_dirs' : [
83 '../breakpad/src',
84 ],
85 }
86 },
74 ], 87 ],
75 'conditions': [ 88 'conditions': [
76 ['OS=="win"', { 89 ['OS=="win"', {
77 'targets': [ 90 'targets': [
78 { 91 {
79 'target_name': 'breakpad_crash_service', 92 'target_name': 'breakpad_crash_service',
80 'type': 'static_library', 93 'type': 'static_library',
81 'dependencies': [ 94 'dependencies': [
82 '../base/base.gyp:base', 95 '../base/base.gyp:base',
83 '../breakpad/breakpad.gyp:breakpad_handler', 96 '../breakpad/breakpad.gyp:breakpad_handler',
84 '../breakpad/breakpad.gyp:breakpad_sender', 97 '../breakpad/breakpad.gyp:breakpad_sender',
85 ], 98 ],
86 'sources': [ 99 'sources': [
87 'breakpad/tools/crash_service.cc', 100 'breakpad/tools/crash_service.cc',
88 'breakpad/tools/crash_service.h', 101 'breakpad/tools/crash_service.h',
89 ], 102 ],
90 }, 103 },
91 ], 104 ],
92 }], 105 }],
93 ['OS=="win" and target_arch=="ia32"', { 106 ['OS=="win" and target_arch=="ia32"', {
94 'targets': [ 107 'targets': [
95 { 108 {
96 # Note: if you depend on this target, you need to either link in 109 # Note: if you depend on this target, you need to either link in
97 # content.gyp:content_common, or add 110 # content.gyp:content_common, or add
98 # content/public/common/content_switches.cc to your sources. 111 # content/public/common/content_switches.cc to your sources.
99 'target_name': 'breakpad_win64', 112 'target_name': 'breakpad_win64',
100 'type': 'static_library', 113 'type': 'static_library',
101 'variables': { 114 'sources': [
102 'breakpad_component_target': 1, 115 'breakpad/app/breakpad_client.cc',
103 }, 116 'breakpad/app/breakpad_client.h',
117 'breakpad/app/breakpad_linux.cc',
118 'breakpad/app/breakpad_linux.h',
119 'breakpad/app/breakpad_linux_impl.h',
120 'breakpad/app/breakpad_mac.h',
121 'breakpad/app/breakpad_mac.mm',
122 'breakpad/app/breakpad_win.cc',
123 'breakpad/app/breakpad_win.h',
124 # TODO(siggi): test the x64 version too.
125 'breakpad/app/crash_keys_win.cc',
126 'breakpad/app/crash_keys_win.h',
127 'breakpad/app/hard_error_handler_win.cc',
128 'breakpad/app/hard_error_handler_win.h',
129 ],
104 'defines': [ 130 'defines': [
105 'COMPILE_CONTENT_STATICALLY', 131 'COMPILE_CONTENT_STATICALLY',
132 'BREAKPAD_IMPLEMENTATION',
106 ], 133 ],
107 'dependencies': [ 134 'dependencies': [
108 '../base/base.gyp:base_win64', 135 '../base/base.gyp:base_win64',
109 '../breakpad/breakpad.gyp:breakpad_handler_win64', 136 '../breakpad/breakpad.gyp:breakpad_handler_win64',
110 '../breakpad/breakpad.gyp:breakpad_sender_win64', 137 '../breakpad/breakpad.gyp:breakpad_sender_win64',
111 '../sandbox/sandbox.gyp:sandbox_win64', 138 '../sandbox/sandbox.gyp:sandbox_win64',
112 ], 139 ],
113 'configurations': { 140 'configurations': {
114 'Common_Base': { 141 'Common_Base': {
115 'msvs_target_platform': 'x64', 142 'msvs_target_platform': 'x64',
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 'sources/': [ 208 'sources/': [
182 ['include', '^breakpad/browser/crash_handler_host_linux\\.cc$'], 209 ['include', '^breakpad/browser/crash_handler_host_linux\\.cc$'],
183 ], 210 ],
184 }], 211 }],
185 ], 212 ],
186 }, 213 },
187 ], 214 ],
188 }], 215 }],
189 ], 216 ],
190 } 217 }
OLDNEW
« no previous file with comments | « no previous file | components/breakpad/app/breakpad_win.cc » ('j') | components/breakpad/app/crash_keys_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698