Ignore:
Timestamp:
Oct 25, 2007, 2:03:52 PM (18 years ago)
Author:
aroben
Message:

Fix some JavaScriptCore build issues

JavaScriptCore:

Change JavaScriptCore.vcproj to use DerivedSources.make

We were trying to emulate the logic of make in
build-generated-files.sh, but we got it wrong. We now use a
build-generated-files very much like the one that WebCore uses to
invoke make.

We also now only have a Debug configuration of dftables which we build
even when doing a Release build of JavaScriptCore. dftables also no
longer has the "_debug" name suffix.

Changes mostly made by Darin, reviewed by me.

  • DerivedSources.make: Add a variable to set the extension used for the dftables executable.
  • JavaScriptCore.vcproj/JavaScriptCore.sln: Updated to use Debug dftables in Release configurations.
  • JavaScriptCore.vcproj/JavaScriptCoreSubmit.sln: Ditto.
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
    • Updated include path to point to the new location of the derived sources.
    • Modified pre-build event to pass the right arguments to build-generated-files.sh and not call dftables directly.
    • Added the derived source files to the project.
    • Removed grammarWrapper.cpp, which isn't needed now that we're compiling grammar.cpp directly.
  • JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh: Slightly modified from the WebCore version.
  • JavaScriptCore.vcproj/JavaScriptCore/grammarWrapper.cpp: Removed.
  • JavaScriptCore.vcproj/dftables/dftables.vcproj:
    • Changed the output location to match Mac.
    • Removed the Release configuration.
    • Removed the _debug suffix.

win:

Update WebKit.sln for the removal of Release dftables

Reviewed by NOBODY.

  • WebKit.vcproj/WebKit.sln:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.vcproj/dftables/dftables.vcproj

    r25934 r27061  
    1818                <Configuration
    1919                        Name="Debug|Win32"
    20                         OutputDirectory="$(WebKitOutputDir)\bin"
     20                        OutputDirectory="$(WebKitOutputDir)\obj\JavaScriptCore"
    2121                        IntermediateDirectory="$(WebKitOutputDir)\obj\JavaScriptCore\$(ProjectName)\$(ConfigurationName)"
    2222                        ConfigurationType="1"
     
    6464                        <Tool
    6565                                Name="VCLinkerTool"
    66                                 OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
     66                                OutputFile="$(OutDir)\$(ProjectName).exe"
    6767                                LinkIncremental="2"
    6868                                GenerateDebugInformation="true"
    6969                                SubSystem="1"
    70                                 TargetMachine="1"
    71                         />
    72                         <Tool
    73                                 Name="VCALinkTool"
    74                         />
    75                         <Tool
    76                                 Name="VCManifestTool"
    77                         />
    78                         <Tool
    79                                 Name="VCXDCMakeTool"
    80                         />
    81                         <Tool
    82                                 Name="VCBscMakeTool"
    83                         />
    84                         <Tool
    85                                 Name="VCFxCopTool"
    86                         />
    87                         <Tool
    88                                 Name="VCAppVerifierTool"
    89                         />
    90                         <Tool
    91                                 Name="VCWebDeploymentTool"
    92                         />
    93                         <Tool
    94                                 Name="VCPostBuildEventTool"
    95                         />
    96                 </Configuration>
    97                 <Configuration
    98                         Name="Release|Win32"
    99                         OutputDirectory="$(WebKitOutputDir)\bin"
    100                         IntermediateDirectory="$(WebKitOutputDir)\obj\JavaScriptCore\$(ProjectName)\$(ConfigurationName)"
    101                         ConfigurationType="1"
    102                         InheritedPropertySheets="..\release.vsprops"
    103                         CharacterSet="1"
    104                         WholeProgramOptimization="1"
    105                         >
    106                         <Tool
    107                                 Name="VCPreBuildEventTool"
    108                         />
    109                         <Tool
    110                                 Name="VCCustomBuildTool"
    111                         />
    112                         <Tool
    113                                 Name="VCXMLDataGeneratorTool"
    114                         />
    115                         <Tool
    116                                 Name="VCWebServiceProxyGeneratorTool"
    117                         />
    118                         <Tool
    119                                 Name="VCMIDLTool"
    120                         />
    121                         <Tool
    122                                 Name="VCCLCompilerTool"
    123                                 AdditionalIncludeDirectories="../../wtf"
    124                                 PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE"
    125                                 ExceptionHandling="0"
    126                                 RuntimeLibrary="2"
    127                                 UsePrecompiledHeader="0"
    128                                 WarningLevel="3"
    129                                 Detect64BitPortabilityProblems="true"
    130                                 DebugInformationFormat="3"
    131                         />
    132                         <Tool
    133                                 Name="VCManagedResourceCompilerTool"
    134                         />
    135                         <Tool
    136                                 Name="VCResourceCompilerTool"
    137                         />
    138                         <Tool
    139                                 Name="VCPreLinkEventTool"
    140                         />
    141                         <Tool
    142                                 Name="VCLinkerTool"
    143                                 OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
    144                                 LinkIncremental="1"
    145                                 GenerateDebugInformation="true"
    146                                 SubSystem="1"
    147                                 OptimizeReferences="2"
    148                                 EnableCOMDATFolding="2"
    14970                                TargetMachine="1"
    15071                        />
Note: See TracChangeset for help on using the changeset viewer.