summaryrefslogtreecommitdiff
path: root/build.proj
diff options
context:
space:
mode:
authorJuan Hoyos <juan.hoyos@microsoft.com>2019-02-28 18:55:34 -0800
committerGitHub <noreply@github.com>2019-02-28 18:55:34 -0800
commitc659d285baed0b083fd0c25658a1a8e24a550425 (patch)
tree68d861417bbbca96d7a867de772c67a8640c7c59 /build.proj
parent557eac638356ff47af7b92c9f349931eed5e0891 (diff)
downloadcoreclr-c659d285baed0b083fd0c25658a1a8e24a550425.tar.gz
coreclr-c659d285baed0b083fd0c25658a1a8e24a550425.tar.bz2
coreclr-c659d285baed0b083fd0c25658a1a8e24a550425.zip
Consume optimization packages using new dependency flow system (#22915)
* Consume optimization packages using new dependency flow system.
Diffstat (limited to 'build.proj')
-rw-r--r--build.proj16
1 files changed, 5 insertions, 11 deletions
diff --git a/build.proj b/build.proj
index 3af8010944..429b1520fe 100644
--- a/build.proj
+++ b/build.proj
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="12.0" DefaultTargets="Build"
+ xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="dir.props" />
<ItemGroup>
@@ -32,21 +33,14 @@
target, which runs automatically before "Sync". Since no "Sync" target actually exists, go ahead and define one now so that
the tools are fetched before "Build".
-->
- <Target Name="Sync" BeforeTargets="Build"
- DependsOnTargets="RestoreOptData;RestoreNETCorePlatforms" />
+ <Target Name="Sync" BeforeTargets="Build" DependsOnTargets="RestoreOptData;RestoreNETCorePlatforms" />
<Target Name="RestoreOptData" Condition="'$(RestoreDuringBuild)'=='true' and '$(BuildType)'=='Release'">
- <PropertyGroup>
- <_OptimizationDataFeed Condition="'$(DotNetBuildOffline)' != 'true'">--source https://dotnet.myget.org/F/dotnet-core-optimization-data/api/v3/index.json</_OptimizationDataFeed>
- </PropertyGroup>
-
- <Exec Command="$(DotnetRestoreCommand) $(_OptimizationDataFeed) $(SourceDir).nuget/optdata/optdata.csproj"
- StandardOutputImportance="Low" />
+ <Exec Command="$(DotnetRestoreCommand) $(SourceDir).nuget/optdata/optdata.csproj" StandardOutputImportance="Low" />
</Target>
<Target Name="RestoreNETCorePlatforms" Condition="'$(RestoreDuringBuild)'=='true'">
- <Exec Command="$(DotnetRestoreCommand) $(SourceDir).nuget/init/init.csproj"
- StandardOutputImportance="Low" />
+ <Exec Command="$(DotnetRestoreCommand) $(SourceDir).nuget/init/init.csproj" StandardOutputImportance="Low" />
</Target>
<Target Name="CleanAllProjects">