OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'test_shell_windows_resource_files': [ | 8 'test_shell_windows_resource_files': [ |
9 'resources/test_shell.rc', | 9 'resources/test_shell.rc', |
10 'resources/pan_east.cur', | 10 'resources/pan_east.cur', |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 }, | 481 }, |
482 ], | 482 ], |
483 'direct_dependent_settings': { | 483 'direct_dependent_settings': { |
484 'include_dirs': [ | 484 'include_dirs': [ |
485 '<(SHARED_INTERMEDIATE_DIR)/test_shell', | 485 '<(SHARED_INTERMEDIATE_DIR)/test_shell', |
486 ], | 486 ], |
487 }, | 487 }, |
488 }, | 488 }, |
489 ], | 489 ], |
490 }], | 490 }], |
491 # Need to do the same for Win and Linux. We build a separate dylib/dll/so | 491 # Need to do the same for Linux. We build a separate dylib/dll/so |
492 # so V8 can have a second set of global variables and run workers. | 492 # so V8 can have a second set of global variables and run workers. |
493 # Normally, workers run in a separate process. | 493 # Normally, workers run in a separate process. |
494 ['OS=="mac"', { | 494 ['OS!="linux"', { |
495 'targets': [ | 495 'targets': [ |
496 { | 496 { |
497 'target_name': 'test_worker', | 497 'target_name': 'test_worker', |
498 'type': 'shared_library', | 498 'type': 'shared_library', |
499 'xcode_settings': { | 499 'xcode_settings': { |
500 'EXPORTED_SYMBOLS_FILE': 'test_worker/test_worker.exp', | 500 'EXPORTED_SYMBOLS_FILE': 'test_worker/test_worker.exp', |
501 }, | 501 }, |
| 502 'msvs_guid': '3E03D462-780D-4C4D-B22E-5E095E6CF110', |
| 503 'msvs_disabled_warnings': [4800], |
502 'dependencies': [ | 504 'dependencies': [ |
503 '../../../base/base.gyp:base', | 505 '../../../base/base.gyp:base', |
504 '../../../base/base.gyp:base_gfx', | 506 '../../../base/base.gyp:base_gfx', |
505 '../../../net/net.gyp:net', | 507 '../../../net/net.gyp:net', |
506 '../../../skia/skia.gyp:skia', | 508 '../../../skia/skia.gyp:skia', |
507 '../../../testing/gtest.gyp:gtest', | 509 '../../../testing/gtest.gyp:gtest', |
508 '../../../third_party/npapi/npapi.gyp:npapi', | 510 '../../../third_party/npapi/npapi.gyp:npapi', |
509 '../../webkit.gyp:glue', | 511 '../../webkit.gyp:glue', |
510 '../../webkit.gyp:webkit', | 512 '../../webkit.gyp:webkit', |
511 ], | 513 ], |
512 'sources': [ | 514 'sources': [ |
513 'test_worker/test_webworker.cc', | 515 'test_worker/test_webworker.cc', |
514 'test_worker/test_worker_main.cc', | 516 'test_worker/test_worker_main.cc', |
| 517 'test_worker/test_worker.def', |
| 518 ], |
| 519 'conditions': [ |
| 520 ['OS!="win"', { |
| 521 'sources!' : ['test_worker/test_worker.def'], |
| 522 }], |
515 ], | 523 ], |
516 }, | 524 }, |
517 ], | 525 ], |
518 }], | 526 }], |
519 ], | 527 ], |
520 } | 528 } |
OLD | NEW |