OLD | NEW |
1 # Copyright 2014 The Crashpad Authors. All rights reserved. | 1 # Copyright 2014 The Crashpad Authors. All rights reserved. |
2 # | 2 # |
3 # Licensed under the Apache License, Version 2.0 (the "License"); | 3 # Licensed under the Apache License, Version 2.0 (the "License"); |
4 # you may not use this file except in compliance with the License. | 4 # you may not use this file except in compliance with the License. |
5 # You may obtain a copy of the License at | 5 # You may obtain a copy of the License at |
6 # | 6 # |
7 # http://www.apache.org/licenses/LICENSE-2.0 | 7 # http://www.apache.org/licenses/LICENSE-2.0 |
8 # | 8 # |
9 # Unless required by applicable law or agreed to in writing, software | 9 # Unless required by applicable law or agreed to in writing, software |
10 # distributed under the License is distributed on an "AS IS" BASIS, | 10 # distributed under the License is distributed on an "AS IS" BASIS, |
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 # See the License for the specific language governing permissions and | 12 # See the License for the specific language governing permissions and |
13 # limitations under the License. | 13 # limitations under the License. |
14 | 14 |
15 { | 15 { |
16 'includes': [ | 16 'includes': [ |
17 '../build/crashpad.gypi', | 17 '../build/crashpad.gypi', |
18 ], | 18 ], |
19 'targets': [ | 19 'targets': [ |
20 { | 20 { |
21 'target_name': 'crashpad_util', | 21 'target_name': 'crashpad_util', |
22 'type': 'static_library', | 22 'type': 'static_library', |
23 'dependencies': [ | 23 'dependencies': [ |
24 '../compat/compat.gyp:crashpad_compat', | 24 '../compat/compat.gyp:crashpad_compat', |
25 '../third_party/mini_chromium/mini_chromium.gyp:base', | 25 '../third_party/mini_chromium/mini_chromium.gyp:base', |
| 26 '../third_party/zlib/zlib.gyp:zlib', |
26 ], | 27 ], |
27 'include_dirs': [ | 28 'include_dirs': [ |
28 '..', | 29 '..', |
29 '<(INTERMEDIATE_DIR)', | 30 '<(INTERMEDIATE_DIR)', |
30 ], | 31 ], |
31 'sources': [ | 32 'sources': [ |
32 'file/file_io.cc', | 33 'file/file_io.cc', |
33 'file/file_io.h', | 34 'file/file_io.h', |
34 'file/file_io_posix.cc', | 35 'file/file_io_posix.cc', |
35 'file/file_io_win.cc', | 36 'file/file_io_win.cc', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 'misc/pdb_structures.cc', | 100 'misc/pdb_structures.cc', |
100 'misc/pdb_structures.h', | 101 'misc/pdb_structures.h', |
101 'misc/random_string.cc', | 102 'misc/random_string.cc', |
102 'misc/random_string.h', | 103 'misc/random_string.h', |
103 'misc/scoped_forbid_return.cc', | 104 'misc/scoped_forbid_return.cc', |
104 'misc/scoped_forbid_return.h', | 105 'misc/scoped_forbid_return.h', |
105 'misc/symbolic_constants_common.h', | 106 'misc/symbolic_constants_common.h', |
106 'misc/tri_state.h', | 107 'misc/tri_state.h', |
107 'misc/uuid.cc', | 108 'misc/uuid.cc', |
108 'misc/uuid.h', | 109 'misc/uuid.h', |
| 110 'misc/zlib.cc', |
| 111 'misc/zlib.h', |
109 'net/http_body.cc', | 112 'net/http_body.cc', |
110 'net/http_body.h', | 113 'net/http_body.h', |
| 114 'net/http_body_gzip.cc', |
| 115 'net/http_body_gzip.h', |
111 'net/http_headers.cc', | 116 'net/http_headers.cc', |
112 'net/http_headers.h', | 117 'net/http_headers.h', |
113 'net/http_multipart_builder.cc', | 118 'net/http_multipart_builder.cc', |
114 'net/http_multipart_builder.h', | 119 'net/http_multipart_builder.h', |
115 'net/http_transport.cc', | 120 'net/http_transport.cc', |
116 'net/http_transport.h', | 121 'net/http_transport.h', |
117 'net/http_transport_mac.mm', | 122 'net/http_transport_mac.mm', |
118 'net/http_transport_win.cc', | 123 'net/http_transport_win.cc', |
119 'numeric/checked_address_range.cc', | 124 'numeric/checked_address_range.cc', |
120 'numeric/checked_address_range.h', | 125 'numeric/checked_address_range.h', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 'win/process_info.h', | 191 'win/process_info.h', |
187 'win/process_structs.h', | 192 'win/process_structs.h', |
188 'win/registration_protocol_win.cc', | 193 'win/registration_protocol_win.cc', |
189 'win/registration_protocol_win.h', | 194 'win/registration_protocol_win.h', |
190 'win/scoped_handle.cc', | 195 'win/scoped_handle.cc', |
191 'win/scoped_handle.h', | 196 'win/scoped_handle.h', |
192 'win/scoped_local_alloc.cc', | 197 'win/scoped_local_alloc.cc', |
193 'win/scoped_local_alloc.h', | 198 'win/scoped_local_alloc.h', |
194 'win/scoped_process_suspend.cc', | 199 'win/scoped_process_suspend.cc', |
195 'win/scoped_process_suspend.h', | 200 'win/scoped_process_suspend.h', |
| 201 'win/session_end_watcher.cc', |
| 202 'win/session_end_watcher.h', |
196 'win/termination_codes.h', | 203 'win/termination_codes.h', |
197 'win/time.cc', | 204 'win/time.cc', |
198 'win/time.h', | 205 'win/time.h', |
199 'win/xp_compat.h', | 206 'win/xp_compat.h', |
200 ], | 207 ], |
201 'conditions': [ | 208 'conditions': [ |
202 ['OS=="mac"', { | 209 ['OS=="mac"', { |
203 'conditions': [ | 210 'conditions': [ |
204 ['GENERATOR=="ninja"', { | 211 ['GENERATOR=="ninja"', { |
205 # ninja’s rules can’t deal with sources that have paths relative | 212 # ninja’s rules can’t deal with sources that have paths relative |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 263 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
257 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 264 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
258 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 265 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
259 '$(SDKROOT)/usr/lib/libbsm.dylib', | 266 '$(SDKROOT)/usr/lib/libbsm.dylib', |
260 ], | 267 ], |
261 }, | 268 }, |
262 }], | 269 }], |
263 ['OS=="win"', { | 270 ['OS=="win"', { |
264 'link_settings': { | 271 'link_settings': { |
265 'libraries': [ | 272 'libraries': [ |
| 273 '-luser32.lib', |
266 '-lwinhttp.lib', | 274 '-lwinhttp.lib', |
267 ], | 275 ], |
268 }, | 276 }, |
269 'msvs_disabled_warnings': [ | 277 'msvs_disabled_warnings': [ |
270 4201, # nonstandard extension used : nameless struct/union. | 278 4201, # nonstandard extension used : nameless struct/union. |
271 4577, # 'noexcept' used with no exception handling mode specified | 279 4577, # 'noexcept' used with no exception handling mode specified |
272 ], | 280 ], |
273 'direct_dependent_settings': { | 281 'direct_dependent_settings': { |
274 'msvs_disabled_warnings': [ | 282 'msvs_disabled_warnings': [ |
275 4577, # 'noexcept' used with no exception handling mode specified | 283 4577, # 'noexcept' used with no exception handling mode specified |
(...skipping 10 matching lines...) Expand all Loading... |
286 ], | 294 ], |
287 }, { # else: OS!="win" | 295 }, { # else: OS!="win" |
288 'sources!': [ | 296 'sources!': [ |
289 'win/capture_context.asm', | 297 'win/capture_context.asm', |
290 ], | 298 ], |
291 }], | 299 }], |
292 ], | 300 ], |
293 }, | 301 }, |
294 ], | 302 ], |
295 } | 303 } |
OLD | NEW |