File tree 11 files changed +22
-20
lines changed
11 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 52
52
</PropertyGroup >
53
53
54
54
<PropertyGroup >
55
- <TargetsMobile Condition =" '$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'Android' or '$(TargetOS)' == 'tvOS'" >true</TargetsMobile >
55
+ <TargetsMobile Condition =" '$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'Android' or '$(TargetOS)' == 'tvOS' or '$(TargetOS)' == 'Browser' " >true</TargetsMobile >
56
56
</PropertyGroup >
57
57
58
58
<!-- Feature switches -->
Original file line number Diff line number Diff line change 38
38
39
39
<PropertyGroup >
40
40
<DefaultSubsets >clr+mono+libs+installer</DefaultSubsets >
41
- <DefaultSubsets Condition =" '$(TargetsMobile)' == 'true' or '$(TargetOS)' == 'Browser' " >mono+libs+installer</DefaultSubsets >
41
+ <DefaultSubsets Condition =" '$(TargetsMobile)' == 'true'" >mono+libs+installer</DefaultSubsets >
42
42
</PropertyGroup >
43
43
44
44
<!-- Init _subset here in to allow RuntimeFlavor to be set as early as possible -->
48
48
</PropertyGroup >
49
49
50
50
<PropertyGroup >
51
- <RuntimeFlavor Condition =" '$(TargetsMobile)' == 'true' or '$(TargetOS)' == 'Browser' " >Mono</RuntimeFlavor >
51
+ <RuntimeFlavor Condition =" '$(TargetsMobile)' == 'true'" >Mono</RuntimeFlavor >
52
52
<RuntimeFlavor Condition =" '$(RuntimeFlavor)' == '' and ($(_subset.Contains('+mono+')) or $(_subset.Contains('+mono.runtime+'))) and (!$(_subset.Contains('+clr+')) and !$(_subset.Contains('+clr.runtime+')))" >Mono</RuntimeFlavor >
53
53
<RuntimeFlavor Condition =" '$(RuntimeFlavor)' == ''" >CoreCLR</RuntimeFlavor >
54
54
</PropertyGroup >
Original file line number Diff line number Diff line change 9
9
IBCMerge optimizations on Mac for now to unblock the offical build.
10
10
See issue https://github.com/dotnet/runtime/issues/33303
11
11
-->
12
- <IsEligibleForNgenOptimization Condition =" '$(TargetOS)' == 'OSX' or '$(TargetsMobile)' == 'true' or '$(TargetOS)' == 'Browser' " >false</IsEligibleForNgenOptimization >
12
+ <IsEligibleForNgenOptimization Condition =" '$(TargetOS)' == 'OSX' or '$(TargetsMobile)' == 'true'" >false</IsEligibleForNgenOptimization >
13
13
</PropertyGroup >
14
14
15
15
<Target Name =" SetApplyNgenOptimization"
Original file line number Diff line number Diff line change 133
133
<IsNative >true</IsNative >
134
134
</RuntimeFiles >
135
135
136
- <MonoCrossFiles Condition =" '$(TargetsMobile)' == 'true' or '$(TargetOS)' == 'Browser' "
136
+ <MonoCrossFiles Condition =" '$(TargetsMobile)' == 'true'"
137
137
Include =" $(MonoArtifactsPath)\cross\*.*" />
138
- <MonoIncludeFiles Condition =" '$(TargetsMobile)' == 'true' or '$(TargetOS)' == 'Browser' "
138
+ <MonoIncludeFiles Condition =" '$(TargetsMobile)' == 'true'"
139
139
Include =" $(MonoArtifactsPath)\include\**\*.*" />
140
140
<WasmDistFiles Condition =" '$(TargetOS)' == 'Browser'"
141
141
Include =" $(MonoArtifactsPath)\wasm\runtimes\**\*.*" />
Original file line number Diff line number Diff line change 217
217
<PropertyGroup >
218
218
<TargetsBrowser >true</TargetsBrowser >
219
219
<TargetsUnix >true</TargetsUnix >
220
+ <TargetsMobile >true</TargetsMobile >
220
221
</PropertyGroup >
221
222
</When >
222
223
<When Condition =" $(OutputRid.StartsWith('debian'))" >
362
363
<CrossGenSymbolExtension >.map</CrossGenSymbolExtension >
363
364
<CrossGenSymbolExtension Condition =" '$(TargetOS)' == 'Windows_NT'" >.ni.pdb</CrossGenSymbolExtension >
364
365
<!-- OSX doesn't have crossgen symbols, yet -->
365
- <CrossGenSymbolExtension Condition =" '$(TargetOS)' == 'OSX' or '$(TargetsMobile)' == 'true' or '$(TargetsBrowser)' == 'true' " ></CrossGenSymbolExtension >
366
+ <CrossGenSymbolExtension Condition =" '$(TargetOS)' == 'OSX' or '$(TargetsMobile)' == 'true'" ></CrossGenSymbolExtension >
366
367
</PropertyGroup >
367
368
368
369
</Project >
Original file line number Diff line number Diff line change 26
26
</PropertyGroup >
27
27
</Target >
28
28
29
- <PropertyGroup Condition =" '$(RuntimeFlavor)' == 'Mono' and '$(TargetsMobile)' != 'true' and '$(TargetsBrowser)' != 'true' " >
29
+ <PropertyGroup Condition =" '$(RuntimeFlavor)' == 'Mono' and '$(TargetsMobile)' != 'true'" >
30
30
<RuntimeSpecificFrameworkSuffix >.Mono</RuntimeSpecificFrameworkSuffix >
31
31
</PropertyGroup >
32
32
Original file line number Diff line number Diff line change 71
71
Include =" @(MonoCrossFiles)" >
72
72
<TargetPath >runtimes/$(PackageRID)/native/cross</TargetPath >
73
73
</RuntimeFiles >
74
- <RuntimeFiles Condition =" '$(TargetsMobile)' == 'true' or '$(TargetsBrowser)' == 'true' "
74
+ <RuntimeFiles Condition =" '$(TargetsMobile)' == 'true'"
75
75
Include =" @(MonoIncludeFiles)" >
76
76
<TargetPath >runtimes/$(PackageRID)/native/include/%(RecursiveDir)</TargetPath >
77
77
</RuntimeFiles >
Original file line number Diff line number Diff line change 41
41
<TargetArchitecture Condition =" '$(TargetArchitecture)' == '' and '$(TargetsMobile)' == 'true'" >x64</TargetArchitecture >
42
42
<TargetArchitecture Condition =" '$(TargetArchitecture)' == ''" >x64</TargetArchitecture >
43
43
44
- <!-- RuntimeOS is calculated based on the build system OS, however if building for WebAssembly /iOS/Android we need to let
45
- the build system to use webassembly /ios/android as the RuntimeOS for produced package RIDs. -->
46
- <RuntimeOS Condition =" '$(TargetOS)' == 'Browser' or '$( TargetsMobile)' == 'true'" >$(TargetOS.ToLowerInvariant())</RuntimeOS >
44
+ <!-- RuntimeOS is calculated based on the build system OS, however if building for Browser /iOS/Android we need to let
45
+ the build system to use browser /ios/android as the RuntimeOS for produced package RIDs. -->
46
+ <RuntimeOS Condition =" '$(TargetsMobile)' == 'true'" >$(TargetOS.ToLowerInvariant())</RuntimeOS >
47
47
48
48
<!-- Initialize BuildSettings from the individual properties if it wasn't already explicitly set -->
49
49
<Configuration Condition =" '$(Configuration)'==''" >Debug</Configuration >
Original file line number Diff line number Diff line change 72
72
TargetRuntimeIdentifier =" $(PackageRID)" />
73
73
</Target >
74
74
75
- <!-- Wasm runtimes depend on the mono runtime and libs to be built, so they can only be built here -->
76
- <Target Name =" BuildWasmPackageDependency"
77
- Condition =" '$(TargetOS)' == 'Browser'"
78
- AfterTargets =" RestoreTestHost" >
79
- <MSBuild Projects =" $(MonoProjectRoot)\wasm\wasm.proj"
80
- Properties =" Configuration=$(Configuration);TargetOS=$(TargetOS);TargetArchitecture=$(TargetArchitecture)" />
81
- </Target >
82
-
83
75
<UsingTask TaskName =" CreateFrameworkListFile" AssemblyFile =" $(DotNetBuildTasksSharedFrameworkTaskFile)" />
84
76
<Target Name =" GenerateFrameworkListFile"
85
77
Condition =" '$(BinPlaceTestRuntimePack)' == 'true'"
Original file line number Diff line number Diff line change 46
46
Properties =" $(TraversalGlobalProperties)" />
47
47
</Target >
48
48
49
+ <!-- Wasm runtimes depend on the mono runtime and libs to be built, so they can only be built here -->
50
+ <Target Name =" BuildWasmPackageDependency"
51
+ Condition =" '$(TargetOS)' == 'Browser'"
52
+ AfterTargets =" Build" >
53
+ <MSBuild Projects =" $(MonoProjectRoot)\wasm\wasm.proj"
54
+ Properties =" Configuration=$(Configuration);TargetOS=$(TargetOS);TargetArchitecture=$(TargetArchitecture)" />
55
+ </Target >
56
+
49
57
</Project >
Original file line number Diff line number Diff line change
1
+ /emsdk_env.sh
You can’t perform that action at this time.
0 commit comments