diff options
author | wtgodbe <wigodbe@microsoft.com> | 2016-06-29 11:14:53 -0700 |
---|---|---|
committer | wtgodbe <wigodbe@microsoft.com> | 2016-06-29 11:52:14 -0700 |
commit | fc8205c202b4309f4007bc53d0287095e7663f8f (patch) | |
tree | b4f1bd5ad19a495620e45e0da68d3fffeeb9eb4d /src/sign.builds | |
parent | 6c417022545b9f1e134100962909795a5958ca1f (diff) | |
download | coreclr-fc8205c202b4309f4007bc53d0287095e7663f8f.tar.gz coreclr-fc8205c202b4309f4007bc53d0287095e7663f8f.tar.bz2 coreclr-fc8205c202b4309f4007bc53d0287095e7663f8f.zip |
Only sign non-arm64 binaries
Diffstat (limited to 'src/sign.builds')
-rw-r--r-- | src/sign.builds | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/sign.builds b/src/sign.builds index 114880ae3b..2e94093433 100644 --- a/src/sign.builds +++ b/src/sign.builds @@ -15,6 +15,10 @@ <OutDir>$(BinDir)</OutDir> </PropertyGroup> + <PropertyGroup> + <SkipFileSigning Condition="'$(SkipFileSigning)' == ''" and "'$(BuildArch)' == 'arm64'">true</SkipFileSigning> + </PropertyGroup> + <UsingTask AssemblyFile="$(BuildToolsTaskDir)Microsoft.DotNet.Build.Tasks.dll" TaskName="ReadSigningRequired" /> <!-- apply the default signing certificates (defined in sign.targets) --> @@ -26,7 +30,7 @@ </ItemDefinitionGroup> <!-- gather the list of binaries to sign with the default certificates --> - <ItemGroup> + <ItemGroup Condition="'$(SkipFileSigning)' != 'true'"> <FilesToSign Include="$(BinDir)*.dll" Exclude="$(BinDir)*.ni.dll" /> <FilesToSign Include="$(BinDir)*.exe" /> </ItemGroup> @@ -35,14 +39,14 @@ for some reason the signing task incorrectly attemps to strong-name sign native images which causes the signing step to fail for obvious reasons. --> - <ItemGroup> + <ItemGroup Condition="'$(SkipFileSigning)' != 'true'"> <FilesToSign Include="$(BinDir)*.ni.dll"> <StrongName>None</StrongName> </FilesToSign> </ItemGroup> <!-- populates item group FilesToSign with the list of files to sign --> - <Target Name="GetFilesToSignItems" BeforeTargets="SignFiles"> + <Target Name="GetFilesToSignItems" BeforeTargets="SignFiles" Condition="'$(SkipFileSigning)' != 'true'"> <!-- read all of the marker files and populate the FilesToSign item group --> <ItemGroup> <SignMarkerFile Include="$(OutDir)**\*.requires_signing" /> @@ -53,7 +57,7 @@ </Target> <!-- now that signing is done clean up any marker files --> - <Target Name="CleanUpMarkerFiles" AfterTargets="SignFiles"> + <Target Name="CleanUpMarkerFiles" AfterTargets="SignFiles" Condition="'$(SkipFileSigning)' != 'true'"> <!-- now that the files have been signed delete the marker files --> <Delete Files="@(SignMarkerFile)" /> </Target> |