-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Xamarim.Android.Build.Tasks] Add support for new InstantRun
This commit does a couple of things. 1) It reworks the monodroid-glue to copy any .so file it finds in the .__override__ directory over to the local app directory. This should allow us to fast deploy native libraries. Which means we no longer need to re-build the apk if a native library changes. 2) Replaces the StubApplication with a new MultiDexLoader ContentProvider. This provider is reposible for doing all the things the previous StubApplication used to do. But because it is not derived from an Application it means we can now support custom Application types for our debug builds.
- Loading branch information
1 parent
95ca102
commit 395d5ee
Showing
43 changed files
with
1,824 additions
and
71 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> | ||
<HasSharedItems>true</HasSharedItems> | ||
<SharedGUID>{0AB4956E-6FB9-4DA0-9D49-AB65A3FF403A}</SharedGUID> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Configuration"> | ||
<Import_RootNamespace>Mono.Android-Test.Shared</Import_RootNamespace> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Resources\Resource.designer.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Properties\AssemblyInfo.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.App\ApplicationTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.Content\IntentTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.Runtime\CharSequenceTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.Runtime\JavaCollectionTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.Runtime\JnienvArrayMarshaling.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.Runtime\XmlReaderPullParserTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.Runtime\XmlReaderResourceParserTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.Widget\AdapterTests.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Java.Interop\JavaConvertTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Java.Lang\ObjectArrayMarshaling.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Java.Lang\ObjectTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Java.Interop\JnienvTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System\AppDomainTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System\AssemblyInformationalVersionAttributeTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System\ExceptionTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System\TimeZoneTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System.IO\DriveInfoTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System.IO.Compression\GZipStreamTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System.Net\ProxyTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System.Net\SslTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System.Net\NetworkInterfaces.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\System.Threading\InterlockedTest.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Java.Interop\JavaObjectExtensionsTests.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Xamarin.Android.Net\AndroidClientHandlerTests.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Xamarin.Android.Net\HttpClientIntegrationTests.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Xamarin.Android.RuntimeTests\MainActivity.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Xamarin.Android.RuntimeTests\MyIntent.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Xamarin.Android.RuntimeTests\NonJavaObject.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Xamarin.Android.RuntimeTests\TestInstrumentation.cs" /> | ||
<Compile Include="$(MSBuildThisFileDirectory)\Android.OS\BundleTest.cs" /> | ||
</ItemGroup> | ||
</Project> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<ProjectGuid>{0AB4956E-6FB9-4DA0-9D49-AB65A3FF403A}</ProjectGuid> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" /> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" /> | ||
<Import Project="Mono.Android-Test.Shared.projitems" Label="Shared" /> | ||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" /> | ||
</Project> |
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
Oops, something went wrong.