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 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../../build/common.gypi', | 10 '../../../build/common.gypi', |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 'include_dirs': [ | 383 'include_dirs': [ |
384 '../../..', | 384 '../../..', |
385 ], | 385 ], |
386 'dependencies': [ | 386 'dependencies': [ |
387 '../../../third_party/npapi/npapi.gyp:npapi', | 387 '../../../third_party/npapi/npapi.gyp:npapi', |
388 '../../webkit.gyp:wtf', | 388 '../../webkit.gyp:wtf', |
389 ], | 389 ], |
390 }, | 390 }, |
391 ], | 391 ], |
392 }], | 392 }], |
| 393 # Need to do the same for Win and Linux. We build a separate dylib/dll/so |
| 394 # so V8 can have a second set of global variables and run workers. |
| 395 # Normally, workers run in a separate process. |
| 396 ['OS=="mac"', { |
| 397 'targets': [ |
| 398 { |
| 399 'target_name': 'test_worker', |
| 400 'type': 'shared_library', |
| 401 'xcode_settings': { |
| 402 'EXPORTED_SYMBOLS_FILE': '../../../chrome/test/worker/test_worker.e
xp', |
| 403 }, |
| 404 'dependencies': [ |
| 405 '../../../base/base.gyp:base', |
| 406 '../../../base/base.gyp:base_gfx', |
| 407 '../../../net/net.gyp:net', |
| 408 '../../../skia/skia.gyp:skia', |
| 409 '../../../testing/gtest.gyp:gtest', |
| 410 '../../../third_party/npapi/npapi.gyp:npapi', |
| 411 '../../webkit.gyp:glue', |
| 412 '../../webkit.gyp:webkit', |
| 413 ], |
| 414 'sources': [ |
| 415 '../../../chrome/test/worker/test_webworker.cc', |
| 416 '../../../chrome/test/worker/test_worker_main.cc', |
| 417 '../../../chrome/worker/worker_webkitclient_impl.cc', |
| 418 ], |
| 419 }, |
| 420 ], |
| 421 }], |
393 ], | 422 ], |
394 } | 423 } |
OLD | NEW |