This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chakrashim: updated chakracore to 1.2
Updated chakracore to 1.2 at chakra-core/ChakraCore@2475f39 PR-URL: #76 Reviewed-By: Jianchun Xu <Jianchun.Xu@microsoft.com>
- Loading branch information
1 parent
407e16c
commit 7cd4c61
Showing
1,469 changed files
with
137,187 additions
and
45,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.baseline -crlf | ||
*.cmd -crlf | ||
test/*.js -crlf | ||
test/es6/HTMLComments.js binary diff=cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
deps/chakrashim/core/Build/Chakra.Build.ProjectConfiguration.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="Common.Build.ProjectConfiguration.props" /> | ||
<Import Project="MicroBuildv2.Build.ProjectConfiguration.props" /> | ||
</Project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
deps/chakrashim/core/Build/MicroBuildv2.Build.ProjectConfiguration.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<MicroBuildV2Dir>$(SolutionDir)packages\MicroBuild.Core.0.2.0\build</MicroBuildV2Dir> | ||
<MicroBuildV2Props>$(MicroBuildV2Dir)\MicroBuild.Core.props</MicroBuildV2Props> | ||
<MicroBuildV2Targets>$(MicroBuildV2Dir)\MicroBuild.Core.targets</MicroBuildV2Targets> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(MicroBuildV2Props)" | ||
Condition="'$(VSO_MICROBUILD_V2)'=='True' AND Exists('$(MicroBuildV2Props)')" /> | ||
|
||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
<PropertyGroup> | ||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
</PropertyGroup> | ||
<Error Text="$([System.String]::Format('$(ErrorText)', '$(MicroBuildV2Props)'))" | ||
Condition="'$(VSO_MICROBUILD_V2)'=='True' AND !Exists('$(MicroBuildV2Props)')" /> | ||
<Error Text="$([System.String]::Format('$(ErrorText)', '$(MicroBuildV2Targets)'))" | ||
Condition="'$(VSO_MICROBUILD_V2)'=='True' AND !Exists('$(MicroBuildV2Targets)')" /> | ||
</Target> | ||
|
||
<Import Project="$(MicroBuildV2Targets)" | ||
Condition="'$(VSO_MICROBUILD_V2)'=='True' AND Exists('$(MicroBuildV2Targets)')" /> | ||
</Project> |
12 changes: 12 additions & 0 deletions
12
deps/chakrashim/core/Build/MicroBuildv2.Build.ProjectConfiguration1.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.props" Condition="Exists('$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.props')" /> | ||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
<PropertyGroup> | ||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
</PropertyGroup> | ||
<Error Condition="!Exists('$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.props'))" /> | ||
<Error Condition="!Exists('$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.targets'))" /> | ||
</Target> | ||
<Import Project="$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.targets" Condition="Exists('$(SolutionDir)packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.targets')" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
::------------------------------------------------------------------------------------------------------- | ||
:: Copyright (C) Microsoft. All rights reserved. | ||
:: Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. | ||
::------------------------------------------------------------------------------------------------------- | ||
|
||
:: add_msbuild_path.cmd | ||
:: | ||
:: Locate msbuild.exe and add it to the PATH | ||
|
||
set USE_MSBUILD_12=%1 | ||
|
||
if "%USE_MSBUILD_12%" == "True" ( | ||
echo Skipping Dev14 and trying Dev12... | ||
goto :LABEL_USE_MSBUILD_12 | ||
) | ||
|
||
where /q msbuild.exe | ||
if "%ERRORLEVEL%" == "0" ( | ||
goto :SkipMsBuildSetup | ||
) | ||
|
||
REM Try Dev14 first | ||
set MSBUILD_VERSION=14.0 | ||
set MSBUILD_PATH="%ProgramFiles%\msbuild\%MSBUILD_VERSION%\Bin\x86" | ||
|
||
if not exist %MSBUILD_PATH%\msbuild.exe ( | ||
set MSBUILD_PATH="%ProgramFiles(x86)%\msbuild\%MSBUILD_VERSION%\Bin" | ||
) | ||
|
||
if not exist %MSBUILD_PATH%\msbuild.exe ( | ||
set MSBUILD_PATH="%ProgramFiles(x86)%\msbuild\%MSBUILD_VERSION%\Bin\amd64" | ||
) | ||
|
||
if exist %MSBUILD_PATH%\msbuild.exe ( | ||
goto :MSBuildFound | ||
) | ||
|
||
echo Dev14 not found, trying Dev12... | ||
|
||
:LABEL_USE_MSBUILD_12 | ||
set MSBUILD_VERSION=12.0 | ||
set MSBUILD_PATH="%ProgramFiles%\msbuild\%MSBUILD_VERSION%\Bin\x86" | ||
echo Dev14 not found, trying Dev %MSBUILD_VERSION% | ||
|
||
if not exist %MSBUILD_PATH%\msbuild.exe ( | ||
set MSBUILD_PATH="%ProgramFiles(x86)%\msbuild\%MSBUILD_VERSION%\Bin" | ||
) | ||
|
||
if not exist %MSBUILD_PATH%\msbuild.exe ( | ||
set MSBUILD_PATH="%ProgramFiles(x86)%\msbuild\%MSBUILD_VERSION%\Bin\amd64" | ||
) | ||
|
||
if not exist %MSBUILD_PATH%\msbuild.exe ( | ||
echo Can't find msbuild.exe in %MSBUILD_PATH% | ||
goto :SkipMsBuildSetup | ||
) | ||
|
||
:MSBuildFound | ||
echo MSBuild located at %MSBUILD_PATH% | ||
|
||
set PATH=%MSBUILD_PATH%;%PATH% | ||
set USE_MSBUILD_12= | ||
set MSBUILD_PATH= | ||
|
||
:SkipMsBuildSetup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#------------------------------------------------------------------------------------------------------- | ||
# Copyright (C) Microsoft. All rights reserved. | ||
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. | ||
#------------------------------------------------------------------------------------------------------- | ||
|
||
# Compose Build script | ||
# | ||
# Aggregate metadata about a build and produce a file with useful information about the build | ||
# for tools to consume and get a quick overview of the status of a completed build. | ||
|
||
param ( | ||
[Parameter(Mandatory=$True)] | ||
[string]$rootPath | ||
) | ||
|
||
# | ||
# Aggregate build metadata and produce build.json | ||
# | ||
|
||
$outputJsonFile = Join-Path $rootPath "build.json" | ||
$buildInfo = New-Object System.Object | ||
|
||
$changeJson = (Get-ChildItem -Path $rootPath "change.json" -Recurse)[0].FullName | ||
$changeText = (Get-ChildItem -Path $rootPath "change.txt" -Recurse)[0].FullName | ||
Copy-Item -Verbose -Force -Path $changeJson -Destination $rootPath | ||
Copy-Item -Verbose -Force -Path $changeText -Destination $rootPath | ||
|
||
$changeInfo = (Get-Content $changeJson) -join "`n" | ConvertFrom-Json | ||
|
||
# Recursively locate ${arch}_${flavor}.json and move to $rootPath. | ||
# This ensures that in the rebuild scenario, we don't have duplication of *.json files | ||
# between the partially-composed root and the metadata directories. | ||
|
||
Get-ChildItem -Path $rootPath "*.json" -Recurse ` | ||
| ? { -not ($_.Name -in @("change.json", "build.json")) } ` | ||
| % { Move-Item -Verbose -Force -Path $_.FullName -Destination $rootPath } | ||
|
||
# Determine the overall build status. Mark the build as "passed" until "failed" is encountered. | ||
$overallBuildStatus = "passed" | ||
|
||
$files = Get-ChildItem -Path $rootPath "*.json" -Recurse ` | ||
| ? { -not ($_.Name -in @("change.json", "build.json")) } ` | ||
| % { $_.FullName } | ||
$builds = New-Object System.Collections.ArrayList | ||
foreach ($file in $files) { | ||
$json = (Get-Content $file) -join "`n" | ConvertFrom-Json | ||
$_ = $builds.Add($json) | ||
|
||
if ($json.status -eq "failed") { | ||
$overallBuildStatus = "failed" | ||
} | ||
} | ||
|
||
$buildInfo | Add-Member -type NoteProperty -name status -value $overallBuildStatus | ||
$buildInfo | Add-Member -type NoteProperty -name change -value $changeInfo | ||
$buildInfo | Add-Member -type NoteProperty -name builds -value $builds | ||
|
||
$buildInfo | ConvertTo-Json | Write-Output | ||
$buildInfo | ConvertTo-Json | Out-File $outputJsonFile -Encoding Ascii |
Oops, something went wrong.