-
Notifications
You must be signed in to change notification settings - Fork 556
[workload] Add Microsoft.Android.Runtimes framework #10038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
8caf02e
[workload] Add Microsoft.Android.Runtimes framework
pjcollins 31b337e
Undo JI bump
pjcollins 0f2bfe6
Do not create separate NativeAOT runtime packs
pjcollins 5df9ed9
Clean up
pjcollins bb17768
Merge remote-tracking branch 'origin/main' into dev/pjc/noabifx
pjcollins 0894e84
Merge remote-tracking branch 'origin/main' into dev/pjc/noabifx
pjcollins e603ba2
Conditionally strip Microsoft.Android.Runtime.NativeAOT from @(Resolv…
pjcollins 542ec06
Update ProcessRuntimePackLibraryDirectories in Aot targets
pjcollins 893f09d
Merge remote-tracking branch 'origin/main' into dev/pjc/noabifx
pjcollins d3483bc
Restore per-arch NativeAOT runtime packs
pjcollins 825bb1e
Install CoreCLR and NativeAOT packs by default
pjcollins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
64 changes: 64 additions & 0 deletions
64
build-tools/create-packs/Microsoft.Android.Runtime.Managed.proj
This file contains hidden or 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,64 @@ | ||
<!-- | ||
*********************************************************************************************** | ||
Microsoft.Android.Runtime.Managed.proj | ||
|
||
This project file is used to create Microsoft.Android.Runtime.[API].android NuGets, which are | ||
runtime packs that contain RID agnostic assets required for a self-contained publish of | ||
projects that use the Microsoft.Android framework in .NET 6+. | ||
*********************************************************************************************** | ||
--> | ||
<Project Sdk="Microsoft.Build.NoTargets"> | ||
|
||
<Sdk Name="Microsoft.DotNet.SharedFramework.Sdk" Version="$(MicrosoftDotNetBuildTasksFeedPackageVersion)" /> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<AndroidRID>android</AndroidRID> | ||
<RuntimeIdentifier>$(AndroidRID)</RuntimeIdentifier> | ||
<PackageId>Microsoft.Android.Runtime.$(AndroidApiLevel).$(AndroidRID)</PackageId> | ||
<OverridePackageId>$(PackageId)</OverridePackageId> | ||
<PlatformPackageType>RuntimePack</PlatformPackageType> | ||
<Description>Microsoft.Android managed runtime components for API $(AndroidApiLevel). Please do not reference directly.</Description> | ||
<_AndroidRuntimePackAssemblyPath>runtimes/$(AndroidRID)/lib/$(DotNetTargetFramework)</_AndroidRuntimePackAssemblyPath> | ||
<_AndroidRuntimePackNativePath>runtimes/$(AndroidRID)/native</_AndroidRuntimePackNativePath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<BeforePack> | ||
_GetDefaultPackageVersion; | ||
$(BeforePack); | ||
</BeforePack> | ||
</PropertyGroup> | ||
|
||
<!-- Reset the TargetFramework after ProcessFrameworkReferences runs to avoid issues resolving non-existant linux-bionic runtime packs --> | ||
<Target Name="_RemoveLinuxFrameworkReferences" | ||
AfterTargets="ProcessFrameworkReferences"> | ||
<PropertyGroup> | ||
<TargetFramework>$(DotNetTargetFramework)</TargetFramework> | ||
</PropertyGroup> | ||
</Target> | ||
|
||
<Target Name="_GetRuntimePackItems" | ||
DependsOnTargets="_GetLicense;_GetDefaultPackageVersion" | ||
BeforeTargets="GetFilesToPackage" > | ||
<ItemGroup> | ||
<_AndroidRuntimePackAssemblies Include="$(_MonoAndroidNETDefaultOutDir)Java.Interop.dll" /> | ||
<_AndroidRuntimePackAssemblies Include="$(_MonoAndroidNETDefaultOutDir)Mono.Android.dll" /> | ||
<_AndroidRuntimePackAssemblies Include="$(_MonoAndroidNETDefaultOutDir)Mono.Android.Runtime.dll" /> | ||
<!-- Always include stable versions of the following assemblies --> | ||
<_AndroidRuntimePackAssemblies Include="$(_MonoAndroidNETOutputRoot)$(AndroidLatestStableApiLevel)\Mono.Android.Export.dll" /> | ||
<_AndroidRuntimePackAssemblies Include="$(_MonoAndroidNETOutputRoot)$(AndroidLatestStableApiLevel)\Microsoft.Android.Runtime.NativeAOT.dll" /> | ||
<_AndroidRuntimePackAssemblies | ||
Include="$(_MonoAndroidNETOutputRoot)$(AndroidLatestStableApiLevel)\System.IO.Hashing.dll" | ||
NoSymbols="true" | ||
/> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<FrameworkListFileClass Include="@(_AndroidRuntimePackAssemblies->'%(Filename)%(Extension)')" Profile="Android" /> | ||
<FilesToPackage Include="@(_AndroidRuntimePackAssemblies)" /> | ||
<FilesToPackage Include="@(_AndroidRuntimePackAssemblies->'%(RelativeDir)%(Filename).pdb')" IsSymbolFile="true" Condition=" '%(_AndroidRuntimePackAssemblies.NoSymbols)' != 'true' " /> | ||
</ItemGroup> | ||
</Target> | ||
|
||
</Project> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.