From: Alexander Köplinger Date: Tue, 20 Jul 2021 10:14:22 +0000 (+0200) Subject: Cleanup iOS/Android samples to use xharness (#55926) X-Git-Tag: accepted/tizen/unified/20220110.054933~1058 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e5e88cb0393bfc29d58685bef0d7e6c9d138e84;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Cleanup iOS/Android samples to use xharness (#55926) Instead of manually calling adb or simctl. --- diff --git a/src/mono/sample/Android/AndroidSampleApp.csproj b/src/mono/sample/Android/AndroidSampleApp.csproj index e85e49d..1abf765 100644 --- a/src/mono/sample/Android/AndroidSampleApp.csproj +++ b/src/mono/sample/Android/AndroidSampleApp.csproj @@ -21,7 +21,6 @@ False True - $(ANDROID_SDK_ROOT)\platform-tools\adb $(PublishDir)apk\ @@ -98,16 +97,7 @@ - - - - - - - - - + diff --git a/src/mono/sample/iOS/Makefile b/src/mono/sample/iOS/Makefile index e3b7578..34279c4 100644 --- a/src/mono/sample/iOS/Makefile +++ b/src/mono/sample/iOS/Makefile @@ -26,6 +26,7 @@ runtimepack: run: clean appbuilder $(DOTNET) publish \ -c $(MONO_CONFIG) \ + /p:TargetOS=iOS \ /p:TargetArchitecture=$(MONO_ARCH) \ /p:UseLLVM=$(USE_LLVM) \ /p:ForceAOT=$(AOT) \ diff --git a/src/mono/sample/iOS/Program.csproj b/src/mono/sample/iOS/Program.csproj index 04b2bde..471abcb 100644 --- a/src/mono/sample/iOS/Program.csproj +++ b/src/mono/sample/iOS/Program.csproj @@ -94,12 +94,9 @@ Condition="'$(ArchiveTests)' != 'true'"> - - - - - - + + + diff --git a/src/tasks/AotCompilerTask/MonoAOTCompiler.cs b/src/tasks/AotCompilerTask/MonoAOTCompiler.cs index 465c884..0d48bf4 100644 --- a/src/tasks/AotCompilerTask/MonoAOTCompiler.cs +++ b/src/tasks/AotCompilerTask/MonoAOTCompiler.cs @@ -176,6 +176,7 @@ public class MonoAOTCompiler : Microsoft.Build.Utilities.Task /// public string? DedupAssembly { get; set; } + /// /// Debug option in llvm aot mode /// defaults to "nodebug" since some targes can't generate debug info ///