Fix Sync targets to not actually cause a build to occur as well
authorWes Haggard <Wes.Haggard@microsoft.com>
Tue, 17 Jul 2018 23:29:32 +0000 (16:29 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Tue, 17 Jul 2018 23:45:49 +0000 (16:45 -0700)
commitd696fc2beacb63760dc05e58a659046f52afb287
treebccc0a6fad5b6a7579f64e2269bfdb4b12358741
parentfabf92a85ee7c2b7b1d3eeaa941f0b82ad1694ca
Fix Sync targets to not actually cause a build to occur as well

The TraversalBuildDependsOn gets other things added to it like
BuildAllProjects which we don't want for the Sync target so
factoring out the common pre-steps and sharing just those
with sync and build.

Commit migrated from https://github.com/dotnet/corefx/commit/8a007546ca2b73faadf6d717d45e3d10d5a35336
src/libraries/build.proj