Skip to content

Commit 9178f6a

Browse files
committed
Use only 64-bit ABIs
1 parent 6a1d74b commit 9178f6a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/EnvironmentContentTests.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class EnvironmentContentTests : BaseTest
1717
[NonParallelizable]
1818
public void BuildApplicationWithMonoEnvironment ([Values ("", "Normal", "Offline")] string sequencePointsMode)
1919
{
20-
const string supportedAbis = "armeabi-v7a;x86";
20+
const string supportedAbis = "arm64-v8a;x86_64";
2121

2222
var lib = new XamarinAndroidLibraryProject {
2323
ProjectName = "Library1",
@@ -77,7 +77,7 @@ public void BuildApplicationWithMonoEnvironment ([Values ("", "Normal", "Offline
7777
[Test]
7878
public void CheckMonoDebugIsAddedToEnvironment ([Values ("", "Normal", "Offline")] string sequencePointsMode)
7979
{
80-
const string supportedAbis = "armeabi-v7a;x86";
80+
const string supportedAbis = "arm64-v8a;x86_64";
8181

8282
var proj = new XamarinAndroidApplicationProject () {
8383
IsRelease = true,
@@ -108,6 +108,10 @@ public void CheckMonoDebugIsAddedToEnvironment ([Values ("", "Normal", "Offline"
108108
[Test]
109109
public void CheckConcurrentGC ()
110110
{
111+
if (TargetRuntimeHelper.UseCoreCLR) {
112+
Assert.Ignore ("Mono GC isn't supported on CoreCLR");
113+
}
114+
111115
var proj = new XamarinAndroidApplicationProject () {
112116
IsRelease = true,
113117
};
@@ -160,7 +164,7 @@ public void CheckHttpClientHandlerType ()
160164
var expectedDefaultValue = "System.Net.Http.SocketsHttpHandler, System.Net.Http";
161165
var expectedUpdatedValue = "Xamarin.Android.Net.AndroidMessageHandler";
162166

163-
var supportedAbis = "armeabi-v7a;arm64-v8a";
167+
var supportedAbis = "arm64-v8a;x86_64";
164168
proj.SetAndroidSupportedAbis (supportedAbis);
165169
proj.PackageReferences.Add (new Package() { Id = "System.Net.Http", Version = "*" });
166170
proj.MainActivity = proj.DefaultMainActivity.Replace ("//${AFTER_ONCREATE}", "var _ = new System.Net.Http.HttpClient ();");

0 commit comments

Comments
 (0)