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

Side by Side Diff: webkit/tools/test_shell/test_shell.gyp

Issue 99154: Add the npapi_test_plugin to the Mac build of test_shell (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/plugins/test/plugin_javascript_open_popup.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 'export_dependent_settings': [ 102 'export_dependent_settings': [
103 '../../../base/base.gyp:base', 103 '../../../base/base.gyp:base',
104 '../../../net/net.gyp:net', 104 '../../../net/net.gyp:net',
105 '../../webkit.gyp:glue', 105 '../../webkit.gyp:glue',
106 '../../webkit.gyp:webkit', 106 '../../webkit.gyp:webkit',
107 ], 107 ],
108 'conditions': [ 108 'conditions': [
109 ['OS!="win"', { 109 ['OS!="win"', {
110 'dependencies': [ 110 'dependencies': [
111 'npapi_layout_test_plugin', 111 'npapi_layout_test_plugin',
112 'npapi_test_plugin',
112 ], 113 ],
113 }], 114 }],
114 ['OS=="linux"', { 115 ['OS=="linux"', {
115 'dependencies': [ 116 'dependencies': [
116 'test_shell_resources', 117 'test_shell_resources',
117 'npapi_test_plugin',
118 '../../../build/linux/system.gyp:gtk', 118 '../../../build/linux/system.gyp:gtk',
119 ], 119 ],
120 # for: test_shell_gtk.cc 120 # for: test_shell_gtk.cc
121 'cflags': ['-Wno-multichar'], 121 'cflags': ['-Wno-multichar'],
122 }, { # else: OS!=linux 122 }, { # else: OS!=linux
123 'sources/': [ 123 'sources/': [
124 ['exclude', '_gtk\\.cc$'], 124 ['exclude', '_gtk\\.cc$'],
125 ['exclude', '_x11\\.cc$'], 125 ['exclude', '_x11\\.cc$'],
126 ], 126 ],
127 }], 127 }],
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 ['OS=="mac"', { 284 ['OS=="mac"', {
285 'link_settings': { 285 'link_settings': {
286 'libraries': [ 286 'libraries': [
287 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', 287 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
288 ], 288 ],
289 }, 289 },
290 }], 290 }],
291 ], 291 ],
292 }, 292 },
293 { 293 {
294 'target_name': 'npapi_test_plugin',
295 'type': 'loadable_module',
296 'mac_bundle': 1,
297 'product_dir': '<(PRODUCT_DIR)/plugins',
298 'msvs_guid': '0D04AEC1-6B68-492C-BCCF-808DFD69ABC6',
299 'dependencies': [
300 '../../../base/base.gyp:base',
301 '../../../third_party/icu38/icu38.gyp:icuuc',
302 '../../../third_party/npapi/npapi.gyp:npapi',
303 ],
304 'sources': [
305 '../../glue/plugins/test/npapi_constants.cc',
306 '../../glue/plugins/test/npapi_constants.h',
307 '../../glue/plugins/test/npapi_test.cc',
308 '../../glue/plugins/test/npapi_test.def',
309 '../../glue/plugins/test/npapi_test.rc',
310 '../../glue/plugins/test/plugin_arguments_test.cc',
311 '../../glue/plugins/test/plugin_arguments_test.h',
312 '../../glue/plugins/test/plugin_client.cc',
313 '../../glue/plugins/test/plugin_client.h',
314 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.cc',
315 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.h',
316 '../../glue/plugins/test/plugin_get_javascript_url_test.cc',
317 '../../glue/plugins/test/plugin_get_javascript_url_test.h',
318 '../../glue/plugins/test/plugin_geturl_test.cc',
319 '../../glue/plugins/test/plugin_geturl_test.h',
320 '../../glue/plugins/test/plugin_javascript_open_popup.cc',
321 '../../glue/plugins/test/plugin_javascript_open_popup.h',
322 '../../glue/plugins/test/plugin_new_fails_test.cc',
323 '../../glue/plugins/test/plugin_new_fails_test.h',
324 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc',
325 '../../glue/plugins/test/plugin_npobject_lifetime_test.h',
326 '../../glue/plugins/test/plugin_npobject_proxy_test.cc',
327 '../../glue/plugins/test/plugin_npobject_proxy_test.h',
328 '../../glue/plugins/test/plugin_private_test.cc',
329 '../../glue/plugins/test/plugin_private_test.h',
330 '../../glue/plugins/test/plugin_test.cc',
331 '../../glue/plugins/test/plugin_test.h',
332 '../../glue/plugins/test/plugin_window_size_test.cc',
333 '../../glue/plugins/test/plugin_window_size_test.h',
334 '../../glue/plugins/test/plugin_windowless_test.cc',
335 '../../glue/plugins/test/plugin_windowless_test.h',
336 '../../glue/plugins/test/resource.h',
337 ],
338 'include_dirs': [
339 '../../..',
340 ],
341 'xcode_settings': {
342 'INFOPLIST_FILE': '../../glue/plugins/test/Info.plist',
343 },
344 'conditions': [
345 ['OS!="win"', {
346 'sources!': [
347 # TODO(port): Port these.
348
349 # plugin_npobject_lifetime_test.cc has win32-isms
350 # (HWND, CALLBACK).
351 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc',
352
353 # The windowed/windowless APIs are necessarily
354 # platform-specific.
355 '../../glue/plugins/test/plugin_window_size_test.cc',
356 '../../glue/plugins/test/plugin_windowless_test.cc',
357
358 # windows-specific resources
359 '../../glue/plugins/test/npapi_test.def',
360 '../../glue/plugins/test/npapi_test.rc',
361 ],
362 }],
363 ['OS=="mac"', {
364 'link_settings': {
365 'libraries': [
366 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
367 ],
368 },
369 }],
370 ],
371 },
372 {
294 'target_name': 'test_shell_tests', 373 'target_name': 'test_shell_tests',
295 'type': 'executable', 374 'type': 'executable',
296 'msvs_guid': 'E6766F81-1FCD-4CD7-BC16-E36964A14867', 375 'msvs_guid': 'E6766F81-1FCD-4CD7-BC16-E36964A14867',
297 'dependencies': [ 376 'dependencies': [
298 'test_shell_common', 377 'test_shell_common',
299 '../../../skia/skia.gyp:skia', 378 '../../../skia/skia.gyp:skia',
300 '../../../testing/gtest.gyp:gtest', 379 '../../../testing/gtest.gyp:gtest',
301 ], 380 ],
302 'sources': [ 381 'sources': [
303 '../../../skia/ext/convolver_unittest.cc', 382 '../../../skia/ext/convolver_unittest.cc',
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 }, 481 },
403 ], 482 ],
404 'direct_dependent_settings': { 483 'direct_dependent_settings': {
405 'include_dirs': [ 484 'include_dirs': [
406 '<(SHARED_INTERMEDIATE_DIR)/test_shell', 485 '<(SHARED_INTERMEDIATE_DIR)/test_shell',
407 ], 486 ],
408 }, 487 },
409 }, 488 },
410 ], 489 ],
411 }], 490 }],
412 ['OS!="mac"', {
413 'targets': [
414 {
415 'target_name': 'npapi_test_plugin',
416 'type': 'loadable_module',
417 'product_dir': '<(PRODUCT_DIR)/plugins',
418 'msvs_guid': '0D04AEC1-6B68-492C-BCCF-808DFD69ABC6',
419 'dependencies': [
420 '../../../base/base.gyp:base',
421 '../../../third_party/icu38/icu38.gyp:icuuc',
422 '../../../third_party/npapi/npapi.gyp:npapi',
423 ],
424 'sources': [
425 '../../glue/plugins/test/npapi_constants.cc',
426 '../../glue/plugins/test/npapi_constants.h',
427 '../../glue/plugins/test/npapi_test.cc',
428 '../../glue/plugins/test/npapi_test.def',
429 '../../glue/plugins/test/npapi_test.rc',
430 '../../glue/plugins/test/plugin_arguments_test.cc',
431 '../../glue/plugins/test/plugin_arguments_test.h',
432 '../../glue/plugins/test/plugin_client.cc',
433 '../../glue/plugins/test/plugin_client.h',
434 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.cc',
435 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.h',
436 '../../glue/plugins/test/plugin_get_javascript_url_test.cc',
437 '../../glue/plugins/test/plugin_get_javascript_url_test.h',
438 '../../glue/plugins/test/plugin_geturl_test.cc',
439 '../../glue/plugins/test/plugin_geturl_test.h',
440 '../../glue/plugins/test/plugin_javascript_open_popup.cc',
441 '../../glue/plugins/test/plugin_javascript_open_popup.h',
442 '../../glue/plugins/test/plugin_new_fails_test.cc',
443 '../../glue/plugins/test/plugin_new_fails_test.h',
444 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc',
445 '../../glue/plugins/test/plugin_npobject_lifetime_test.h',
446 '../../glue/plugins/test/plugin_npobject_proxy_test.cc',
447 '../../glue/plugins/test/plugin_npobject_proxy_test.h',
448 '../../glue/plugins/test/plugin_private_test.cc',
449 '../../glue/plugins/test/plugin_private_test.h',
450 '../../glue/plugins/test/plugin_test.cc',
451 '../../glue/plugins/test/plugin_test.h',
452 '../../glue/plugins/test/plugin_window_size_test.cc',
453 '../../glue/plugins/test/plugin_window_size_test.h',
454 '../../glue/plugins/test/plugin_windowless_test.cc',
455 '../../glue/plugins/test/plugin_windowless_test.h',
456 '../../glue/plugins/test/resource.h',
457 ],
458 'include_dirs': [
459 '../../..',
460 ],
461 'conditions': [
462 ['OS=="linux"', {
463 'sources!': [
464 # TODO(port): Port these.
465
466 # plugin_npobject_lifetime_test.cc has win32-isms
467 # (HWND, CALLBACK).
468 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc',
469
470 # The windowed/windowless APIs are necessarily
471 # platform-specific.
472 '../../glue/plugins/test/plugin_window_size_test.cc',
473 '../../glue/plugins/test/plugin_windowless_test.cc',
474 ],
475 }],
476 ['OS!="win"', {
477 'sources!': [
478 '../../glue/plugins/test/npapi_test.def',
479 '../../glue/plugins/test/npapi_test.rc',
480 ],
481 }],
482 ],
483 },
484 ],
485 }],
486 # Need to do the same for Win and Linux. We build a separate dylib/dll/so 491 # Need to do the same for Win and Linux. We build a separate dylib/dll/so
487 # 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.
488 # Normally, workers run in a separate process. 493 # Normally, workers run in a separate process.
489 ['OS=="mac"', { 494 ['OS=="mac"', {
490 'targets': [ 495 'targets': [
491 { 496 {
492 'target_name': 'test_worker', 497 'target_name': 'test_worker',
493 'type': 'shared_library', 498 'type': 'shared_library',
494 'xcode_settings': { 499 'xcode_settings': {
495 'EXPORTED_SYMBOLS_FILE': 'test_worker/test_worker.exp', 500 'EXPORTED_SYMBOLS_FILE': 'test_worker/test_worker.exp',
(...skipping 10 matching lines...) Expand all
506 ], 511 ],
507 'sources': [ 512 'sources': [
508 'test_worker/test_webworker.cc', 513 'test_worker/test_webworker.cc',
509 'test_worker/test_worker_main.cc', 514 'test_worker/test_worker_main.cc',
510 ], 515 ],
511 }, 516 },
512 ], 517 ],
513 }], 518 }],
514 ], 519 ],
515 } 520 }
OLDNEW
« no previous file with comments | « webkit/glue/plugins/test/plugin_javascript_open_popup.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698