Skip to content

Commit c097ec2

Browse files
committed
Cleanup.
1 parent 5893bd8 commit c097ec2

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

src/Xamarin.Android.Build.Tasks/Utilities/AssemblyCompression.cs

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ static CompressionResult Compress (AssemblyData data, string outputFilePath)
7575
// }
7676

7777
data.DestinationPath = outputFilePath;
78-
//Path.Combine (outputDirectory, $"{Path.GetFileName (data.SourcePath)}.lz4");
7978
data.SourceSize = checked((uint)fi.Length);
8079

8180
int bytesRead;

src/Xamarin.Android.Build.Tasks/Utilities/MonoAndroidHelper.cs

-17
Original file line numberDiff line numberDiff line change
@@ -830,22 +830,5 @@ public static AndroidRuntime ParseAndroidRuntime (string androidRuntime)
830830
// Default runtime is MonoVM
831831
return AndroidRuntime.MonoVM;
832832
}
833-
834-
/// <summary>
835-
/// Returns true if the input file is newer than the output file.
836-
/// </summary>
837-
public static bool IsFileOutOfDate (string input, string output)
838-
{
839-
if (!File.Exists (output))
840-
return true;
841-
842-
var inputInfo = new FileInfo (input);
843-
var outputInfo = new FileInfo (output);
844-
845-
if (inputInfo.LastWriteTimeUtc > outputInfo.LastWriteTimeUtc)
846-
return true;
847-
848-
return false;
849-
}
850833
}
851834
}

src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,7 @@ because xbuild doesn't support framework reference assemblies.
21052105
</Target>
21062106

21072107
<!--
2108-
LZ4 Compress all compressable assemblies. Note this is an incremental MSBuild target.
2108+
LZ4 compress all compressable assemblies. Note this is an incremental MSBuild target.
21092109
@(AssembliesToCmpress) will only contain assemblies that have changed since the last build.
21102110
-->
21112111
<Target Name="_CompressAssemblies"

0 commit comments

Comments
 (0)