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

Side by Side Diff: content/content_shell.gypi

Issue 1852523003: Remove NPAPI test plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_last_plugin_layout_tests
Patch Set: fix isolate Created 4 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 unified diff | Download patch
« no previous file with comments | « content/content_browsertests.isolate ('k') | content/shell/BUILD.gn » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'content_shell_product_name': 'Content Shell', 7 'content_shell_product_name': 'Content Shell',
8 'content_shell_version': '99.77.34.5', 8 'content_shell_version': '99.77.34.5',
9 }, 9 },
10 'targets': [ 10 'targets': [
(...skipping 15 matching lines...) Expand all
26 'content.gyp:content_common', 26 'content.gyp:content_common',
27 'content.gyp:content_gpu', 27 'content.gyp:content_gpu',
28 'content.gyp:content_plugin', 28 'content.gyp:content_plugin',
29 'content.gyp:content_ppapi_plugin', 29 'content.gyp:content_ppapi_plugin',
30 'content.gyp:content_renderer', 30 'content.gyp:content_renderer',
31 'content.gyp:content_resources', 31 'content.gyp:content_resources',
32 'content.gyp:content_utility', 32 'content.gyp:content_utility',
33 'content_shell_resources', 33 'content_shell_resources',
34 'content_shell_mojo_bindings', 34 'content_shell_mojo_bindings',
35 'content_test_mojo_bindings', 35 'content_test_mojo_bindings',
36 'copy_test_netscape_plugin',
37 'layouttest_support_content', 36 'layouttest_support_content',
38 '../base/base.gyp:base', 37 '../base/base.gyp:base',
39 '../base/base.gyp:base_static', 38 '../base/base.gyp:base_static',
40 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 39 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
41 '../cc/blink/cc_blink.gyp:cc_blink', 40 '../cc/blink/cc_blink.gyp:cc_blink',
42 '../cc/cc.gyp:cc', 41 '../cc/cc.gyp:cc',
43 '../components/components.gyp:crash_component_breakpad_to_be_deleted', 42 '../components/components.gyp:crash_component_breakpad_to_be_deleted',
44 '../components/components.gyp:devtools_discovery', 43 '../components/components.gyp:devtools_discovery',
45 '../components/components.gyp:devtools_http_handler', 44 '../components/components.gyp:devtools_http_handler',
46 '../components/components.gyp:web_cache_renderer', 45 '../components/components.gyp:web_cache_renderer',
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 ], 543 ],
545 }, 544 },
546 { 545 {
547 'target_name': 'content_shell_builder', 546 'target_name': 'content_shell_builder',
548 'type': 'none', 547 'type': 'none',
549 'dependencies': [ 548 'dependencies': [
550 'content_shell', 549 'content_shell',
551 ], 550 ],
552 }, 551 },
553 { 552 {
554 'target_name': 'test_netscape_plugin',
555 'conditions': [
556 ['OS != "win" and OS != "mac"', {
557 'type': 'none',
558 }, { # OS=="win" or OS=="mac"
559 'type': 'loadable_module',
560 'sources': [
561 'shell/tools/plugin/PluginObject.cpp',
562 'shell/tools/plugin/PluginObject.h',
563 'shell/tools/plugin/PluginTest.cpp',
564 'shell/tools/plugin/PluginTest.h',
565 'shell/tools/plugin/TestObject.cpp',
566 'shell/tools/plugin/Tests/EvaluateJSAfterRemovingPluginElement.cpp',
567 'shell/tools/plugin/Tests/FormValue.cpp',
568 'shell/tools/plugin/Tests/GetUserAgentWithNullNPPFromNPPNew.cpp',
569 'shell/tools/plugin/Tests/LeakWindowScriptableObject.cpp',
570 'shell/tools/plugin/Tests/LogNPPSetWindow.cpp',
571 'shell/tools/plugin/Tests/NPDeallocateCalledBeforeNPShutdown.cpp',
572 'shell/tools/plugin/Tests/NPPNewFails.cpp',
573 'shell/tools/plugin/Tests/NPRuntimeCallsWithNullNPP.cpp',
574 'shell/tools/plugin/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp',
575 'shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp',
576 'shell/tools/plugin/Tests/NullNPPGetValuePointer.cpp',
577 'shell/tools/plugin/Tests/PassDifferentNPPStruct.cpp',
578 'shell/tools/plugin/Tests/PluginScriptableNPObjectInvokeDefault.cpp' ,
579 'shell/tools/plugin/Tests/PluginScriptableObjectOverridesAllProperti es.cpp',
580 'shell/tools/plugin/main.cpp',
581 'shell/tools/plugin/test_object.h',
582 ],
583 'include_dirs': [
584 '<(DEPTH)',
585 '<(DEPTH)/content/shell/tools/plugin/',
586 ],
587 'dependencies': [
588 '../base/base.gyp:base',
589 '../third_party/npapi/npapi.gyp:npapi',
590 ],
591 'conditions': [
592 ['OS=="mac"', {
593 'mac_bundle': 1,
594 'product_extension': 'plugin',
595 'link_settings': {
596 'libraries': [
597 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',
598 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
599 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
600 ]
601 },
602 'xcode_settings': {
603 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',
604 'INFOPLIST_FILE': 'shell/tools/plugin/mac/Info.plist',
605 },
606 }],
607 ['OS=="win"', {
608 'conditions': [
609 ['MSVS_VERSION < "2015"', {
610 'defines': [
611 # This seems like a hack, but this is what Safari Win does.
612 # Luckily it is no longer needed/allowed with VS 2015.
613 'snprintf=_snprintf',
614 ],
615 }],
616 ],
617 'sources': [
618 'shell/tools/plugin/win/TestNetscapePlugin.def',
619 'shell/tools/plugin/win/TestNetscapePlugin.rc',
620 ],
621 # The .rc file requires that the name of the dll is np_test_netsca pe_plugin.dll.
622 'product_name': 'np_test_netscape_plugin',
623 # Disable c4267 warnings until we fix size_t to int truncations.
624 'msvs_disabled_warnings': [ 4267, ],
625 }],
626 ],
627 }],
628 ],
629 },
630 {
631 'target_name': 'copy_test_netscape_plugin',
632 'type': 'none',
633 'dependencies': [
634 'test_netscape_plugin',
635 ],
636 'conditions': [
637 ['OS=="win"', {
638 'copies': [{
639 'destination': '<(PRODUCT_DIR)/plugins',
640 'files': ['<(PRODUCT_DIR)/np_test_netscape_plugin.dll'],
641 }],
642 }],
643 ['OS=="mac"', {
644 'copies': [{
645 'destination': '<(PRODUCT_DIR)/plugins/',
646 'files': ['<(PRODUCT_DIR)/test_netscape_plugin.plugin/'],
647 }],
648 }],
649 ],
650 },
651 {
652 'target_name': 'content_shell_mojo_bindings_mojom', 553 'target_name': 'content_shell_mojo_bindings_mojom',
653 'type': 'none', 554 'type': 'none',
654 'variables': { 555 'variables': {
655 'mojom_files': [ 556 'mojom_files': [
656 'shell/common/layout_test/layout_test_bluetooth_fake_adapter_setter.m ojom' 557 'shell/common/layout_test/layout_test_bluetooth_fake_adapter_setter.m ojom'
657 ], 558 ],
658 }, 559 },
659 'includes': [ 560 'includes': [
660 '../mojo/mojom_bindings_generator_explicit.gypi', 561 '../mojo/mojom_bindings_generator_explicit.gypi',
661 ], 562 ],
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb', 904 '--input_symbol', '<(PRODUCT_DIR)/content_shell.exe.pdb',
1004 '--destination_dir', '<(dest_dir)', 905 '--destination_dir', '<(dest_dir)',
1005 ], 906 ],
1006 }, 907 },
1007 ], 908 ],
1008 }, 909 },
1009 ], 910 ],
1010 }], # OS=="win" and fastbuild==0 and target_arch=="ia32" 911 }], # OS=="win" and fastbuild==0 and target_arch=="ia32"
1011 ] 912 ]
1012 } 913 }
OLDNEW
« no previous file with comments | « content/content_browsertests.isolate ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698