forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move mobile AppBuilder & AOTCompiler projects into tools-local (dotne…
…t#36478) Moving the projects will make sure their artifacts are always available to the different CI legs.
- Loading branch information
Showing
34 changed files
with
97 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...ndroidAppBuilder/AndroidAppBuilder.csproj → ...ndroidAppBuilder/AndroidAppBuilder.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...ld/AppleAppBuilder/AppleAppBuilder.csproj → ...ks/AppleAppBuilder/AppleAppBuilder.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<Project Sdk="Microsoft.Build.Traversal"> | ||
<ItemGroup> | ||
<ProjectReference Include="$(MSBuildThisFileDirectory)**\*.csproj" Exclude="$(MSBuildProjectFullPath)" /> | ||
<ProjectReference Remove="$(MSBuildThisFileDirectory)mobile.tasks\AndroidAppBuilder\AndroidAppBuilder.csproj" | ||
Condition="'$(TargetOS)' != 'Android'" /> | ||
<ProjectReference Remove="$(MSBuildThisFileDirectory)mobile.tasks\AppleAppBuilder\AppleAppBuilder.csproj" | ||
Condition="'$(TargetOS)' != 'iOS' and '$(TargetOS)' != 'tvOS'" /> | ||
<ProjectReference Remove="$(MSBuildThisFileDirectory)mobile.tasks\AotCompilerTask\MonoAOTCompiler.csproj" | ||
Condition="'$(TargetsMobile)' != 'true'" /> | ||
</ItemGroup> | ||
|
||
<!-- | ||
Use synthetic inputs/outputs to avoid building it all the time. This should let devs build with | ||
MSBuild node reuse enabled (the Arcade default). If it were built every time, it would hit file | ||
locking issues vs. the persistent nodes that loaded the task DLL for the previous build. It | ||
isn't particularly accurate, but better than nothing. | ||
--> | ||
<Target Name="BuildAndRestoreIncrementally" | ||
DependsOnTargets="GetTasksSrc" | ||
Inputs="@(TasksSrc)" | ||
Outputs="$(TasksIntermediateFile)"> | ||
<ItemGroup> | ||
<TaskProject Include="$(MSBuildProjectFullPath)" /> | ||
</ItemGroup> | ||
|
||
<MSBuild Projects="@(TaskProject)" | ||
Properties="MSBuildRestoreSessionId=$([System.Guid]::NewGuid());Configuration=Debug;Platform=AnyCPU" | ||
Targets="Restore"/> | ||
|
||
<MSBuild Projects="@(TaskProject)" | ||
Properties="Configuration=Debug;Platform=AnyCPU" | ||
Targets="Build"/> | ||
|
||
<WriteLinesToFile File="$(TasksIntermediateFile)" | ||
Lines="$(TasksIntermediateFile)" | ||
Overwrite="true" /> | ||
</Target> | ||
|
||
<Target Name="GetTasksSrc"> | ||
<PropertyGroup> | ||
<TasksIntermediateFile>$([MSBuild]::NormalizePath('$(ArtifactsObjDir)', '$(MSBuildProjectName)', 'Debug', 'build-semaphore.txt'))</TasksIntermediateFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<TasksSrc Include="$(MSBuildThisFileDirectory)**\*.cs*;$(MSBuildThisFileDirectory)**\*.*proj" /> | ||
</ItemGroup> | ||
</Target> | ||
</Project> |