Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMorgan Brown <morganbr@users.noreply.github.com>2018-08-16 10:42:17 +0300
committerMarek Safar <marek.safar@gmail.com>2018-12-20 17:24:04 +0300
commit326a578432342cde056bdeaf1c59fccf1c0d3907 (patch)
treecf445507ebfd79e15457d41536c2aae551e4d61d /pkg
parent035d4e0b08e6496993036bac2a92a768b5dac32d (diff)
Add WebAssembly build architecture (#28936)
* Adds WebAssembly OsGroup and wasm ArchGroup. * Build System.Native for WebAssembly
Diffstat (limited to 'pkg')
-rw-r--r--pkg/Microsoft.NETCore.Platforms.Future/Configurations.props8
-rw-r--r--pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.builds8
-rw-r--r--pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.pkgproj20
-rw-r--r--pkg/Microsoft.NETCore.Platforms.Future/readme.md1
-rw-r--r--pkg/Microsoft.NETCore.Platforms.Future/runtime.compatibility.json15
-rw-r--r--pkg/Microsoft.NETCore.Platforms.Future/runtime.json18
-rw-r--r--pkg/Microsoft.NETCore.Platforms.Future/runtimeGroups.props27
-rw-r--r--pkg/descriptions.json5
8 files changed, 102 insertions, 0 deletions
diff --git a/pkg/Microsoft.NETCore.Platforms.Future/Configurations.props b/pkg/Microsoft.NETCore.Platforms.Future/Configurations.props
new file mode 100644
index 0000000000..c398e42e89
--- /dev/null
+++ b/pkg/Microsoft.NETCore.Platforms.Future/Configurations.props
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <BuildConfigurations>
+ netstandard;
+ </BuildConfigurations>
+ </PropertyGroup>
+</Project> \ No newline at end of file
diff --git a/pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.builds b/pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.builds
new file mode 100644
index 0000000000..cf5c0af258
--- /dev/null
+++ b/pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.builds
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
+ <ItemGroup Condition="'$(BuildingAnOfficialBuildLeg)' != 'true' Or '$(BuildAllConfigurations)' == 'true'">
+ <Project Include="Microsoft.NETCore.Platforms.Future.pkgproj" />
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.traversal.targets))\dir.traversal.targets" />
+</Project> \ No newline at end of file
diff --git a/pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.pkgproj b/pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.pkgproj
new file mode 100644
index 0000000000..322a73f488
--- /dev/null
+++ b/pkg/Microsoft.NETCore.Platforms.Future/Microsoft.NETCore.Platforms.Future.pkgproj
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
+ <PropertyGroup>
+ <PackageVersion>3.0.0</PackageVersion>
+ <SkipValidatePackage>true</SkipValidatePackage>
+ <!-- We don't need to harvest the stable packages to build this -->
+ <HarvestStablePackage>false</HarvestStablePackage>
+ </PropertyGroup>
+ <ItemGroup>
+ <File Include="runtime.json" />
+ <!-- make this package installable and noop in a packages.config-based project -->
+ <File Include="$(PlaceHolderFile)">
+ <TargetPath>lib/netstandard1.0</TargetPath>
+ </File>
+ <ProjectReference Include="..\Microsoft.NETCore.Platforms\Microsoft.NETCore.Platforms.pkgproj" />
+ </ItemGroup>
+ <Import Project="runtimeGroups.props" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
+</Project>
diff --git a/pkg/Microsoft.NETCore.Platforms.Future/readme.md b/pkg/Microsoft.NETCore.Platforms.Future/readme.md
new file mode 100644
index 0000000000..1e8e216fd6
--- /dev/null
+++ b/pkg/Microsoft.NETCore.Platforms.Future/readme.md
@@ -0,0 +1 @@
+see ..\Microsoft.NETCore.Platforms\readme.md \ No newline at end of file
diff --git a/pkg/Microsoft.NETCore.Platforms.Future/runtime.compatibility.json b/pkg/Microsoft.NETCore.Platforms.Future/runtime.compatibility.json
new file mode 100644
index 0000000000..278b1bcc7e
--- /dev/null
+++ b/pkg/Microsoft.NETCore.Platforms.Future/runtime.compatibility.json
@@ -0,0 +1,15 @@
+{
+ "unix-wasm": [
+ "unix-wasm"
+ ],
+ "webassembly": [
+ "webassembly",
+ "unix"
+ ],
+ "webassembly-wasm": [
+ "webassembly-wasm",
+ "webassembly",
+ "unix-wasm",
+ "unix"
+ ]
+} \ No newline at end of file
diff --git a/pkg/Microsoft.NETCore.Platforms.Future/runtime.json b/pkg/Microsoft.NETCore.Platforms.Future/runtime.json
new file mode 100644
index 0000000000..07393a3db8
--- /dev/null
+++ b/pkg/Microsoft.NETCore.Platforms.Future/runtime.json
@@ -0,0 +1,18 @@
+{
+ "runtimes": {
+ "unix-wasm": {
+ "#import": []
+ },
+ "webassembly": {
+ "#import": [
+ "unix"
+ ]
+ },
+ "webassembly-wasm": {
+ "#import": [
+ "webassembly",
+ "unix-wasm"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/pkg/Microsoft.NETCore.Platforms.Future/runtimeGroups.props b/pkg/Microsoft.NETCore.Platforms.Future/runtimeGroups.props
new file mode 100644
index 0000000000..b800443190
--- /dev/null
+++ b/pkg/Microsoft.NETCore.Platforms.Future/runtimeGroups.props
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <RuntimeGroup Include="unix">
+ <Architectures>wasm</Architectures>
+ <!-- don't generate the archiecture-less RID -->
+ <OmitRIDs>unix</OmitRIDs>
+ </RuntimeGroup>
+ <RuntimeGroup Include="webassembly">
+ <Parent>unix</Parent>
+ <Architectures>wasm</Architectures>
+ </RuntimeGroup>
+ </ItemGroup>
+
+ <Target Name="GenerateRuntimeJson" BeforeTargets="CreatePackage">
+ <!-- Generates a Runtime graph using RuntimeGroups and diffs it with the graph described by runtime.json and runtime.compatibility.json
+ Specifying UpdateRuntimeFiles=true skips the diff and updates those files.
+ The graph can be visualized using the generated dmgl -->
+ <MakeDir Directories="$(PackageReportDir)" />
+ <GenerateRuntimeGraph RuntimeGroups="@(RuntimeGroup)"
+ RuntimeJson="runtime.json"
+ ExternalRuntimeJsons="..\Microsoft.NETCore.Platforms\runtime.json"
+ CompatibilityMap="runtime.compatibility.json"
+ RuntimeDirectedGraph="$(PackageReportDir)$(Id)$(NuspecSuffix)-runtime.json.dgml"
+ UpdateRuntimeFiles="$(UpdateRuntimeFiles)" />
+ </Target>
+</Project>
diff --git a/pkg/descriptions.json b/pkg/descriptions.json
index 411661f2c9..63094356be 100644
--- a/pkg/descriptions.json
+++ b/pkg/descriptions.json
@@ -64,6 +64,11 @@
"CommonTypes": []
},
{
+ "Name": "Microsoft.NETCore.Platforms.Future",
+ "Description": "Provides runtime information required to resolve target framework, platform, and runtime specific implementations of .NETCore packages. This package represents future platforms not yet supported in .NETCore stable release and is subject to change.",
+ "CommonTypes": []
+ },
+ {
"Name": "Microsoft.NETCore.Portable.Compatibility",
"Description": "Enables compatibility with portable libraries targeting previous .NET releases like .NET Framework 4.0 and Silverlight.\nThis package supports retargeting references to classic reference assemblies (mscorlib.dll, system.dll, etc) to new contract assemblies (System.Runtime.dll, System.IO, etc). It does this in a pay-for-play way to prevent consuming assemblies from having to reference all of the contracts that happen to overlap with mscorlib. As such, when using this package you may encounter errors like\n\terror CS0012: The type 'WebRequest' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net.Requests, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.\nTo resolve these errors install the package with the same name as the missing assembly.",
"CommonTypes": []