-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Beginnings of native Android build #110471
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
Changes from 53 commits
90c22cb
6f1b917
c25fbd9
bfcbb3e
97f2555
3d9da10
9e173df
bb9f323
b0f3d55
f9eb950
a69fcfd
54fbb50
061badd
343547d
d9d653a
be4941b
db133cb
6473af2
4d9f500
d5e0292
54d5725
7d78dec
7026cc8
9823a55
7797943
2e4c737
2516884
074a955
240ad01
34cdc56
c171ce3
a515ed8
3831805
9779aeb
f9e8184
e709bdf
eb56c75
5b58f87
aba5cbb
78ca848
d3e8eb2
579610c
7e40691
460a2d6
2d322d2
880ab09
a5d1115
5a94dea
41ce72b
fbf9fdd
05273c5
de2e7cb
1477651
cc97c13
bb00de1
9bd94e0
b806157
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,10 @@ | |
| <PropertyGroup> | ||
| <!-- Determine if the CoreCLR runtime can build/run for the specified target. --> | ||
| <_CoreCLRSupportedOS Condition="'$(TargetsMobile)' != 'true' and '$(TargetsLinuxBionic)' != 'true'">true</_CoreCLRSupportedOS> | ||
|
|
||
| <!-- Android 32-bit builds blocked by https://github.com/dotnet/runtime/issues/111665 --> | ||
| <_CoreCLRSupportedOS Condition="'$(TargetsAndroid)' == 'true' and '$(TargetArchitecture)' != 'arm' and '$(TargetArchitecture)' != 'x86'">true</_CoreCLRSupportedOS> | ||
|
|
||
| <_CoreCLRSupportedArch Condition="'$(TargetArchitecture)' != 'armv6' and '$(TargetArchitecture)' != 'ppc64le' and '$(TargetArchitecture)' != 's390x'">true</_CoreCLRSupportedArch> | ||
| <CoreCLRSupported Condition="'$(_CoreCLRSupportedOS)' == 'true' and '$(_CoreCLRSupportedArch)' == 'true'">true</CoreCLRSupported> | ||
|
|
||
|
|
@@ -56,6 +60,7 @@ | |
| <PropertyGroup> | ||
| <DefaultSubsets>clr+mono+libs+tools+host+packs</DefaultSubsets> | ||
| <DefaultSubsets Condition="'$(TargetsMobile)' == 'true'">mono+libs+packs</DefaultSubsets> | ||
| <DefaultSubsets Condition="'$(TargetsAndroid)' == 'true' and '$(CoreCLRSupported)' == 'true'">clr.runtime+clr.alljits+clr.corelib+clr.nativecorelib+clr.tools+clr.packages+mono+libs+host+packs</DefaultSubsets> | ||
| <DefaultSubsets Condition="'$(TargetsAppleMobile)' == 'true'">clr.nativeaotruntime+clr.nativeaotlibs+mono+libs+packs</DefaultSubsets> | ||
| <DefaultSubsets Condition="'$(TargetsLinuxBionic)' == 'true' and '$(MonoSupported)' == 'true'">clr.nativeaotruntime+clr.nativeaotlibs+mono+libs+host+packs</DefaultSubsets> | ||
| <DefaultSubsets Condition="'$(TargetsLinuxBionic)' == 'true' and '$(MonoSupported)' != 'true'">clr.nativeaotruntime+clr.nativeaotlibs+libs+packs</DefaultSubsets> | ||
|
|
@@ -80,14 +85,20 @@ | |
| <_subset Condition="'$(Subset)' != ''">+$(Subset.ToLowerInvariant())+</_subset> | ||
| <_subset Condition="'$(Subset)' == ''">+$(DefaultSubsets)+</_subset> | ||
| </PropertyGroup> | ||
|
|
||
|
|
||
| <PropertyGroup Condition="'$(RuntimeFlavor)' == ''"> | ||
| <RuntimeFlavor Condition="'$(TargetsMobile)' == 'true' and !$(_subset.Contains('+clr.nativeaotlibs+'))">Mono</RuntimeFlavor> | ||
| <RuntimeFlavor Condition="('$(TargetsMobile)' == 'true' or '$(TargetsLinuxBionic)' == 'true') and $(_subset.Contains('+clr.nativeaotlibs+'))">CoreCLR</RuntimeFlavor> | ||
| <RuntimeFlavor Condition="'$(TargetsAndroid)' == 'true' and $(_subset.Contains('+clr.'))">CoreCLR</RuntimeFlavor> | ||
| <RuntimeFlavor Condition="'$(RuntimeFlavor)' == '' and ($(_subset.Contains('+mono+')) or $(_subset.Contains('+mono.runtime+'))) and (!$(_subset.Contains('+clr+')) and !$(_subset.Contains('+clr.runtime+')) and !$(_subset.Contains('+clr.corelib+')))">Mono</RuntimeFlavor> | ||
| <RuntimeFlavor Condition="'$(RuntimeFlavor)' == ''">$(PrimaryRuntimeFlavor)</RuntimeFlavor> | ||
| </PropertyGroup> | ||
|
|
||
| <PropertyGroup> | ||
| <CrossBuild Condition="'$(CrossBuild)' == '' and '$(TargetsAndroid)' == 'true'">true</CrossBuild> | ||
| </PropertyGroup> | ||
|
||
|
|
||
| <PropertyGroup> | ||
| <DefaultCoreClrSubsets>clr.native+linuxdac+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools+host.native</DefaultCoreClrSubsets> | ||
| <DefaultCoreClrSubsets Condition="'$(PackageRID)' == 'linux-armel'">clr.native+linuxdac+clr.corelib+clr.tools+clr.nativecorelib+clr.packages+clr.nativeaotlibs+clr.crossarchtools</DefaultCoreClrSubsets> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.