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 '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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 # Shared libraries need -fPIC on x86-64 | 565 # Shared libraries need -fPIC on x86-64 |
566 'cflags': ['-fPIC'] | 566 'cflags': ['-fPIC'] |
567 }], | 567 }], |
568 ], | 568 ], |
569 }, | 569 }, |
570 ], | 570 ], |
571 'conditions': [ | 571 'conditions': [ |
572 ['target_arch!="x64" and target_arch!="arm"', { | 572 ['target_arch!="x64" and target_arch!="arm"', { |
573 'targets': [ | 573 'targets': [ |
574 { | 574 { |
| 575 'target_name': 'npapi_test_common', |
| 576 'type': 'static_library', |
| 577 'dependencies': [ |
| 578 '<(DEPTH)/base/base.gyp:base', |
| 579 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', |
| 580 ], |
| 581 'sources': [ |
| 582 '../../glue/plugins/test/npapi_constants.cc', |
| 583 '../../glue/plugins/test/npapi_constants.h', |
| 584 '../../glue/plugins/test/plugin_client.cc', |
| 585 '../../glue/plugins/test/plugin_client.h', |
| 586 '../../glue/plugins/test/plugin_test.cc', |
| 587 '../../glue/plugins/test/plugin_test.h', |
| 588 '../../glue/plugins/test/plugin_test_factory.h', |
| 589 ], |
| 590 }, |
| 591 { |
575 'target_name': 'npapi_test_plugin', | 592 'target_name': 'npapi_test_plugin', |
576 'type': 'loadable_module', | 593 'type': 'loadable_module', |
577 'variables': { | 594 'variables': { |
578 'chromium_code': 1, | 595 'chromium_code': 1, |
579 }, | 596 }, |
580 'mac_bundle': 1, | 597 'mac_bundle': 1, |
581 'msvs_guid': '0D04AEC1-6B68-492C-BCCF-808DFD69ABC6', | 598 'msvs_guid': '0D04AEC1-6B68-492C-BCCF-808DFD69ABC6', |
582 'dependencies': [ | 599 'dependencies': [ |
583 '<(DEPTH)/base/base.gyp:base', | |
584 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 600 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
585 '<(DEPTH)/third_party/npapi/npapi.gyp:npapi', | 601 'npapi_test_common', |
586 ], | 602 ], |
587 'sources': [ | 603 'sources': [ |
588 '../../glue/plugins/test/npapi_constants.cc', | |
589 '../../glue/plugins/test/npapi_constants.h', | |
590 '../../glue/plugins/test/npapi_test.cc', | 604 '../../glue/plugins/test/npapi_test.cc', |
591 '../../glue/plugins/test/npapi_test.def', | 605 '../../glue/plugins/test/npapi_test.def', |
592 '../../glue/plugins/test/npapi_test.rc', | 606 '../../glue/plugins/test/npapi_test.rc', |
593 '../../glue/plugins/test/plugin_arguments_test.cc', | 607 '../../glue/plugins/test/plugin_arguments_test.cc', |
594 '../../glue/plugins/test/plugin_arguments_test.h', | 608 '../../glue/plugins/test/plugin_arguments_test.h', |
595 '../../glue/plugins/test/plugin_client.cc', | |
596 '../../glue/plugins/test/plugin_client.h', | |
597 '../../glue/plugins/test/plugin_create_instance_in_paint.cc', | 609 '../../glue/plugins/test/plugin_create_instance_in_paint.cc', |
598 '../../glue/plugins/test/plugin_create_instance_in_paint.h', | 610 '../../glue/plugins/test/plugin_create_instance_in_paint.h', |
599 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.cc', | 611 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.cc', |
600 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.h', | 612 '../../glue/plugins/test/plugin_delete_plugin_in_stream_test.h', |
601 '../../glue/plugins/test/plugin_get_javascript_url_test.cc', | 613 '../../glue/plugins/test/plugin_get_javascript_url_test.cc', |
602 '../../glue/plugins/test/plugin_get_javascript_url_test.h', | 614 '../../glue/plugins/test/plugin_get_javascript_url_test.h', |
603 '../../glue/plugins/test/plugin_get_javascript_url2_test.cc', | 615 '../../glue/plugins/test/plugin_get_javascript_url2_test.cc', |
604 '../../glue/plugins/test/plugin_get_javascript_url2_test.h', | 616 '../../glue/plugins/test/plugin_get_javascript_url2_test.h', |
605 '../../glue/plugins/test/plugin_geturl_test.cc', | 617 '../../glue/plugins/test/plugin_geturl_test.cc', |
606 '../../glue/plugins/test/plugin_geturl_test.h', | 618 '../../glue/plugins/test/plugin_geturl_test.h', |
607 '../../glue/plugins/test/plugin_javascript_open_popup.cc', | 619 '../../glue/plugins/test/plugin_javascript_open_popup.cc', |
608 '../../glue/plugins/test/plugin_javascript_open_popup.h', | 620 '../../glue/plugins/test/plugin_javascript_open_popup.h', |
609 '../../glue/plugins/test/plugin_new_fails_test.cc', | 621 '../../glue/plugins/test/plugin_new_fails_test.cc', |
610 '../../glue/plugins/test/plugin_new_fails_test.h', | 622 '../../glue/plugins/test/plugin_new_fails_test.h', |
611 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc', | 623 '../../glue/plugins/test/plugin_npobject_lifetime_test.cc', |
612 '../../glue/plugins/test/plugin_npobject_lifetime_test.h', | 624 '../../glue/plugins/test/plugin_npobject_lifetime_test.h', |
613 '../../glue/plugins/test/plugin_npobject_proxy_test.cc', | 625 '../../glue/plugins/test/plugin_npobject_proxy_test.cc', |
614 '../../glue/plugins/test/plugin_npobject_proxy_test.h', | 626 '../../glue/plugins/test/plugin_npobject_proxy_test.h', |
615 '../../glue/plugins/test/plugin_schedule_timer_test.cc', | 627 '../../glue/plugins/test/plugin_schedule_timer_test.cc', |
616 '../../glue/plugins/test/plugin_schedule_timer_test.h', | 628 '../../glue/plugins/test/plugin_schedule_timer_test.h', |
617 '../../glue/plugins/test/plugin_thread_async_call_test.cc', | 629 '../../glue/plugins/test/plugin_thread_async_call_test.cc', |
618 '../../glue/plugins/test/plugin_thread_async_call_test.h', | 630 '../../glue/plugins/test/plugin_thread_async_call_test.h', |
619 '../../glue/plugins/test/plugin_windowed_test.cc', | 631 '../../glue/plugins/test/plugin_windowed_test.cc', |
620 '../../glue/plugins/test/plugin_windowed_test.h', | 632 '../../glue/plugins/test/plugin_windowed_test.h', |
621 '../../glue/plugins/test/plugin_private_test.cc', | 633 '../../glue/plugins/test/plugin_private_test.cc', |
622 '../../glue/plugins/test/plugin_private_test.h', | 634 '../../glue/plugins/test/plugin_private_test.h', |
623 '../../glue/plugins/test/plugin_test.cc', | 635 '../../glue/plugins/test/plugin_test_factory.cc', |
624 '../../glue/plugins/test/plugin_test.h', | |
625 '../../glue/plugins/test/plugin_window_size_test.cc', | 636 '../../glue/plugins/test/plugin_window_size_test.cc', |
626 '../../glue/plugins/test/plugin_window_size_test.h', | 637 '../../glue/plugins/test/plugin_window_size_test.h', |
627 '../../glue/plugins/test/plugin_windowless_test.cc', | 638 '../../glue/plugins/test/plugin_windowless_test.cc', |
628 '../../glue/plugins/test/plugin_windowless_test.h', | 639 '../../glue/plugins/test/plugin_windowless_test.h', |
629 '../../glue/plugins/test/resource.h', | 640 '../../glue/plugins/test/resource.h', |
630 ], | 641 ], |
631 'include_dirs': [ | 642 'include_dirs': [ |
632 '../../..', | 643 '../../..', |
633 ], | 644 ], |
634 'xcode_settings': { | 645 'xcode_settings': { |
(...skipping 30 matching lines...) Expand all Loading... |
665 # Needs simple event record type porting | 676 # Needs simple event record type porting |
666 '../../glue/plugins/test/plugin_windowless_test.cc', | 677 '../../glue/plugins/test/plugin_windowless_test.cc', |
667 ], | 678 ], |
668 }], | 679 }], |
669 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd (target_arch=="x64" or target_arch=="arm")', { | 680 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd (target_arch=="x64" or target_arch=="arm")', { |
670 # Shared libraries need -fPIC on x86-64 | 681 # Shared libraries need -fPIC on x86-64 |
671 'cflags': ['-fPIC'] | 682 'cflags': ['-fPIC'] |
672 }], | 683 }], |
673 ], | 684 ], |
674 }, | 685 }, |
| 686 { |
| 687 'target_name': 'pepper_test_plugin', |
| 688 'type': 'loadable_module', |
| 689 'mac_bundle': 1, |
| 690 'msvs_guid': 'EE00E36E-9E8C-4DFB-925E-FBE32CEDB91A', |
| 691 'dependencies': [ |
| 692 '<(DEPTH)/gpu/gpu.gyp:pgl', |
| 693 '<(DEPTH)/third_party/gles2_book/gles2_book.gyp:stencil_test', |
| 694 'npapi_test_common', |
| 695 ], |
| 696 'sources': [ |
| 697 '../pepper_test_plugin/pepper_3d_test.cc', |
| 698 '../pepper_test_plugin/pepper_3d_test.h', |
| 699 '../pepper_test_plugin/pepper_test_factory.cc', |
| 700 '../pepper_test_plugin/pepper_test_plugin.cc', |
| 701 '../pepper_test_plugin/pepper_test_plugin.def', |
| 702 '../pepper_test_plugin/pepper_test_plugin.rc', |
| 703 ], |
| 704 'xcode_settings': { |
| 705 'INFOPLIST_FILE': '<(DEPTH)/webkit/tools/pepper_test_plugin/Info.pli
st', |
| 706 }, |
| 707 }, |
675 ], | 708 ], |
676 }], | 709 }], |
677 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 710 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
678 'targets': [ | 711 'targets': [ |
679 { | 712 { |
680 'target_name': 'test_shell_resources', | 713 'target_name': 'test_shell_resources', |
681 'type': 'none', | 714 'type': 'none', |
682 'actions': [ | 715 'actions': [ |
683 { | 716 { |
684 'action_name': 'test_shell_resources', | 717 'action_name': 'test_shell_resources', |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 ], | 778 ], |
746 }], | 779 }], |
747 ], | 780 ], |
748 } | 781 } |
749 | 782 |
750 # Local Variables: | 783 # Local Variables: |
751 # tab-width:2 | 784 # tab-width:2 |
752 # indent-tabs-mode:nil | 785 # indent-tabs-mode:nil |
753 # End: | 786 # End: |
754 # vim: set expandtab tabstop=2 shiftwidth=2: | 787 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |