| 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, |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 ['OS=="win"', { | 211 ['OS=="win"', { |
| 212 'link_settings': { | 212 'link_settings': { |
| 213 'libraries': [ | 213 'libraries': [ |
| 214 '-lrpcrt4.lib', | 214 '-lrpcrt4.lib', |
| 215 '-lwinhttp.lib', | 215 '-lwinhttp.lib', |
| 216 ], | 216 ], |
| 217 }, | 217 }, |
| 218 }], | 218 }], |
| 219 ], | 219 ], |
| 220 }, | 220 }, |
| 221 { | |
| 222 'target_name': 'crashpad_util_test_lib', | |
| 223 'type': 'static_library', | |
| 224 'dependencies': [ | |
| 225 'crashpad_util', | |
| 226 '../compat/compat.gyp:crashpad_compat', | |
| 227 '../third_party/gtest/gtest.gyp:gtest', | |
| 228 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
| 229 ], | |
| 230 'include_dirs': [ | |
| 231 '..', | |
| 232 ], | |
| 233 'sources': [ | |
| 234 'test/errors.cc', | |
| 235 'test/errors.h', | |
| 236 'test/gtest_death_check.h', | |
| 237 'test/mac/dyld.h', | |
| 238 'test/mac/mach_errors.cc', | |
| 239 'test/mac/mach_errors.h', | |
| 240 'test/mac/mach_multiprocess.cc', | |
| 241 'test/mac/mach_multiprocess.h', | |
| 242 'test/multiprocess.h', | |
| 243 'test/multiprocess_exec.h', | |
| 244 'test/multiprocess_exec_posix.cc', | |
| 245 'test/multiprocess_exec_win.cc', | |
| 246 'test/multiprocess_posix.cc', | |
| 247 'test/paths.cc', | |
| 248 'test/paths.h', | |
| 249 'test/paths_mac.cc', | |
| 250 'test/paths_win.cc', | |
| 251 'test/scoped_temp_dir.cc', | |
| 252 'test/scoped_temp_dir.h', | |
| 253 'test/scoped_temp_dir_posix.cc', | |
| 254 'test/scoped_temp_dir_win.cc', | |
| 255 'test/thread.cc', | |
| 256 'test/thread.h', | |
| 257 'test/thread_posix.cc', | |
| 258 'test/thread_win.cc', | |
| 259 ], | |
| 260 'conditions': [ | |
| 261 ['OS=="mac"', { | |
| 262 'link_settings': { | |
| 263 'libraries': [ | |
| 264 '$(SDKROOT)/usr/lib/libbsm.dylib', | |
| 265 ], | |
| 266 }, | |
| 267 }], | |
| 268 ], | |
| 269 }, | |
| 270 { | |
| 271 'target_name': 'crashpad_util_test', | |
| 272 'type': 'executable', | |
| 273 'dependencies': [ | |
| 274 'crashpad_util', | |
| 275 'crashpad_util_test_lib', | |
| 276 'crashpad_util_test_multiprocess_exec_test_child', | |
| 277 '../compat/compat.gyp:crashpad_compat', | |
| 278 '../third_party/gmock/gmock.gyp:gmock', | |
| 279 '../third_party/gmock/gmock.gyp:gmock_main', | |
| 280 '../third_party/gtest/gtest.gyp:gtest', | |
| 281 '../third_party/mini_chromium/mini_chromium.gyp:base', | |
| 282 ], | |
| 283 'include_dirs': [ | |
| 284 '..', | |
| 285 ], | |
| 286 'sources': [ | |
| 287 'file/file_io_test.cc', | |
| 288 'file/string_file_test.cc', | |
| 289 'mac/checked_mach_address_range_test.cc', | |
| 290 'mac/launchd_test.mm', | |
| 291 'mac/mac_util_test.mm', | |
| 292 'mac/service_management_test.mm', | |
| 293 'mac/xattr_test.cc', | |
| 294 'mach/child_port_handshake_test.cc', | |
| 295 'mach/child_port_server_test.cc', | |
| 296 'mach/composite_mach_message_server_test.cc', | |
| 297 'mach/exc_client_variants_test.cc', | |
| 298 'mach/exc_server_variants_test.cc', | |
| 299 'mach/exception_behaviors_test.cc', | |
| 300 'mach/exception_ports_test.cc', | |
| 301 'mach/mach_extensions_test.cc', | |
| 302 'mach/mach_message_server_test.cc', | |
| 303 'mach/mach_message_test.cc', | |
| 304 'mach/notify_server_test.cc', | |
| 305 'mach/scoped_task_suspend_test.cc', | |
| 306 'mach/symbolic_constants_mach_test.cc', | |
| 307 'mach/task_memory_test.cc', | |
| 308 'misc/clock_test.cc', | |
| 309 'misc/initialization_state_dcheck_test.cc', | |
| 310 'misc/initialization_state_test.cc', | |
| 311 'misc/scoped_forbid_return_test.cc', | |
| 312 'misc/uuid_test.cc', | |
| 313 'net/http_body_test.cc', | |
| 314 'net/http_body_test_util.cc', | |
| 315 'net/http_body_test_util.h', | |
| 316 'net/http_multipart_builder_test.cc', | |
| 317 'net/http_transport_test.cc', | |
| 318 'numeric/checked_range_test.cc', | |
| 319 'numeric/in_range_cast_test.cc', | |
| 320 'numeric/int128_test.cc', | |
| 321 'posix/process_info_test.cc', | |
| 322 'posix/symbolic_constants_posix_test.cc', | |
| 323 'stdlib/map_insert_test.cc', | |
| 324 'stdlib/string_number_conversion_test.cc', | |
| 325 'stdlib/strlcpy_test.cc', | |
| 326 'stdlib/strnlen_test.cc', | |
| 327 'string/split_string_test.cc', | |
| 328 'synchronization/semaphore_test.cc', | |
| 329 'test/mac/mach_multiprocess_test.cc', | |
| 330 'test/multiprocess_exec_test.cc', | |
| 331 'test/multiprocess_posix_test.cc', | |
| 332 'test/paths_test.cc', | |
| 333 'test/scoped_temp_dir_test.cc', | |
| 334 'thread/thread_log_messages_test.cc', | |
| 335 'win/process_info_test.cc', | |
| 336 'win/time_test.cc', | |
| 337 ], | |
| 338 'conditions': [ | |
| 339 ['OS=="mac"', { | |
| 340 'link_settings': { | |
| 341 'libraries': [ | |
| 342 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | |
| 343 ], | |
| 344 }, | |
| 345 }], | |
| 346 ['OS=="win"', { | |
| 347 'link_settings': { | |
| 348 'libraries': [ | |
| 349 '-lrpcrt4.lib', | |
| 350 ], | |
| 351 }, | |
| 352 }], | |
| 353 ], | |
| 354 }, | |
| 355 { | |
| 356 'target_name': 'crashpad_util_test_multiprocess_exec_test_child', | |
| 357 'type': 'executable', | |
| 358 'sources': [ | |
| 359 'test/multiprocess_exec_test_child.cc', | |
| 360 ], | |
| 361 }, | |
| 362 ], | |
| 363 'conditions': [ | |
| 364 ['OS=="win"', { | |
| 365 'targets': [ | |
| 366 { | |
| 367 'target_name': 'crashpad_util_test_process_info_test_child_x64', | |
| 368 'type': 'executable', | |
| 369 'sources': [ | |
| 370 'win/process_info_test_child.cc', | |
| 371 ], | |
| 372 'msvs_configuration_platform': 'x64', | |
| 373 # Set an unusually high load address to make sure that the main | |
| 374 # executable still appears as the first element in | |
| 375 # ProcessInfo::Modules(). | |
| 376 'msvs_settings': { | |
| 377 'VCLinkerTool': { | |
| 378 'AdditionalOptions': [ | |
| 379 '/BASE:0x78000000', | |
| 380 '/FIXED', | |
| 381 ], | |
| 382 'TargetMachine': '17', # x64. | |
| 383 }, | |
| 384 }, | |
| 385 }, | |
| 386 { | |
| 387 # Same as above, but explicitly x86 to test 64->32 access. | |
| 388 'target_name': 'crashpad_util_test_process_info_test_child_x86', | |
| 389 'type': 'executable', | |
| 390 'sources': [ | |
| 391 'win/process_info_test_child.cc', | |
| 392 ], | |
| 393 'msvs_configuration_platform': 'x86', | |
| 394 # Set an unusually high load address to make sure that the main | |
| 395 # executable still appears as the first element in | |
| 396 # ProcessInfo::Modules(). | |
| 397 'msvs_settings': { | |
| 398 'VCLinkerTool': { | |
| 399 'AdditionalOptions': [ | |
| 400 '/BASE:0x78000000', | |
| 401 '/FIXED', | |
| 402 ], | |
| 403 'TargetMachine': '1', # x86. | |
| 404 }, | |
| 405 }, | |
| 406 }, | |
| 407 ] | |
| 408 }], | |
| 409 ], | 221 ], |
| 410 } | 222 } |
| OLD | NEW |