Changeset 71077 in webkit
- Timestamp:
- Nov 1, 2010 5:00:54 PM (13 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r71041 r71077 1 2010-11-01 Tony Chang <tony@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 [chromium] Compile TestNetscapePlugin on chromium win 6 https://bugs.webkit.org/show_bug.cgi?id=48802 7 8 It creates npTestNetscapePlugin.dll in the build directory, so 9 it's not yet loaded by DRT or test_shell. 10 11 * WebKit.gyp: 12 1 13 2010-11-01 Brady Eidson <beidson@apple.com> 2 14 -
trunk/WebKit/chromium/WebKit.gyp
r70679 r71077 742 742 }], 743 743 }, 744 745 744 { 746 745 'target_name': 'webkit_unit_tests', … … 827 826 'ImageDiff', 828 827 'inspector_resources', 828 'TestNetscapePlugIn', 829 829 'webkit', 830 830 '../../JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp:wtf_config', … … 881 881 'sources/': [ 882 882 ['exclude', 'Win\\.cpp$'], 883 ],884 'dependencies': [885 'TestNetscapePlugIn',886 883 ], 887 884 'actions': [ … … 973 970 ], 974 971 }, 972 { 973 'target_name': 'TestNetscapePlugIn', 974 'type': 'loadable_module', 975 'sources': [ '<@(test_plugin_files)' ], 976 'dependencies': [ 977 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi', 978 ], 979 'include_dirs': [ 980 '<(chromium_src_dir)', 981 '../../WebKitTools/DumpRenderTree/TestNetscapePlugIn', 982 '../../WebKitTools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders', 983 ], 984 'conditions': [ 985 ['OS=="mac"', { 986 'mac_bundle': 1, 987 # It would be nice to name this 988 # TestNetscapePlugIn, but that name is already 989 # used by the fork of this plugin in Chromium. 990 'product_name': 'WebKitTestNetscapePlugIn', 991 'product_extension': 'plugin', 992 'link_settings': { 993 'libraries': [ 994 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', 995 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', 996 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', 997 ] 998 }, 999 'xcode_settings': { 1000 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO', 1001 # This is a temporary fork of 1002 # DRT/TestNetscapePlugIn/mac/Info.plist. Once 1003 # we get rid of our forked plugin in the 1004 # chromium repo, we can share the same 1005 # Info.plist. 1006 'INFOPLIST_FILE': '../../WebKitTools/DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist', 1007 }, 1008 }], 1009 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 1010 'cflags': [ 1011 '-fvisibility=default', 1012 ], 1013 }], 1014 ['OS=="win"', { 1015 'defines': [ 1016 # This seems like a hack, but this is what Safari Win does. 1017 'snprintf=_snprintf', 1018 ], 1019 'sources': [ 1020 '../../WebKitTools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.def', 1021 '../../WebKitTools/DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.rc', 1022 ], 1023 # The .rc file requires that the name of the dll is npTestNetscapePlugin.dll. 1024 # This adds the 'np' to the dll name. 1025 'product_prefix': 'np', 1026 }], 1027 ], 1028 }, 975 1029 ], # targets 976 1030 'conditions': [ … … 981 1035 'sources': ['../../WebKitTools/DumpRenderTree/chromium/LayoutTestHelperWin.cpp'], 982 1036 }], 983 }, { # OS!="win"984 'targets': [985 {986 'target_name': 'TestNetscapePlugIn',987 'type': 'loadable_module',988 'sources': [ '<@(test_plugin_files)' ],989 'dependencies': [990 '<(chromium_src_dir)/third_party/npapi/npapi.gyp:npapi',991 ],992 'include_dirs': [993 '<(chromium_src_dir)',994 '../../WebKitTools/DumpRenderTree/TestNetscapePlugIn',995 '../../WebKitTools/DumpRenderTree/chromium/TestNetscapePlugIn/ForwardingHeaders',996 ],997 998 'conditions': [999 ['OS=="mac"', {1000 'mac_bundle': 1,1001 # It would be nice to name this1002 # TestNetscapePlugIn, but that name is already1003 # used by the fork of this plugin in Chromium.1004 'product_name': 'WebKitTestNetscapePlugIn',1005 'product_extension': 'plugin',1006 'link_settings': {1007 'libraries': [1008 '$(SDKROOT)/System/Library/Frameworks/Carbon.framework',1009 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',1010 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',1011 ]1012 },1013 'xcode_settings': {1014 'GCC_SYMBOLS_PRIVATE_EXTERN': 'NO',1015 # This is a temporary fork of1016 # DRT/TestNetscapePlugIn/mac/Info.plist. Once1017 # we get rid of our forked plugin in the1018 # chromium repo, we can share the same1019 # Info.plist.1020 'INFOPLIST_FILE': '../../WebKitTools/DumpRenderTree/chromium/TestNetscapePlugIn/Info.plist',1021 },1022 }],1023 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {1024 'cflags': [1025 '-fvisibility=default',1026 ],1027 }],1028 ],1029 },1030 ],1031 1037 }], 1032 1038 ['OS=="mac"', {
Note: See TracChangeset
for help on using the changeset viewer.