Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions eng/liveBuilds.targets
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,19 @@
"
IsNative="true" />

<!-- Headers included by the CoreCLR native relink generated sources (see BrowserWasmApp.CoreCLR.targets).
The browserhost CMakeLists installs them into the host sharedFramework; mirrors the Mono include\wasm handling. -->
<LibrariesRuntimeFiles Condition="'$(TargetOS)' == 'browser' and '$(RuntimeFlavor)' == 'CoreCLR' and '$(IsTestsCommonProject)' != 'true'"
Include="$(HostSharedFrameworkDir)include\callhelpers.hpp"
NativeSubDirectory="include"
IsNative="true" />
<LibrariesRuntimeFiles Condition="'$(TargetOS)' == 'browser' and '$(RuntimeFlavor)' == 'CoreCLR' and '$(IsTestsCommonProject)' != 'true'"
Include="
$(HostSharedFrameworkDir)include\minipal\entrypoints.h;
$(HostSharedFrameworkDir)include\minipal\utils.h;"
NativeSubDirectory="include\minipal"
IsNative="true" />

<LibrariesRuntimeFiles Condition="'$(TargetOS)' == 'browser' and '$(RuntimeFlavor)' == 'Mono'"
Include="
$(LibrariesNativeArtifactsPath)dotnet.d.ts;
Expand Down
10 changes: 10 additions & 0 deletions src/native/corehost/corehost.proj
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,16 @@
<Copy SourceFiles="@(_MicrosoftNetCoreAppRuntimePackNativeDirFiles)"
DestinationFolder="$(MicrosoftNetCoreAppRuntimePackNativeDir)"
SkipUnchangedFiles="true" />

<!-- Headers included by the CoreCLR native relink generated sources (see BrowserWasmApp.CoreCLR.targets),
installed into the host sharedFramework by the browserhost CMakeLists. Kept in sync with the
runtime-pack harvest in eng/liveBuilds.targets. -->
<Copy SourceFiles="$(HostSharedFrameworkDir)include\callhelpers.hpp"
DestinationFolder="$(MicrosoftNetCoreAppRuntimePackNativeDir)include"
SkipUnchangedFiles="true" />
<Copy SourceFiles="$(HostSharedFrameworkDir)include\minipal\entrypoints.h;$(HostSharedFrameworkDir)include\minipal\utils.h"
DestinationFolder="$(MicrosoftNetCoreAppRuntimePackNativeDir)include\minipal"
SkipUnchangedFiles="true" />
</Target>

<!-- WASI CoreCLR: stage libWasiHost.a into the runtime pack native dir for the per-app relink,
Expand Down
Loading