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

Side by Side Diff: build/secondary/third_party/crashpad/crashpad/util/BUILD.gn

Issue 1416133003: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add some stub gn files Created 5 years 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
« no previous file with comments | « build/secondary/third_party/crashpad/crashpad/tools/BUILD.gn ('k') | chrome/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 if (is_mac) { 5 if (is_mac) {
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 } 7 }
8 8
9 # Allows the source set to inject ldflags for targets that link to it. 9 # Allows the source set to inject ldflags for targets that link to it.
10 config("util_link_config") { 10 config("util_link_config") {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 "file/string_file.h", 51 "file/string_file.h",
52 "mac/checked_mach_address_range.h", 52 "mac/checked_mach_address_range.h",
53 "mac/launchd.h", 53 "mac/launchd.h",
54 "mac/launchd.mm", 54 "mac/launchd.mm",
55 "mac/mac_util.cc", 55 "mac/mac_util.cc",
56 "mac/mac_util.h", 56 "mac/mac_util.h",
57 "mac/service_management.cc", 57 "mac/service_management.cc",
58 "mac/service_management.h", 58 "mac/service_management.h",
59 "mac/xattr.cc", 59 "mac/xattr.cc",
60 "mac/xattr.h", 60 "mac/xattr.h",
61 "mach/child_port_handshake.cc",
62 "mach/child_port_handshake.h",
63 "mach/child_port_server.cc",
64 "mach/child_port_server.h",
65 "mach/child_port_types.h",
66 "mach/composite_mach_message_server.cc",
67 "mach/composite_mach_message_server.h",
68 "mach/exc_client_variants.cc",
69 "mach/exc_client_variants.h",
70 "mach/exc_server_variants.cc",
71 "mach/exc_server_variants.h",
72 "mach/exception_behaviors.cc",
73 "mach/exception_behaviors.h",
74 "mach/exception_ports.cc",
75 "mach/exception_ports.h",
76 "mach/exception_types.cc",
77 "mach/exception_types.h",
78 "mach/mach_extensions.cc",
79 "mach/mach_extensions.h",
80 "mach/mach_message.cc",
81 "mach/mach_message.h",
82 "mach/mach_message_server.cc",
83 "mach/mach_message_server.h",
84 "mach/notify_server.cc",
85 "mach/notify_server.h",
86 "mach/scoped_task_suspend.cc",
87 "mach/scoped_task_suspend.h",
88 "mach/symbolic_constants_mach.cc",
89 "mach/symbolic_constants_mach.h",
90 "mach/task_for_pid.cc",
91 "mach/task_for_pid.h",
92 "mach/task_memory.cc",
93 "mach/task_memory.h",
94 "misc/clock.h", 61 "misc/clock.h",
95 "misc/clock_mac.cc", 62 "misc/clock_mac.cc",
96 "misc/clock_posix.cc", 63 "misc/clock_posix.cc",
97 "misc/clock_win.cc", 64 "misc/clock_win.cc",
98 "misc/implicit_cast.h", 65 "misc/implicit_cast.h",
99 "misc/initialization_state.h", 66 "misc/initialization_state.h",
100 "misc/initialization_state_dcheck.cc", 67 "misc/initialization_state_dcheck.cc",
101 "misc/initialization_state_dcheck.h", 68 "misc/initialization_state_dcheck.h",
102 "misc/pdb_structures.cc", 69 "misc/pdb_structures.cc",
103 "misc/pdb_structures.h", 70 "misc/pdb_structures.h",
71 "misc/random_string.cc",
72 "misc/random_string.h",
104 "misc/scoped_forbid_return.cc", 73 "misc/scoped_forbid_return.cc",
105 "misc/scoped_forbid_return.h", 74 "misc/scoped_forbid_return.h",
106 "misc/symbolic_constants_common.h", 75 "misc/symbolic_constants_common.h",
107 "misc/tri_state.h", 76 "misc/tri_state.h",
108 "misc/uuid.cc", 77 "misc/uuid.cc",
109 "misc/uuid.h", 78 "misc/uuid.h",
110 "net/http_body.cc", 79 "net/http_body.cc",
111 "net/http_body.h", 80 "net/http_body.h",
112 "net/http_headers.cc", 81 "net/http_headers.cc",
113 "net/http_headers.h", 82 "net/http_headers.h",
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 "thread/thread.cc", 121 "thread/thread.cc",
153 "thread/thread.h", 122 "thread/thread.h",
154 "thread/thread_log_messages.cc", 123 "thread/thread_log_messages.cc",
155 "thread/thread_log_messages.h", 124 "thread/thread_log_messages.h",
156 "thread/thread_posix.cc", 125 "thread/thread_posix.cc",
157 "thread/thread_win.cc", 126 "thread/thread_win.cc",
158 "win/address_types.h", 127 "win/address_types.h",
159 "win/capture_context.asm", 128 "win/capture_context.asm",
160 "win/capture_context.h", 129 "win/capture_context.h",
161 "win/checked_win_address_range.h", 130 "win/checked_win_address_range.h",
131 "win/command_line.cc",
132 "win/command_line.h",
162 "win/critical_section_with_debug_info.cc", 133 "win/critical_section_with_debug_info.cc",
163 "win/critical_section_with_debug_info.h", 134 "win/critical_section_with_debug_info.h",
164 "win/exception_handler_server.cc", 135 "win/exception_handler_server.cc",
165 "win/exception_handler_server.h", 136 "win/exception_handler_server.h",
166 "win/get_function.cc", 137 "win/get_function.cc",
167 "win/get_function.h", 138 "win/get_function.h",
139 "win/handle.cc",
140 "win/handle.h",
168 "win/module_version.cc", 141 "win/module_version.cc",
169 "win/module_version.h", 142 "win/module_version.h",
170 "win/nt_internals.cc", 143 "win/nt_internals.cc",
171 "win/nt_internals.h", 144 "win/nt_internals.h",
172 "win/ntstatus_logging.cc", 145 "win/ntstatus_logging.cc",
173 "win/ntstatus_logging.h", 146 "win/ntstatus_logging.h",
174 "win/process_info.cc", 147 "win/process_info.cc",
175 "win/process_info.h", 148 "win/process_info.h",
176 "win/process_structs.h", 149 "win/process_structs.h",
177 "win/registration_protocol_win.cc", 150 "win/registration_protocol_win.cc",
178 "win/registration_protocol_win.h", 151 "win/registration_protocol_win.h",
179 "win/scoped_handle.cc", 152 "win/scoped_handle.cc",
180 "win/scoped_handle.h", 153 "win/scoped_handle.h",
154 "win/scoped_local_alloc.cc",
155 "win/scoped_local_alloc.h",
181 "win/scoped_process_suspend.cc", 156 "win/scoped_process_suspend.cc",
182 "win/scoped_process_suspend.h", 157 "win/scoped_process_suspend.h",
183 "win/time.cc", 158 "win/time.cc",
184 "win/time.h", 159 "win/time.h",
185 "win/xp_compat.h", 160 "win/xp_compat.h",
186 ] 161 ]
187 162
163 if (is_mac) {
164 # mach/ are not globally filtered.
165 sources += [
166 "mach/child_port_handshake.cc",
167 "mach/child_port_handshake.h",
168 "mach/child_port_server.cc",
169 "mach/child_port_server.h",
170 "mach/child_port_types.h",
171 "mach/composite_mach_message_server.cc",
172 "mach/composite_mach_message_server.h",
173 "mach/exc_client_variants.cc",
174 "mach/exc_client_variants.h",
175 "mach/exc_server_variants.cc",
176 "mach/exc_server_variants.h",
177 "mach/exception_behaviors.cc",
178 "mach/exception_behaviors.h",
179 "mach/exception_ports.cc",
180 "mach/exception_ports.h",
181 "mach/exception_types.cc",
182 "mach/exception_types.h",
183 "mach/mach_extensions.cc",
184 "mach/mach_extensions.h",
185 "mach/mach_message.cc",
186 "mach/mach_message.h",
187 "mach/mach_message_server.cc",
188 "mach/mach_message_server.h",
189 "mach/notify_server.cc",
190 "mach/notify_server.h",
191 "mach/scoped_task_suspend.cc",
192 "mach/scoped_task_suspend.h",
193 "mach/symbolic_constants_mach.cc",
194 "mach/symbolic_constants_mach.h",
195 "mach/task_for_pid.cc",
196 "mach/task_for_pid.h",
197 "mach/task_memory.cc",
198 "mach/task_memory.h",
199 ]
200 }
201
188 # Include files from here and generated files starting with "util". 202 # Include files from here and generated files starting with "util".
189 include_dirs = [ 203 include_dirs = [
190 "..", 204 "..",
191 "$root_gen_dir/third_party/crashpad/crashpad", 205 "$root_gen_dir/third_party/crashpad/crashpad",
192 ] 206 ]
193 207
194 all_dependent_configs = [ ":util_link_config" ] 208 all_dependent_configs = [ ":util_link_config" ]
195 209
196 deps = [ 210 deps = [
197 "//base", 211 "//base",
198 "//third_party/crashpad/crashpad/compat", 212 "//third_party/crashpad/crashpad/compat",
199 ] 213 ]
200 214
201 if (is_win) { 215 if (is_win) {
202 libs = [ 216 libs = [
203 "rpcrt4.lib", 217 "rpcrt4.lib",
204 "winhttp.lib", 218 "winhttp.lib",
205 ] 219 ]
220 cflags = [ "/wd4201" ] # nonstandard extension used : nameless struct/union .
221
206 # TODO(GYP) UseSafeExceptionHandlers masm rule. 222 # TODO(GYP) UseSafeExceptionHandlers masm rule.
207 } else if (is_mac) { 223 } else if (is_mac) {
208 sources += get_target_outputs(":mig") 224 sources += get_target_outputs(":mig")
209 deps += [ ":mig" ] 225 deps += [ ":mig" ]
210 libs = [ 226 libs = [
211 "CoreFoundation.framework", 227 "CoreFoundation.framework",
212 "Foundation.framework", 228 "Foundation.framework",
213 "IOKit.framework", 229 "IOKit.framework",
214 ] 230 ]
215 } 231 }
216 } 232 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/crashpad/crashpad/tools/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698