Rename the mobile_static profile to aot_only
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 24 Nov 2016 01:33:29 +0000 (02:33 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 24 Nov 2016 16:40:54 +0000 (17:40 +0100)
commit9f5b8c4cf2b7980ea5dddef62b36bb1910b53ff9
tree7db8aa9f98bd8a5c1242194d660ae84ee630bcce
parent1d6abe9ecaa51d39c01a9e4070e8bdd15b61593f
Rename the mobile_static profile to aot_only

We decided it's a better name since we're using the profile to
test FullAOT scenarios on desktop (as opposed to the mobile profiles).

While doing the rename I saw that a lot of the #ifdefs were using
MOBILE_STATIC even though the code should actually be included/excluded
in all FullAOT scenarios, e.g. System.Reflection.Emit. I replaced those
cases with FULL_AOT_RUNTIME instead.

For cases where code is specific to this profile, I added a new
AOT_ONLY_DESKTOP define.
107 files changed:
configure.ac
mcs/Makefile
mcs/build/profiles/aot_only.make [new file with mode: 0644]
mcs/build/profiles/mobile_static.make [deleted file]
mcs/build/profiles/monotouch_runtime.make
mcs/build/rules.make
mcs/class/Facades/subdirs.make
mcs/class/Makefile
mcs/class/Mono.CSharp/Makefile
mcs/class/Mono.CSharp/aot_only_Mono.CSharp.dll.sources [new file with mode: 0644]
mcs/class/Mono.CSharp/aot_only_Mono.CSharp_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/Mono.CSharp/aot_only_Mono.CSharp_test.dll.sources [new file with mode: 0644]
mcs/class/Mono.CSharp/mobile_static_Mono.CSharp.dll.sources [deleted file]
mcs/class/Mono.CSharp/mobile_static_Mono.CSharp_test.dll.exclude.sources [deleted file]
mcs/class/Mono.CSharp/mobile_static_Mono.CSharp_test.dll.sources [deleted file]
mcs/class/Mono.CSharp/monotouch_Mono.CSharp.dll.sources
mcs/class/Mono.CSharp/monotouch_tv_Mono.CSharp.dll.sources
mcs/class/Mono.CSharp/monotouch_watch_Mono.CSharp.dll.sources
mcs/class/Mono.Dynamic.Interpreter/Makefile
mcs/class/Mono.Security/aot_only_Mono.Security.dll.sources [new file with mode: 0644]
mcs/class/Mono.Security/mobile_static_Mono.Security.dll.sources [deleted file]
mcs/class/System.Core/Makefile
mcs/class/System.Core/aot_only_System.Core.dll.sources [new file with mode: 0644]
mcs/class/System.Core/aot_only_System.Core_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/System.Core/aot_only_System.Core_test.dll.sources [new file with mode: 0644]
mcs/class/System.Core/mobile_static_System.Core.dll.sources [deleted file]
mcs/class/System.Core/mobile_static_System.Core_test.dll.exclude.sources [deleted file]
mcs/class/System.Core/mobile_static_System.Core_test.dll.sources [deleted file]
mcs/class/System.Core/monodroid_System.Core_test.dll.exclude.sources
mcs/class/System.Data/Test/System.Data/DataTableTest.cs
mcs/class/System.Data/aot_only_System.Data.dll.sources [new file with mode: 0644]
mcs/class/System.Data/aot_only_System.Data_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/System.Data/aot_only_System.Data_test.dll.sources [new file with mode: 0644]
mcs/class/System.Data/mobile_static_System.Data.dll.sources [deleted file]
mcs/class/System.Data/mobile_static_System.Data_test.dll.exclude.sources [deleted file]
mcs/class/System.Data/mobile_static_System.Data_test.dll.sources [deleted file]
mcs/class/System.IdentityModel/aot_only_System.IdentityModel.dll.sources [new file with mode: 0644]
mcs/class/System.IdentityModel/mobile_static_System.IdentityModel.dll.sources [deleted file]
mcs/class/System.Runtime.Serialization/aot_only_System.Runtime.Serialization.dll.sources [new file with mode: 0644]
mcs/class/System.Runtime.Serialization/mobile_static_System.Runtime.Serialization.dll.sources [deleted file]
mcs/class/System.Security/aot_only_System.Security.dll.sources [new file with mode: 0644]
mcs/class/System.Security/mobile_static_System.Security.dll.sources [deleted file]
mcs/class/System.ServiceModel.Web/Test/System.ServiceModel.Web/WebOperationContextTest.cs
mcs/class/System.ServiceModel.Web/aot_only_System.ServiceModel.Web.dll.sources [new file with mode: 0644]
mcs/class/System.ServiceModel.Web/mobile_static_System.ServiceModel.Web.dll.sources [deleted file]
mcs/class/System.ServiceModel/aot_only_System.ServiceModel.dll.sources [new file with mode: 0644]
mcs/class/System.ServiceModel/aot_only_System.ServiceModel_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/System.ServiceModel/aot_only_System.ServiceModel_test.dll.sources [new file with mode: 0644]
mcs/class/System.ServiceModel/mobile_static_System.ServiceModel.dll.sources [deleted file]
mcs/class/System.ServiceModel/mobile_static_System.ServiceModel_test.dll.exclude.sources [deleted file]
mcs/class/System.ServiceModel/mobile_static_System.ServiceModel_test.dll.sources [deleted file]
mcs/class/System.Web.Services/aot_only_System.Web.Services.dll.sources [new file with mode: 0644]
mcs/class/System.Web.Services/aot_only_System.Web.Services_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/System.Web.Services/aot_only_System.Web.Services_test.dll.sources [new file with mode: 0644]
mcs/class/System.Web.Services/mobile_static_System.Web.Services.dll.sources [deleted file]
mcs/class/System.Web.Services/mobile_static_System.Web.Services_test.dll.exclude.sources [deleted file]
mcs/class/System.Web.Services/mobile_static_System.Web.Services_test.dll.sources [deleted file]
mcs/class/System.XML/aot_only_System.Xml.dll.sources [new file with mode: 0644]
mcs/class/System.XML/mobile_static_System.Xml.dll.sources [deleted file]
mcs/class/System/Mono.Util/MonoPInvokeCallbackAttribute.cs [new file with mode: 0644]
mcs/class/System/MonoTouch/MonoPInvokeCallbackAttribute.cs [deleted file]
mcs/class/System/System.IO.Compression/DeflateStream.cs
mcs/class/System/System.Net.NetworkInformation/NetworkChange.cs
mcs/class/System/System.Net.Sockets/SafeSocketHandle.cs
mcs/class/System/Test/System.Diagnostics/FileVersionInfoTest.cs
mcs/class/System/aot_only_System.dll.sources [new file with mode: 0644]
mcs/class/System/aot_only_System_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/System/aot_only_System_test.dll.sources [new file with mode: 0644]
mcs/class/System/mobile_static_System.dll.sources [deleted file]
mcs/class/System/mobile_static_System_test.dll.exclude.sources [deleted file]
mcs/class/System/mobile_static_System_test.dll.sources [deleted file]
mcs/class/System/monodroid_System_test.dll.exclude.sources
mcs/class/System/monotouch_System.dll.sources
mcs/class/corlib/Makefile
mcs/class/corlib/System.Security.Cryptography/CryptoConfig.fullaot.cs
mcs/class/corlib/System/TimeZoneInfo.cs
mcs/class/corlib/System/__ComObject.cs
mcs/class/corlib/Test/System.Reflection/AssemblyAlgorithmIdAttributeTest.cs
mcs/class/corlib/Test/System.Reflection/AssemblyTest.cs
mcs/class/corlib/Test/System.Reflection/FieldInfoTest.cs
mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs
mcs/class/corlib/Test/System.Reflection/ModuleTest.cs
mcs/class/corlib/Test/System.Reflection/MonoGenericClassTest.cs
mcs/class/corlib/Test/System.Reflection/PropertyInfoTest.cs
mcs/class/corlib/Test/System.Reflection/TypeDelegatorTest.cs
mcs/class/corlib/Test/System.Reflection/VisibilityTest.cs
mcs/class/corlib/Test/System.Runtime.CompilerServices/AsyncTaskMethodBuilderTest.cs
mcs/class/corlib/Test/System.Runtime.InteropServices/GCHandleTest.cs
mcs/class/corlib/Test/System.Runtime.InteropServices/MarshalTest.cs
mcs/class/corlib/Test/System.Runtime.Serialization/SerializationTest.cs
mcs/class/corlib/Test/System.Security.Cryptography/AesCfbTest.cs
mcs/class/corlib/Test/System/ActivatorTest.cs
mcs/class/corlib/Test/System/AttributeTest.cs
mcs/class/corlib/Test/System/DelegateTest.cs
mcs/class/corlib/Test/System/TypeTest.cs
mcs/class/corlib/aot_only_corlib_test.dll.exclude.sources [new file with mode: 0644]
mcs/class/corlib/aot_only_corlib_test.dll.sources [new file with mode: 0644]
mcs/class/corlib/mobile_static_corlib_test.dll.exclude.sources [deleted file]
mcs/class/corlib/mobile_static_corlib_test.dll.sources [deleted file]
mono/mini/Makefile.am.in
mono/tests/Makefile.am
mono/tests/assemblyresolve/Makefile.am
mono/tests/test-runner.cs
runtime/Makefile.am
scripts/ci/run-jenkins.sh
scripts/ci/run-test-aot_only.sh [new file with mode: 0755]
scripts/ci/run-test-mobile_static.sh [deleted file]