Home | History | Annotate | Download | only in JavaScriptCore.vcproj
      1 !IF defined(BUILDSTYLE) && "$(BUILDSTYLE)"=="DEBUG"
      2 BUILDSTYLE=Debug_All
      3 !ELSE
      4 BUILDSTYLE=Release_PGO
      5 !ENDIF
      6 
      7 install:
      8     set OFFICIAL_BUILD=1
      9     set WebKitLibrariesDir=$(SRCROOT)\AppleInternal
     10     set WebKitOutputDir=$(OBJROOT)
     11 	set ConfigurationBuildDir=$(OBJROOT)\$(BUILDSTYLE)
     12     set WebKitVSPropsRedirectionDir=$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\4\ 
     13 !IF "$(BUILDSTYLE)"=="Release_PGO"
     14     devenv "JavaScriptCoreSubmit.sln" /rebuild $(BUILDSTYLE)
     15     set PATH=$(SYSTEMDRIVE)\cygwin\bin;$(PATH)
     16     xcopy "$(SRCROOT)\AppleInternal\tests\SunSpider\*" "%ConfigurationBuildDir%\tests\SunSpider" /e/v/i/h/y
     17     cd "%ConfigurationBuildDir%\tests\SunSpider"
     18     perl sunspider --shell ../../bin/jsc.exe --runs 3
     19     del "%ConfigurationBuildDir%\bin\JavaScriptCore.dll"
     20     cd "$(SRCROOT)\JavaScriptCore.vcproj"
     21     devenv "JavaScriptCoreSubmit.sln" /build Release_PGO_Optimize
     22 !ELSE
     23     devenv "JavaScriptCoreSubmit.sln" /rebuild $(BUILDSTYLE)
     24 !ENDIF
     25     -xcopy "%ConfigurationBuildDir%\bin\JavaScriptCore.dll" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     26     -xcopy "%ConfigurationBuildDir%\bin\JavaScriptCore_debug.dll" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     27     -xcopy "%ConfigurationBuildDir%\bin\JavaScriptCore.pdb" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     28     -xcopy "%ConfigurationBuildDir%\bin\JavaScriptCore_debug.pdb" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     29     -xcopy "%ConfigurationBuildDir%\bin\jsc.exe" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     30     -xcopy "%ConfigurationBuildDir%\bin\jsc_debug.exe" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     31     -xcopy "%ConfigurationBuildDir%\bin\jsc.pdb" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     32     -xcopy "%ConfigurationBuildDir%\bin\jsc_debug.pdb" "$(DSTROOT)\AppleInternal\bin\" /e/v/i/h/y
     33     xcopy "%ConfigurationBuildDir%\include\*" "$(DSTROOT)\AppleInternal\include\" /e/v/i/h/y    
     34     xcopy "%ConfigurationBuildDir%\lib\*" "$(DSTROOT)\AppleInternal\lib\" /e/v/i/h/y    
     35     xcopy "%ConfigurationBuildDir%\bin\JavaScriptCore.resources\*" "$(DSTROOT)\AppleInternal\bin\JavaScriptCore.resources" /e/v/i/h/y
     36     -mkdir "$(DSTROOT)\AppleInternal\Sources\JavaScriptCore"
     37     xcopy "%ConfigurationBuildDir%\obj\JavaScriptCore\DerivedSources\*" "$(DSTROOT)\AppleInternal\Sources\JavaScriptCore" /e/v/i/h/y
     38