OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'test_shell_windows_resource_files': [ | 7 'test_shell_windows_resource_files': [ |
8 'resources/test_shell.rc', | 8 'resources/test_shell.rc', |
9 'resources/pan_east.cur', | 9 'resources/pan_east.cur', |
10 'resources/pan_middle.cur', | 10 'resources/pan_middle.cur', |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 '../../glue/cpp_variant_unittest.cc', | 393 '../../glue/cpp_variant_unittest.cc', |
394 '../../glue/dom_operations_unittest.cc', | 394 '../../glue/dom_operations_unittest.cc', |
395 '../../glue/dom_serializer_unittest.cc', | 395 '../../glue/dom_serializer_unittest.cc', |
396 '../../glue/glue_serialize_unittest.cc', | 396 '../../glue/glue_serialize_unittest.cc', |
397 '../../glue/iframe_redirect_unittest.cc', | 397 '../../glue/iframe_redirect_unittest.cc', |
398 '../../glue/media/buffered_data_source_unittest.cc', | 398 '../../glue/media/buffered_data_source_unittest.cc', |
399 '../../glue/media/buffered_resource_loader_unittest.cc', | 399 '../../glue/media/buffered_resource_loader_unittest.cc', |
400 '../../glue/media/simple_data_source_unittest.cc', | 400 '../../glue/media/simple_data_source_unittest.cc', |
401 '../../glue/mimetype_unittest.cc', | 401 '../../glue/mimetype_unittest.cc', |
402 '../../glue/multipart_response_delegate_unittest.cc', | 402 '../../glue/multipart_response_delegate_unittest.cc', |
403 '../../glue/plugins/plugin_group_unittest.cc', | |
404 '../../glue/plugins/plugin_lib_unittest.cc', | |
405 '../../glue/plugins/url_request_info_unittest.cc', | |
406 '../../glue/plugins/webplugin_impl_unittest.cc', | |
407 '../../glue/regular_expression_unittest.cc', | 403 '../../glue/regular_expression_unittest.cc', |
408 '../../glue/resource_fetcher_unittest.cc', | 404 '../../glue/resource_fetcher_unittest.cc', |
409 '../../glue/unittest_test_server.h', | 405 '../../glue/unittest_test_server.h', |
410 '../../glue/webcursor_unittest.cc', | 406 '../../glue/webcursor_unittest.cc', |
411 '../../glue/webframe_unittest.cc', | 407 '../../glue/webframe_unittest.cc', |
412 '../../glue/webkit_glue_unittest.cc', | 408 '../../glue/webkit_glue_unittest.cc', |
413 '../../glue/webpasswordautocompletelistener_unittest.cc', | 409 '../../glue/webpasswordautocompletelistener_unittest.cc', |
414 '../../glue/webview_unittest.cc', | 410 '../../glue/webview_unittest.cc', |
415 '../../mocks/mock_resource_loader_bridge.h', | 411 '../../mocks/mock_resource_loader_bridge.h', |
416 '../../mocks/mock_webframe.h', | 412 '../../mocks/mock_webframe.h', |
417 '../../mocks/mock_weburlloader.h', | 413 '../../mocks/mock_weburlloader.h', |
| 414 '../../plugins/npapi/plugin_group_unittest.cc', |
| 415 '../../plugins/npapi/plugin_group_unittest.cc', |
| 416 '../../plugins/npapi/plugin_lib_unittest.cc', |
| 417 '../../plugins/npapi/plugin_lib_unittest.cc', |
| 418 '../../plugins/npapi/webplugin_impl_unittest.cc', |
418 '../../plugins/ppapi/mock_plugin_delegate.cc', | 419 '../../plugins/ppapi/mock_plugin_delegate.cc', |
419 '../../plugins/ppapi/mock_plugin_delegate.h', | 420 '../../plugins/ppapi/mock_plugin_delegate.h', |
420 '../../plugins/ppapi/mock_resource.h', | 421 '../../plugins/ppapi/mock_resource.h', |
421 '../../plugins/ppapi/ppapi_unittest.cc', | 422 '../../plugins/ppapi/ppapi_unittest.cc', |
422 '../../plugins/ppapi/ppapi_unittest.h', | 423 '../../plugins/ppapi/ppapi_unittest.h', |
423 '../../plugins/ppapi/resource_tracker_unittest.cc', | 424 '../../plugins/ppapi/resource_tracker_unittest.cc', |
| 425 '../../plugins/ppapi/url_request_info_unittest.cc', |
424 '../webcore_unit_tests/BMPImageDecoder_unittest.cpp', | 426 '../webcore_unit_tests/BMPImageDecoder_unittest.cpp', |
425 '../webcore_unit_tests/ICOImageDecoder_unittest.cpp', | 427 '../webcore_unit_tests/ICOImageDecoder_unittest.cpp', |
426 'event_listener_unittest.cc', | 428 'event_listener_unittest.cc', |
427 'image_decoder_unittest.cc', | 429 'image_decoder_unittest.cc', |
428 'image_decoder_unittest.h', | 430 'image_decoder_unittest.h', |
429 'layout_test_controller_unittest.cc', | 431 'layout_test_controller_unittest.cc', |
430 'listener_leak_test.cc', | 432 'listener_leak_test.cc', |
431 'media_leak_test.cc', | 433 'media_leak_test.cc', |
432 'mock_spellcheck_unittest.cc', | 434 'mock_spellcheck_unittest.cc', |
433 'node_leak_test.cc', | 435 'node_leak_test.cc', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 ['target_arch!="x64" and target_arch!="arm"', { | 508 ['target_arch!="x64" and target_arch!="arm"', { |
507 'targets': [ | 509 'targets': [ |
508 { | 510 { |
509 'target_name': 'npapi_test_common', | 511 'target_name': 'npapi_test_common', |
510 'type': 'static_library', | 512 'type': 'static_library', |
511 'dependencies': [ | 513 'dependencies': [ |
512 '<(DEPTH)/base/base.gyp:base', | 514 '<(DEPTH)/base/base.gyp:base', |
513 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 515 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
514 ], | 516 ], |
515 'sources': [ | 517 'sources': [ |
516 '../../glue/plugins/test/npapi_constants.cc', | 518 '../../plugins/npapi/test/npapi_constants.cc', |
517 '../../glue/plugins/test/npapi_constants.h', | 519 '../../plugins/npapi/test/npapi_constants.h', |
518 '../../glue/plugins/test/plugin_client.cc', | 520 '../../plugins/npapi/test/plugin_client.cc', |
519 '../../glue/plugins/test/plugin_client.h', | 521 '../../plugins/npapi/test/plugin_client.h', |
520 '../../glue/plugins/test/plugin_test.cc', | 522 '../../plugins/npapi/test/plugin_test.cc', |
521 '../../glue/plugins/test/plugin_test.h', | 523 '../../plugins/npapi/test/plugin_test.h', |
522 '../../glue/plugins/test/plugin_test_factory.h', | 524 '../../plugins/npapi/test/plugin_test_factory.h', |
523 ], | 525 ], |
524 }, | 526 }, |
525 { | 527 { |
526 'target_name': 'npapi_test_plugin', | 528 'target_name': 'npapi_test_plugin', |
527 'type': 'loadable_module', | 529 'type': 'loadable_module', |
528 'variables': { | 530 'variables': { |
529 'chromium_code': 1, | 531 'chromium_code': 1, |
530 }, | 532 }, |
531 'mac_bundle': 1, | 533 'mac_bundle': 1, |
532 'msvs_guid': '0D04AEC1-6B68-492C-BCCF-808DFD69ABC6', | 534 'msvs_guid': '0D04AEC1-6B68-492C-BCCF-808DFD69ABC6', |
533 'dependencies': [ | 535 'dependencies': [ |
534 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 536 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
535 'npapi_test_common', | 537 'npapi_test_common', |
536 ], | 538 ], |
537 'sources': [ | 539 'sources': [ |
538 '../../glue/plugins/test/npapi_test.cc', | 540 '../../plugins/npapi/test/npapi_test.cc', |
539 '../../glue/plugins/test/npapi_test.def', | 541 '../../plugins/npapi/test/npapi_test.def', |
540 '../../glue/plugins/test/npapi_test.rc', | 542 '../../plugins/npapi/test/npapi_test.rc', |
541 '../../glue/plugins/test/plugin_arguments_test.cc', | 543 '../../plugins/npapi/test/plugin_arguments_test.cc', |
542 '../../glue/plugins/test/plugin_arguments_test.h', | 544 '../../plugins/npapi/test/plugin_arguments_test.h', |
543 '../../glue/plugins/test/plugin_create_instance_in_paint.cc', | 545 '../../plugins/npapi/test/plugin_create_instance_in_paint.cc', |
544 '../../glue/plugins/test/plugin_create_instance_in_paint.h', | 546 '../../plugins/npapi/test/plugin_create_instance_in_paint.h', |
545 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.cc', | 547 '../../plugins/npapi/test/plugin_delete_plugin_in_stream_test.cc', |
546 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.h', | 548 '../../plugins/npapi/test/plugin_delete_plugin_in_stream_test.h', |
547 '../../glue/plugins/test/plugin_get_javascript_url_test.cc', | 549 '../../plugins/npapi/test/plugin_get_javascript_url_test.cc', |
548 '../../glue/plugins/test/plugin_get_javascript_url_test.h', | 550 '../../plugins/npapi/test/plugin_get_javascript_url_test.h', |
549 '../../glue/plugins/test/plugin_get_javascript_url2_test.cc', | 551 '../../plugins/npapi/test/plugin_get_javascript_url2_test.cc', |
550 '../../glue/plugins/test/plugin_get_javascript_url2_test.h', | 552 '../../plugins/npapi/test/plugin_get_javascript_url2_test.h', |
551 '../../glue/plugins/test/plugin_geturl_test.cc', | 553 '../../plugins/npapi/test/plugin_geturl_test.cc', |
552 '../../glue/plugins/test/plugin_geturl_test.h', | 554 '../../plugins/npapi/test/plugin_geturl_test.h', |
553 '../../glue/plugins/test/plugin_javascript_open_popup.cc', | 555 '../../plugins/npapi/test/plugin_javascript_open_popup.cc', |
554 '../../glue/plugins/test/plugin_javascript_open_popup.h', | 556 '../../plugins/npapi/test/plugin_javascript_open_popup.h', |
555 '../../glue/plugins/test/plugin_new_fails_test.cc', | 557 '../../plugins/npapi/test/plugin_new_fails_test.cc', |
556 '../../glue/plugins/test/plugin_new_fails_test.h', | 558 '../../plugins/npapi/test/plugin_new_fails_test.h', |
557 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc', | 559 '../../plugins/npapi/test/plugin_npobject_lifetime_test.cc', |
558 '../../glue/plugins/test/plugin_npobject_lifetime_test.h', | 560 '../../plugins/npapi/test/plugin_npobject_lifetime_test.h', |
559 '../../glue/plugins/test/plugin_npobject_proxy_test.cc', | 561 '../../plugins/npapi/test/plugin_npobject_proxy_test.cc', |
560 '../../glue/plugins/test/plugin_npobject_proxy_test.h', | 562 '../../plugins/npapi/test/plugin_npobject_proxy_test.h', |
561 '../../glue/plugins/test/plugin_schedule_timer_test.cc', | 563 '../../plugins/npapi/test/plugin_schedule_timer_test.cc', |
562 '../../glue/plugins/test/plugin_schedule_timer_test.h', | 564 '../../plugins/npapi/test/plugin_schedule_timer_test.h', |
563 '../../glue/plugins/test/plugin_setup_test.cc', | 565 '../../plugins/npapi/test/plugin_setup_test.cc', |
564 '../../glue/plugins/test/plugin_setup_test.h', | 566 '../../plugins/npapi/test/plugin_setup_test.h', |
565 '../../glue/plugins/test/plugin_thread_async_call_test.cc', | 567 '../../plugins/npapi/test/plugin_thread_async_call_test.cc', |
566 '../../glue/plugins/test/plugin_thread_async_call_test.h', | 568 '../../plugins/npapi/test/plugin_thread_async_call_test.h', |
567 '../../glue/plugins/test/plugin_windowed_test.cc', | 569 '../../plugins/npapi/test/plugin_windowed_test.cc', |
568 '../../glue/plugins/test/plugin_windowed_test.h', | 570 '../../plugins/npapi/test/plugin_windowed_test.h', |
569 '../../glue/plugins/test/plugin_private_test.cc', | 571 '../../plugins/npapi/test/plugin_private_test.cc', |
570 '../../glue/plugins/test/plugin_private_test.h', | 572 '../../plugins/npapi/test/plugin_private_test.h', |
571 '../../glue/plugins/test/plugin_test_factory.cc', | 573 '../../plugins/npapi/test/plugin_test_factory.cc', |
572 '../../glue/plugins/test/plugin_window_size_test.cc', | 574 '../../plugins/npapi/test/plugin_window_size_test.cc', |
573 '../../glue/plugins/test/plugin_window_size_test.h', | 575 '../../plugins/npapi/test/plugin_window_size_test.h', |
574 '../../glue/plugins/test/plugin_windowless_test.cc', | 576 '../../plugins/npapi/test/plugin_windowless_test.cc', |
575 '../../glue/plugins/test/plugin_windowless_test.h', | 577 '../../plugins/npapi/test/plugin_windowless_test.h', |
576 '../../glue/plugins/test/resource.h', | 578 '../../plugins/npapi/test/resource.h', |
577 ], | 579 ], |
578 'include_dirs': [ | 580 'include_dirs': [ |
579 '../../..', | 581 '../../..', |
580 ], | 582 ], |
581 'xcode_settings': { | 583 'xcode_settings': { |
582 'INFOPLIST_FILE': '<(DEPTH)/webkit/glue/plugins/test/Info.plist', | 584 'INFOPLIST_FILE': '<(DEPTH)/webkit/plugins/npapi/test/Info.plist', |
583 }, | 585 }, |
584 'conditions': [ | 586 'conditions': [ |
585 ['OS!="win"', { | 587 ['OS!="win"', { |
586 'sources!': [ | 588 'sources!': [ |
587 # TODO(port): Port these. | 589 # TODO(port): Port these. |
588 # plugin_npobject_lifetime_test.cc has win32-isms | 590 # plugin_npobject_lifetime_test.cc has win32-isms |
589 # (HWND, CALLBACK). | 591 # (HWND, CALLBACK). |
590 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc', | 592 '../../plugins/npapi/test/plugin_npobject_lifetime_test.cc', |
591 # The window APIs are necessarily platform-specific. | 593 # The window APIs are necessarily platform-specific. |
592 '../../glue/plugins/test/plugin_window_size_test.cc', | 594 '../../plugins/npapi/test/plugin_window_size_test.cc', |
593 '../../glue/plugins/test/plugin_windowed_test.cc', | 595 '../../plugins/npapi/test/plugin_windowed_test.cc', |
594 # Seems windows specific. | 596 # Seems windows specific. |
595 '../../glue/plugins/test/plugin_create_instance_in_paint.cc', | 597 '../../plugins/npapi/test/plugin_create_instance_in_paint.cc', |
596 '../../glue/plugins/test/plugin_create_instance_in_paint.h', | 598 '../../plugins/npapi/test/plugin_create_instance_in_paint.h', |
597 # windows-specific resources | 599 # windows-specific resources |
598 '../../glue/plugins/test/npapi_test.def', | 600 '../../plugins/npapi/test/npapi_test.def', |
599 '../../glue/plugins/test/npapi_test.rc', | 601 '../../plugins/npapi/test/npapi_test.rc', |
600 ], | 602 ], |
601 }], | 603 }], |
602 ['OS=="mac"', { | 604 ['OS=="mac"', { |
603 'product_extension': 'plugin', | 605 'product_extension': 'plugin', |
604 'link_settings': { | 606 'link_settings': { |
605 'libraries': [ | 607 'libraries': [ |
606 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', | 608 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
607 ], | 609 ], |
608 }, | 610 }, |
609 }], | 611 }], |
610 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 612 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
611 'sources!': [ | 613 'sources!': [ |
612 # Needs simple event record type porting | 614 # Needs simple event record type porting |
613 '../../glue/plugins/test/plugin_windowless_test.cc', | 615 '../../plugins/npapi/test/plugin_windowless_test.cc', |
614 ], | 616 ], |
615 }], | 617 }], |
616 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd (target_arch=="x64" or target_arch=="arm")', { | 618 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd (target_arch=="x64" or target_arch=="arm")', { |
617 # Shared libraries need -fPIC on x86-64 | 619 # Shared libraries need -fPIC on x86-64 |
618 'cflags': ['-fPIC'] | 620 'cflags': ['-fPIC'] |
619 }], | 621 }], |
620 ], | 622 ], |
621 }, | 623 }, |
622 { | 624 { |
623 'target_name': 'copy_npapi_test_plugin', | 625 'target_name': 'copy_npapi_test_plugin', |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 ], | 805 ], |
804 }], | 806 }], |
805 ], | 807 ], |
806 } | 808 } |
807 | 809 |
808 # Local Variables: | 810 # Local Variables: |
809 # tab-width:2 | 811 # tab-width:2 |
810 # indent-tabs-mode:nil | 812 # indent-tabs-mode:nil |
811 # End: | 813 # End: |
812 # vim: set expandtab tabstop=2 shiftwidth=2: | 814 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |