Fix link warnings building TestNetscapePlugin on Windows due to mismatched
authorsfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Apr 2009 20:22:03 +0000 (20:22 +0000)
committersfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Apr 2009 20:22:03 +0000 (20:22 +0000)
        DLL name vs. LIBRARY directive name.

        Reviewed by Jon Honeycutt.

        * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def:
        * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
        * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@42957 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def
WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj
WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def [new file with mode: 0644]

index 5b72f2a..05abe18 100644 (file)
@@ -1,5 +1,16 @@
 2009-04-28  Steve Falkenburg  <sfalken@apple.com>
 
+        Fix link warnings building TestNetscapePlugin on Windows due to mismatched
+        DLL name vs. LIBRARY directive name.
+        
+        Reviewed by Jon Honeycutt.
+
+        * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def:
+        * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
+        * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added.
+
+2009-04-28  Steve Falkenburg  <sfalken@apple.com>
+
         Fix warnings about PRODUCTION and ARCHIVE_BUILD on Windows builds
         of ImageDiff and DumpRenderTree.
         
index 92cdb12..ac41e7e 100644 (file)
@@ -1,4 +1,4 @@
-LIBRARY        "TestNetscapePlugin"\r
+LIBRARY        "npTestNetscapePlugin"\r
 \r
 EXPORTS\r
         NP_GetEntryPoints   @1\r
index eced57e..736f084 100644 (file)
@@ -55,7 +55,7 @@
                        <Tool\r
                                Name="VCLinkerTool"\r
                                OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix)\np$(ProjectName)$(WebKitConfigSuffix).dll"\r
-                               ModuleDefinitionFile="TestNetscapePlugin.def"\r
+                               ModuleDefinitionFile="TestNetscapePlugin$(WebKitConfigSuffix).def"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                        <Tool\r
                                Name="VCLinkerTool"\r
                                OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix)\np$(ProjectName)$(WebKitConfigSuffix).dll"\r
-                               ModuleDefinitionFile="TestNetscapePlugin.def"\r
+                               ModuleDefinitionFile="TestNetscapePlugin$(WebKitConfigSuffix).def"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                        <Tool\r
                                Name="VCLinkerTool"\r
                                OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix)\np$(ProjectName)$(WebKitConfigSuffix).dll"\r
-                               ModuleDefinitionFile="TestNetscapePlugin.def"\r
+                               ModuleDefinitionFile="TestNetscapePlugin$(WebKitConfigSuffix).def"\r
                        />\r
                        <Tool\r
                                Name="VCALinkTool"\r
                        >\r
                </File>\r
                <File\r
+                       RelativePath=".\TestNetscapePlugin_debug.def"\r
+                       >\r
+               </File>\r
+               <File\r
                        RelativePath="..\..\TestNetscapePlugIn.subproj\TestObject.cpp"\r
                        >\r
                </File>\r
diff --git a/WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def b/WebKitTools/DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def
new file mode 100644 (file)
index 0000000..158fb7c
--- /dev/null
@@ -0,0 +1,6 @@
+LIBRARY        "npTestNetscapePlugin_debug"
+
+EXPORTS
+        NP_GetEntryPoints   @1
+        NP_Initialize       @2
+        NP_Shutdown         @3