2010-11-29 Steve Falkenburg <sfalken@apple.com>
authorsfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Nov 2010 00:09:52 +0000 (00:09 +0000)
committersfalken@apple.com <sfalken@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Nov 2010 00:09:52 +0000 (00:09 +0000)
        Reviewed by Adam Roben.

        Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
        https://bugs.webkit.org/show_bug.cgi?id=49858

        We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
        - To simplify editing (editing vsprops build steps is confusing).
        - For more readable diffs.

        * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
        * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: Added.
        * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: Added.
2010-11-19  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
        https://bugs.webkit.org/show_bug.cgi?id=49858

        We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
        - To simplify editing (editing vsprops build steps is confusing).
        - For more readable diffs.

        To add a prebuild/prelink/postbuild step for a vcproj,
        Add a new file named {ProjectName}PreBuild|PreLink|PostBuild.cmd to the project directory.
        For example, a WTF prebuild script would be named WTFPreBuild.cmd and would be located
        in the directory JavaScriptCore/JavaScriptCore.vcproj/WTF (alongside WTF.vcproj).

        * win/tools/vsprops/common.vsprops:
        * win/tools/vsprops/release.vsprops:

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

JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFCommon.vsprops
JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd [new file with mode: 0644]
JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd [new file with mode: 0644]
WebKitLibraries/ChangeLog
WebKitLibraries/win/tools/vsprops/common.vsprops
WebKitLibraries/win/tools/vsprops/release.vsprops

index a24f05131929babb5c15b9f354d51a98b8df2c0c..72280878866741f4635fd7a9e1974af4807a29d5 100644 (file)
@@ -1,3 +1,18 @@
+2010-11-29  Steve Falkenburg  <sfalken@apple.com>
+
+        Reviewed by Adam Roben.
+
+        Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
+        https://bugs.webkit.org/show_bug.cgi?id=49858
+
+        We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
+        - To simplify editing (editing vsprops build steps is confusing).
+        - For more readable diffs.
+
+        * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
+        * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: Added.
+        * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: Added.
+
 2010-11-29  Geoffrey Garen  <ggaren@apple.com>
 
         Reviewed by Gavin Barraclough.
index d81a60439c60c843e4980c3c3284408197a8a961..faafaf78690033d16cba5aa548798f872fb9998a 100644 (file)
                AdditionalDependencies="user32.lib"\r
                OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).lib"\r
        />\r
-       <Tool\r
-               Name="VCPostBuildEventTool"\r
-               CommandLine="if exist &quot;$(WebKitOutputDir)\buildfailed&quot; del &quot;$(WebKitOutputDir)\buildfailed&quot;"\r
-       />\r
-       <Tool\r
-               Name="VCPreBuildEventTool"\r
-               CommandLine="%SystemDrive%\cygwin\bin\which.exe bash&#x0D;&#x0A;if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%&#x0D;&#x0A;cmd /c&#x0D;&#x0A;"\r
-       />\r
 </VisualStudioPropertySheet>\r
diff --git a/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd b/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd
new file mode 100644 (file)
index 0000000..d4a0356
--- /dev/null
@@ -0,0 +1 @@
+if exist "$(WebKitOutputDir)\buildfailed" del "$(WebKitOutputDir)\buildfailed"\r
diff --git a/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd b/JavaScriptCore/JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd
new file mode 100644 (file)
index 0000000..11b2e3d
--- /dev/null
@@ -0,0 +1,3 @@
+%SystemDrive%\cygwin\bin\which.exe bash\r
+if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
+cmd /c\r
index b546c9f082758c32de131cff7f4be30f5fdb489d..6d83566a56532f6b347dfc43c7a9a53a4fd78b39 100644 (file)
@@ -1,3 +1,22 @@
+2010-11-19  Steve Falkenburg  <sfalken@apple.com>
+
+        Reviewed by Adam Roben.
+
+        Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
+        https://bugs.webkit.org/show_bug.cgi?id=49858
+        
+        We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
+        - To simplify editing (editing vsprops build steps is confusing).
+        - For more readable diffs.
+        
+        To add a prebuild/prelink/postbuild step for a vcproj,
+        Add a new file named {ProjectName}PreBuild|PreLink|PostBuild.cmd to the project directory.
+        For example, a WTF prebuild script would be named WTFPreBuild.cmd and would be located
+        in the directory JavaScriptCore/JavaScriptCore.vcproj/WTF (alongside WTF.vcproj).
+
+        * win/tools/vsprops/common.vsprops:
+        * win/tools/vsprops/release.vsprops:
+
 2010-11-29  Anders Carlsson  <andersca@apple.com>
 
         Reviewed by Sam Weinig and Simon Fraser.
index b9c710cab41791c6606fb9752c24468c7d58c9f7..30d5325999e1faa3aaef379f9088d03f43033bbe 100644 (file)
@@ -25,7 +25,7 @@
        <Tool
                Name="VCLinkerTool"
                LinkLibraryDependencies="false"
-                AdditionalOptions="/SAFESEH /FIXED:NO /dynamicbase /ignore:4221"
+               AdditionalOptions="/SAFESEH /FIXED:NO /dynamicbase /ignore:4221"
                OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
                AdditionalLibraryDirectories="&quot;$(WebKitOutputDir)\lib&quot;;&quot;$(WebKitLibrariesDir)\lib&quot;"
                GenerateDebugInformation="true"
                Culture="1033"
                AdditionalIncludeDirectories="&quot;$(IntDir)\include&quot;"
        />
+       <Tool
+               Name="VCPreBuildEventTool"
+               CommandLine="REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PreBuild.cmd file.&#x0D;&#x0A;if exist &quot;$(ProjectDir)$(ProjectName)PreBuild.cmd&quot; &quot;$(ProjectDir)$(ProjectName)PreBuild.cmd&quot;"
+       />
+       <Tool
+               Name="VCPreLinkEventTool"
+               CommandLine="REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PreLink.cmd file.&#x0D;&#x0A;if exist &quot;$(ProjectDir)$(ProjectName)PreLink.cmd&quot; &quot;$(ProjectDir)$(ProjectName)PreLink.cmd&quot;"
+       />
+       <Tool
+               Name="VCPostBuildEventTool"
+               CommandLine="REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PostBuild.cmd file.&#x0D;&#x0A;if exist &quot;$(ProjectDir)$(ProjectName)PostBuild.cmd&quot; &quot;$(ProjectDir)$(ProjectName)PostBuild.cmd&quot;"
+       />
        <UserMacro
                Name="ProductionBuild"
                Value="$(PRODUCTION)"
index 8b38b7361d3733ab01772bbe4f97f2244df737fd..6416e3fd77e0c51428ad83557677ef51f54822af 100644 (file)
                EnableCOMDATFolding="2"
                OptimizeForWindows98="1"
        />
-       <Tool
-               Name="VCPreLinkEventTool"
-               CommandLine="if not exist &quot;$(WebKitOutputDir)\public\sym&quot; mkdir &quot;$(WebKitOutputDir)\public\sym&quot;"
-       />
        <Tool
                Name="VCResourceCompilerTool"
                PreprocessorDefinitions="NDEBUG"