From: Mitchell Hwang Date: Fri, 8 May 2020 08:34:09 +0000 (-0400) Subject: Migrating libraries props into both iOS and Android test runner workflow (#35535) X-Git-Tag: submit/tizen/20210909.063632~8097 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da6a5f9f9747cdb39d82ea4586127cc5631fec67;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Migrating libraries props into both iOS and Android test runner workflow (#35535) This PR targets "Migrate existing props and targets into the libraries test build flow" in #35123. The changes are primarily simplifying hard-coded paths to the `lib-runtime-packs` `native` and `lib` sub-directories by extending runtime pack path properties. Co-authored-by: Mitchell Hwang --- diff --git a/eng/testing/tests.targets b/eng/testing/tests.targets index 86e035b0a4a..5b10d0f72f3 100644 --- a/eng/testing/tests.targets +++ b/eng/testing/tests.targets @@ -107,7 +107,6 @@ AssemblyFile="$(ArtifactsObjDir)mono\AndroidAppBuilder\$(HostArch)\$(Configuration)\AndroidAppBuilder.dll" /> - $(ArtifactsDir)bin\lib-runtime-packs\runtimes\android-$(TargetArchitecture) $(OutDir)\Bundle $(RepoRoot)\src\mono\msbuild\AndroidTestRunner\bin arm64-v8a @@ -122,17 +121,17 @@ - - + + - - + + - + @@ -151,7 +150,7 @@ @@ -169,7 +168,6 @@ AssemblyFile="$(ArtifactsObjDir)mono\AppleAppBuilder\$(HostArch)\$(Configuration)\AppleAppBuilder.dll" /> - $(ArtifactsDir)bin\lib-runtime-packs\runtimes\ios-$(TargetArchitecture) $(OutDir)\Bundle $(RepoRoot)\src\mono\msbuild\AppleTestRunner\bin @@ -180,14 +178,14 @@ - - + + - + - + @@ -199,15 +197,15 @@ diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 1de45d5dd85..f358b94b2a5 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -273,8 +273,9 @@ $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'testhost', '$(BuildSettings)')) $([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'lib-runtime-packs')) - $([MSBuild]::NormalizeDirectory('$(NETCoreAppRuntimePackPath)', 'runtimes', '$(PackageRID)', 'lib', '$(NETCoreAppFramework)')) - $([MSBuild]::NormalizeDirectory('$(NETCoreAppRuntimePackPath)', 'runtimes', '$(PackageRID)', 'native')) + $([MSBuild]::NormalizeDirectory('$(NETCoreAppRuntimePackPath)', 'runtimes', '$(PackageRID)')) + $([MSBuild]::NormalizeDirectory('$(NETCoreAppRuntimePackRIDPath)' 'lib', '$(NETCoreAppFramework)')) + $([MSBuild]::NormalizeDirectory('$(NETCoreAppRuntimePackRIDPath)', 'native')) runtimes/$(PackageRID) $(ArtifactsObjDir)version.txt diff --git a/src/mono/mono.proj b/src/mono/mono.proj index dce9417cfff..52f22a06b9b 100644 --- a/src/mono/mono.proj +++ b/src/mono/mono.proj @@ -926,7 +926,6 @@ -