Skip to content

Commit

Permalink
Build target fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jp2masa committed Dec 5, 2018
1 parent 990a375 commit 482ef83
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Tests/Kernels/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
</PropertyGroup>

<Target Name="WriteReferenceAssembliesToFile"
DependsOnTargets="ResolveReferences;_ComputeNetPublishAssets"
DependsOnTargets="ResolveReferences;ComputeFilesToPublish"
Inputs="$(TargetPath)"
Outputs="$(_ReferencesFile)">

<ItemGroup>
<_Il2cpuAssemblies Include="@(ResolvedAssembliesToPublish)"
Condition="'%(ResolvedAssembliesToPublish.AssetType)' != 'native'
AND '%(ResolvedAssembliesToPublish.Extension)' == '.dll'" />
<_Il2cpuAssemblies Include="@(ResolvedFileToPublish)"
Condition="'%(ResolvedFileToPublish.AssetType)' != 'native'
AND '%(ResolvedFileToPublish.Extension)' == '.dll'" />
</ItemGroup>

<WriteLinesToFile File="$(_ReferencesFile)" Lines="@(_Il2cpuAssemblies)" Overwrite="True" />
Expand Down
8 changes: 4 additions & 4 deletions source/Cosmos.Build.Tasks/build/Cosmos.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@
<Target Name="IL2CPU"
Inputs="$(TargetPath);@(PlugsReference)"
Outputs="$(Il2cpuOutput)"
DependsOnTargets="ResolveReferences;_ComputeNetPublishAssets">
DependsOnTargets="ResolveReferences;ComputeFilesToPublish">

<ItemGroup>
<_Il2cpuAssemblies Include="@(ResolvedAssembliesToPublish)"
Condition="'%(ResolvedAssembliesToPublish.AssetType)' != 'native'
AND '%(ResolvedAssembliesToPublish.Extension)' == '.dll'" />
<_Il2cpuAssemblies Include="@(ResolvedFileToPublish->'%(FullPath)')"
Condition="'%(ResolvedFileToPublish.AssetType)' != 'native'
AND '%(ResolvedFileToPublish.Extension)' == '.dll'" />
</ItemGroup>

<IL2CPU KernelPkg="$(KernelPkg)"
Expand Down

0 comments on commit 482ef83

Please sign in to comment.