-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] Remove MONOANDROID, NET, and NETCOREAPP directives (#8434)
Removes the conditional compiler directives used to swap between `.NET` and `MonoAndroid`. These are no longer needed in main as `.NET` is the only supported target.
- Loading branch information
Showing
32 changed files
with
22 additions
and
323 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
build-tools/xaprepare/xaprepare/Application/NullableAttributes.cs
This file was deleted.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
#if !NETCOREAPP || INSIDE_MONO_ANDROID_RUNTIME | ||
#if INSIDE_MONO_ANDROID_RUNTIME | ||
namespace Android.Runtime | ||
{ | ||
internal static class RuntimeConstants | ||
{ | ||
public const string InternalDllName = "xa-internal-api"; | ||
} | ||
} | ||
#endif // !NETCOREAPP || INSIDE_MONO_ANDROID_RUNTIME | ||
#endif // INSIDE_MONO_ANDROID_RUNTIME |
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
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
18 changes: 0 additions & 18 deletions
18
src/Mono.Android/Java.Interop/JavaTypeParametersAttribute.cs
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,26 +1,8 @@ | ||
using System; | ||
|
||
#if NET | ||
using System.Runtime.CompilerServices; | ||
|
||
// PublicApiAnalyzers doesn't like TypeForwards | ||
#pragma warning disable RS0016 // Symbol is not part of the declared API | ||
[assembly: TypeForwardedTo (typeof (Java.Interop.JavaTypeParametersAttribute))] | ||
#pragma warning restore RS0016 // Symbol is not part of the declared API | ||
|
||
#else // !NET | ||
|
||
namespace Java.Interop | ||
{ | ||
public class JavaTypeParametersAttribute : Attribute | ||
{ | ||
public JavaTypeParametersAttribute (string [] typeParameters) | ||
{ | ||
TypeParameters = typeParameters; | ||
} | ||
|
||
public string [] TypeParameters { get; set; } | ||
} | ||
} | ||
|
||
#endif // !NET |
Oops, something went wrong.