| 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', | |
| 27 ], | 26 ], |
| 28 'include_dirs': [ | 27 'include_dirs': [ |
| 29 '..', | 28 '..', |
| 30 '<(INTERMEDIATE_DIR)', | 29 '<(INTERMEDIATE_DIR)', |
| 31 ], | 30 ], |
| 32 'sources': [ | 31 'sources': [ |
| 33 'file/file_io.cc', | 32 'file/file_io.cc', |
| 34 'file/file_io.h', | 33 'file/file_io.h', |
| 35 'file/file_io_posix.cc', | 34 'file/file_io_posix.cc', |
| 36 'file/file_io_win.cc', | 35 'file/file_io_win.cc', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 'misc/pdb_structures.cc', | 99 'misc/pdb_structures.cc', |
| 101 'misc/pdb_structures.h', | 100 'misc/pdb_structures.h', |
| 102 'misc/random_string.cc', | 101 'misc/random_string.cc', |
| 103 'misc/random_string.h', | 102 'misc/random_string.h', |
| 104 'misc/scoped_forbid_return.cc', | 103 'misc/scoped_forbid_return.cc', |
| 105 'misc/scoped_forbid_return.h', | 104 'misc/scoped_forbid_return.h', |
| 106 'misc/symbolic_constants_common.h', | 105 'misc/symbolic_constants_common.h', |
| 107 'misc/tri_state.h', | 106 'misc/tri_state.h', |
| 108 'misc/uuid.cc', | 107 'misc/uuid.cc', |
| 109 'misc/uuid.h', | 108 'misc/uuid.h', |
| 110 'misc/zlib.cc', | |
| 111 'misc/zlib.h', | |
| 112 'net/http_body.cc', | 109 'net/http_body.cc', |
| 113 'net/http_body.h', | 110 'net/http_body.h', |
| 114 'net/http_body_gzip.cc', | |
| 115 'net/http_body_gzip.h', | |
| 116 'net/http_headers.cc', | 111 'net/http_headers.cc', |
| 117 'net/http_headers.h', | 112 'net/http_headers.h', |
| 118 'net/http_multipart_builder.cc', | 113 'net/http_multipart_builder.cc', |
| 119 'net/http_multipart_builder.h', | 114 'net/http_multipart_builder.h', |
| 120 'net/http_transport.cc', | 115 'net/http_transport.cc', |
| 121 'net/http_transport.h', | 116 'net/http_transport.h', |
| 122 'net/http_transport_mac.mm', | 117 'net/http_transport_mac.mm', |
| 123 'net/http_transport_win.cc', | 118 'net/http_transport_win.cc', |
| 124 'numeric/checked_address_range.cc', | 119 'numeric/checked_address_range.cc', |
| 125 'numeric/checked_address_range.h', | 120 'numeric/checked_address_range.h', |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 'win/process_info.h', | 186 'win/process_info.h', |
| 192 'win/process_structs.h', | 187 'win/process_structs.h', |
| 193 'win/registration_protocol_win.cc', | 188 'win/registration_protocol_win.cc', |
| 194 'win/registration_protocol_win.h', | 189 'win/registration_protocol_win.h', |
| 195 'win/scoped_handle.cc', | 190 'win/scoped_handle.cc', |
| 196 'win/scoped_handle.h', | 191 'win/scoped_handle.h', |
| 197 'win/scoped_local_alloc.cc', | 192 'win/scoped_local_alloc.cc', |
| 198 'win/scoped_local_alloc.h', | 193 'win/scoped_local_alloc.h', |
| 199 'win/scoped_process_suspend.cc', | 194 'win/scoped_process_suspend.cc', |
| 200 'win/scoped_process_suspend.h', | 195 'win/scoped_process_suspend.h', |
| 201 'win/session_end_watcher.cc', | |
| 202 'win/session_end_watcher.h', | |
| 203 'win/termination_codes.h', | 196 'win/termination_codes.h', |
| 204 'win/time.cc', | 197 'win/time.cc', |
| 205 'win/time.h', | 198 'win/time.h', |
| 206 'win/xp_compat.h', | 199 'win/xp_compat.h', |
| 207 ], | 200 ], |
| 208 'conditions': [ | 201 'conditions': [ |
| 209 ['OS=="mac"', { | 202 ['OS=="mac"', { |
| 210 'conditions': [ | 203 'conditions': [ |
| 211 ['GENERATOR=="ninja"', { | 204 ['GENERATOR=="ninja"', { |
| 212 # ninja’s rules can’t deal with sources that have paths relative | 205 # 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... |
| 263 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 256 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 264 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 257 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 265 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | 258 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', |
| 266 '$(SDKROOT)/usr/lib/libbsm.dylib', | 259 '$(SDKROOT)/usr/lib/libbsm.dylib', |
| 267 ], | 260 ], |
| 268 }, | 261 }, |
| 269 }], | 262 }], |
| 270 ['OS=="win"', { | 263 ['OS=="win"', { |
| 271 'link_settings': { | 264 'link_settings': { |
| 272 'libraries': [ | 265 'libraries': [ |
| 273 '-luser32.lib', | |
| 274 '-lwinhttp.lib', | 266 '-lwinhttp.lib', |
| 275 ], | 267 ], |
| 276 }, | 268 }, |
| 277 'msvs_disabled_warnings': [ | 269 'msvs_disabled_warnings': [ |
| 278 4201, # nonstandard extension used : nameless struct/union. | 270 4201, # nonstandard extension used : nameless struct/union. |
| 279 4577, # 'noexcept' used with no exception handling mode specified | 271 4577, # 'noexcept' used with no exception handling mode specified |
| 280 ], | 272 ], |
| 281 'direct_dependent_settings': { | 273 'direct_dependent_settings': { |
| 282 'msvs_disabled_warnings': [ | 274 'msvs_disabled_warnings': [ |
| 283 4577, # 'noexcept' used with no exception handling mode specified | 275 4577, # 'noexcept' used with no exception handling mode specified |
| (...skipping 10 matching lines...) Expand all Loading... |
| 294 ], | 286 ], |
| 295 }, { # else: OS!="win" | 287 }, { # else: OS!="win" |
| 296 'sources!': [ | 288 'sources!': [ |
| 297 'win/capture_context.asm', | 289 'win/capture_context.asm', |
| 298 ], | 290 ], |
| 299 }], | 291 }], |
| 300 ], | 292 ], |
| 301 }, | 293 }, |
| 302 ], | 294 ], |
| 303 } | 295 } |
| OLD | NEW |