Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Unified Diff: webkit/tools/test_shell/test_shell.gyp

Issue 66043: Make OSX TestShell able to run workers, using a new test_worker.dylib which i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/worker/test_worker_main.cc ('k') | webkit/tools/test_shell/test_webworker_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.gyp
===================================================================
--- webkit/tools/test_shell/test_shell.gyp (revision 13023)
+++ webkit/tools/test_shell/test_shell.gyp (working copy)
@@ -390,5 +390,34 @@
},
],
}],
+ # Need to do the same for Win and Linux. We build a separate dylib/dll/so
+ # so V8 can have a second set of global variables and run workers.
+ # Normally, workers run in a separate process.
+ ['OS=="mac"', {
+ 'targets': [
+ {
+ 'target_name': 'test_worker',
+ 'type': 'shared_library',
+ 'xcode_settings': {
+ 'EXPORTED_SYMBOLS_FILE': '../../../chrome/test/worker/test_worker.exp',
+ },
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ '../../../base/base.gyp:base_gfx',
+ '../../../net/net.gyp:net',
+ '../../../skia/skia.gyp:skia',
+ '../../../testing/gtest.gyp:gtest',
+ '../../../third_party/npapi/npapi.gyp:npapi',
+ '../../webkit.gyp:glue',
+ '../../webkit.gyp:webkit',
+ ],
+ 'sources': [
+ '../../../chrome/test/worker/test_webworker.cc',
+ '../../../chrome/test/worker/test_worker_main.cc',
+ '../../../chrome/worker/worker_webkitclient_impl.cc',
+ ],
+ },
+ ],
+ }],
],
}
« no previous file with comments | « chrome/test/worker/test_worker_main.cc ('k') | webkit/tools/test_shell/test_webworker_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698