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