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

github.com/mono/reference-assemblies.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Bogatov <egorbo@gmail.com>2018-09-27 15:38:08 +0300
committerMarek Safar <marek.safar@gmail.com>2018-09-27 15:38:08 +0300
commitcaa32990d2dbb1b8e026ae766a8bc6783e6cef7e (patch)
tree97cdf340f0e241995513dd8a90b977dd75f98c6d
parent3602b403652f19e155627498317e1ce09038f00e (diff)
Add Mono.Android.dll (#11)
-rw-r--r--build/monodroid/Makefile6
-rw-r--r--build/monodroid/Mono.Android.dllbin0 -> 5120 bytes
-rw-r--r--build/monodroid/xa.pubbin0 -> 160 bytes
-rw-r--r--src/monodroid/Mono.Android.cs34
4 files changed, 39 insertions, 1 deletions
diff --git a/build/monodroid/Makefile b/build/monodroid/Makefile
index ce7ae11..d23c2e1 100644
--- a/build/monodroid/Makefile
+++ b/build/monodroid/Makefile
@@ -5,7 +5,7 @@ CSC ?= csc
CSC_COMMON_ARGS := -nologo -noconfig -optimize -nostdlib -unsafe -deterministic -publicsign -debug- -target:library -nowarn:612,618,809
Q_CSC = $(if $(V),,@echo "CSC [$(PROFILE)] $(1)";)
-ASSEMBLIES := mscorlib System System.Xml System.Numerics System.Core System.Net.Http
+ASSEMBLIES := mscorlib System System.Xml System.Numerics System.Core System.Net.Http Mono.Android
ASSEMBLIES += bare/System bare/System.Xml
@@ -13,6 +13,7 @@ ASSEMBLIES += bare/System bare/System.Xml
# for i in *.dll; do ikdasm --assemblyref $i | grep Name= | sed 's/.*Name=//g' | sed -e $'s/$/\\\n/g' | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g' -e "s/^/${i%.*}_REFS := /"; done
System.Core_REFS := mscorlib System
System.Net.Http_REFS := mscorlib System
+Mono.Android_REFS := mscorlib
System.Numerics_REFS := mscorlib
System_REFS := mscorlib bare/System.Xml
System.Xml_REFS := mscorlib System
@@ -28,6 +29,9 @@ ECMA_KEY := ../../../../../mono/mcs/class/ecma.pub # Public Key Token: b
ECMA_KEY_ASSEMBLIES := System.Core System.Net.Http System.Numerics System.Xml System mscorlib \
bare/System bare/System.Xml
+# Mono.Android must be signed with a different key (copied from xamarin-android repository)
+Mono.Android_KEYFILE := xa.pub
+
all: $(addsuffix .dll, $(ASSEMBLIES))
clean:
diff --git a/build/monodroid/Mono.Android.dll b/build/monodroid/Mono.Android.dll
new file mode 100644
index 0000000..91ad478
--- /dev/null
+++ b/build/monodroid/Mono.Android.dll
Binary files differ
diff --git a/build/monodroid/xa.pub b/build/monodroid/xa.pub
new file mode 100644
index 0000000..3d8d2f0
--- /dev/null
+++ b/build/monodroid/xa.pub
Binary files differ
diff --git a/src/monodroid/Mono.Android.cs b/src/monodroid/Mono.Android.cs
new file mode 100644
index 0000000..2eb16f4
--- /dev/null
+++ b/src/monodroid/Mono.Android.cs
@@ -0,0 +1,34 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+[assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute]
+[assembly:System.Reflection.AssemblyVersionAttribute("0.0.0.0")]
+[assembly:System.CLSCompliantAttribute(true)]
+[assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))]
+[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")]
+[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")]
+[assembly:System.Reflection.AssemblyDefaultAliasAttribute("Mono.Android.dll")]
+[assembly:System.Reflection.AssemblyDescriptionAttribute("Mono.Android.dll")]
+[assembly:System.Reflection.AssemblyFileVersionAttribute("0.0.0.0")]
+[assembly:System.Reflection.AssemblyInformationalVersionAttribute("0.0.0.0")]
+[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")]
+[assembly:System.Reflection.AssemblyTitleAttribute("Mono.Android.dll")]
+[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")]
+[assembly:System.Resources.SatelliteContractVersionAttribute("0.0.0.0")]
+[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
+[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
+[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly:System.Security.SecurityCriticalAttribute]
+[assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)]
+namespace System.Drawing
+{
+ public struct Color {}
+ public enum KnownColor {}
+ public struct Point {}
+ public struct PointF {}
+ public struct Rectangle {}
+ public struct RectangleF {}
+ public struct Size {}
+ public struct SizeF {}
+} \ No newline at end of file