Skip to content

Commit 917f407

Browse files
authored
Force building of Mono manifest packages when building via source-build (#81790)
* We can't pass source-build properties externally, they need to come via locally defined properties. * Indicate that we can consume emsdk manifest via source-build.
1 parent 4da62e4 commit 917f407

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Directory.Build.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
For offline builds we still set OfficialBuildId but we need to build all the packages for a single
88
leg only, so we also take DotNetBuildFromSource into account. -->
99
<BuildingAnOfficialBuildLeg Condition="'$(BuildingAnOfficialBuildLeg)' == '' and '$(OfficialBuildId)' != '' and '$(DotNetBuildFromSource)' != 'true'">true</BuildingAnOfficialBuildLeg>
10+
<!-- When doing a source build, we want to build the various text-only manifests in
11+
all cases, rather than ordinarily where we build them during mobile or wasm
12+
build legs. This makes the manifests available on source-only builds. -->
13+
<ForceBuildMobileManifests Condition="'$(DotNetBuildFromSource)' == 'true'">true</ForceBuildMobileManifests>
1014
</PropertyGroup>
1115

1216
<PropertyGroup Label="CalculateTargetOS">

eng/Version.Details.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100-preview.2" Version="8.0.0-preview.2.23107.1">
8989
<Uri>https://github.com/dotnet/emsdk</Uri>
9090
<Sha>3ae16c4a4f58bdeb6621b9a9eec832fb3b56d470</Sha>
91+
<SourceBuild RepoName="emsdk" ManagedOnly="true" />
9192
</Dependency>
9293
</ProductDependencies>
9394
<ToolsetDependencies>

0 commit comments

Comments
 (0)